Since the Librem 14 allows to control the charging behavior, I made a little daemon that listens to udev events relative to power supply state and will do the following (all timings and values are configurable)
- if power supply is connected, wait 24h, then switch charging thresholds to 40/95
- If power supply is disconnected, wait 30m then switch charging thresholds to 90/95
This allows to adapt the charging thresholds to help maximize battery life based on how mobile you are. It is available here:
On Arch, it’s published on the AUR and you can install battctl-git
Feedback and insults welcome!