With credit to VR-25 from Github:
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80
If you edit these files and put you own values in then your phone will start charging when it drops below 75% and stop when it gets to 80%. (put your own values in, etc.)
I have only tested it briefly but it seems to work for AC and USB charging for me so far. No other apps or tweaks needed.
/sys/devices/platform/google,charger/charge_start_level:75
/sys/devices/platform/google,charger/charge_stop_level:80