Hi,
This is related to a previous thread where internal memory gets full, which was solved temporarily.
https://forum.xda-developers.com/moto-g4-plus/help/rr5-8-4-athene-internal-memory-filled-t3678840
I am using
[ROM][OFFICIAL] Resurrection Remix v5.8.5 [7.1.2_r29][XT16xx][athene] + Magisk + ElementalX on Moto G4 Plus with 128 GB SD card as adopted storage.
The internal memory was getting full within a week, and with the help of suggestions received, I located that /data/power_supply_logger had .csv log files which were 20GB+ in size. So I deleted them and solved the problem at the time.
Then it repeated in a week I had the same issue. the log files grow about 2 MB every minute. I removed write permissions to the folder and deleted the file.
I noticed that since I removed the permissions to write, the battery life really got longer and the phone also charges much quickly now. Some users pointed out that battery was charging slowly in RR - I faced that problem too and it looks like has gone away. I would like to make it a bit cleaner - a process making an attempt to write every minute and failing is got a good work around.
Using AppsSD I found that /system/bin/batt_health running as mot_pwric user is attempting to write every minute and now that the permission is removed the attempt is failing.
Is there a way I can disable this process - it is not listed in Apps or System apps.
Or if anyone knows how to disable logging by batt_health, that would be better.
Thanks
Sreekumar
This is related to a previous thread where internal memory gets full, which was solved temporarily.
https://forum.xda-developers.com/moto-g4-plus/help/rr5-8-4-athene-internal-memory-filled-t3678840
I am using
[ROM][OFFICIAL] Resurrection Remix v5.8.5 [7.1.2_r29][XT16xx][athene] + Magisk + ElementalX on Moto G4 Plus with 128 GB SD card as adopted storage.
The internal memory was getting full within a week, and with the help of suggestions received, I located that /data/power_supply_logger had .csv log files which were 20GB+ in size. So I deleted them and solved the problem at the time.
Then it repeated in a week I had the same issue. the log files grow about 2 MB every minute. I removed write permissions to the folder and deleted the file.
I noticed that since I removed the permissions to write, the battery life really got longer and the phone also charges much quickly now. Some users pointed out that battery was charging slowly in RR - I faced that problem too and it looks like has gone away. I would like to make it a bit cleaner - a process making an attempt to write every minute and failing is got a good work around.
Using AppsSD I found that /system/bin/batt_health running as mot_pwric user is attempting to write every minute and now that the permission is removed the attempt is failing.
Is there a way I can disable this process - it is not listed in Apps or System apps.
Or if anyone knows how to disable logging by batt_health, that would be better.
Thanks
Sreekumar