sriharshaarangi / BatteryChargeLimit

GNU General Public License v3.0
382 stars 104 forks source link

Control File for Lenovo is reversed by the OS #59

Closed assafco closed 7 years ago

assafco commented 7 years ago

The control file for this tablet is /sys/class/power_supply/battery/present I use this command to overwrite it: su -c echo 0 >> /sys/class/power_supply/battery/present After changing this value to 0 the OS reverse it automatically back to 1. I tried also to edit the file with some text editor, the device is forced to restart after changes are saved. The file is initially in read-only mode, but even changing the file mode to read-write doesn't also help. Anyone has any idea how to deal with such situation??

milux commented 7 years ago

Dear @assafco, this is not the right place for a discussion about that, because it is not related to the development of BCL. Please use the XDA thread to discuss this issue and ask for help.