Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Linux: TLP for most manufacturers[6]
And honestly if your device can’t automatically limit charge, I concede it probably isn’t worth the micromanagement. But these kinds of devices have small, cheap, and easy to replace batteries anyway.
It’s a heck of a lot different to drive to the Apple Store and spend $250 for a MacBook battery versus the $30 battery and afternoon of work for Nintendo Switch.
[1] https://batteryuniversity.com/article/bu-808-how-to-prolong-...
[2] https://accubattery.zendesk.com/hc/en-us/sections/202397985-...
[3] https://www.sciencedirect.com/science/article/pii/S235248471...
[4] https://forums.macrumors.com/threads/how-to-set-an-automatio...
[5]https://github.com/AppHouseKitchen/AlDente-Charge-Limiter
[6] https://linrunner.de/tlp/settings/bc-vendors.html
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
I can highly recommend ACC (and the ACCA app [1] for setup). It lets me limit my phone to 90% charge with the ability to ignore the limit temporarily when I need to. That's very useful for fixing the battery calibration, which can go bad when using ACC.
It has reduced my battery wear by 40-50% according to Accubattery's capacity graph.
[1] https://github.com/MatteCarra/AccA
FYI, on Apple Silicon Apple included a firmware-level "hard-switch" to limit the charge to 75/80% only. It was discovered by marcan while working on Asahi and in my experience it's much more convenient than the built-in ML-based solution (and also less hacky and bloated than AlDente).
See this discussion on GitHub[0] for the explanation and this snippet[1] for easy use.
[0] https://github.com/actuallymentor/battery/pull/163
BCLM can set charging thresholds on Intel Macbooks https://github.com/zackelia/bclm