Hacker News new | ask | show | jobs
by sprokolopolis 937 days ago
On Android, I use a terminal script called Advanced Charging Controller (ACC) to automate keeping the battery under 80% and some other battery saving tweaks. It allows you to charge to any value (like 80%), then stop charging until it discharges to another set value, which triggers it to start charging again. That was you can keep it between something like 70% and 80% while you leave it charging over night. It also has settings to keep the batter under a specified temperature and trigger cool-down intervals if it gets to a particular temperature. It can use a job scheduler to switch between different profiles for different days, or events. There are also some frontend apps, which let the user control the script with a more friendly GUI ("AccA" or "ACC Settings").

Link to the script: https://github.com/VR-25/acc This does require root permissions, though.

1 comments

AccA is awesome! I used it to repurpose my decade old Samsung Galaxy Grand Prime as a custom wall clock and alarm.

I couldn't figure out how to power it without a battery, and If I had plugged it in all time I was risking an exploded battery.

Enter AccA, it remains between 50-55% all the time, along with prioritizing battery-idle mode (which means the device tries to draw power directly from the external power source).

That is a good idea. Years back, I had a very old phone that I used as an alarm clock and media player. It would have been nice to not worry about charging. I did disable the mobile and wifi radios, which saved a tons of battery.