sriharshaarangi / BatteryChargeLimit

GNU General Public License v3.0
379 stars 103 forks source link

Charge Limiter stopped working #172

Closed PJK2011 closed 1 year ago

PJK2011 commented 4 years ago

I installed the app a couple of days ago on Pixel XL with AOSP 10. It worked the first day, but hasn't worked since. I've tried clearing cache, reinstalling, keeping the app on the foreground, but nothing works. The persistent notification says it's controlling the charge and system notifies the app got root permissions, but the charge keeps going up beyond 80%.

I took a look and verified that the control file is still in the same location as previous Android versions:

/sys/class/power_supply/battery/charger_control

That got me to thinking, though, that in Android 10, the system partition is read only. That could explain why the app is not working, but it doesn't explain why the app worked the first day I installed it.

logs-2019-09-27-22-10-55.zip