Version0.1.0
Revision4
Size5.1 MB
LicenseApache-2.0
Confinementstrict
Basecore26

Battery charge threshold manager for laptops


charge-stop sets the battery charge threshold of a laptop: the percentage
above which charging stops. Keeping the threshold below 100% extends battery
lifespan for laptops that spend most of their time plugged in.

The daemon (charge-stopd) manages the sysfs attribute directly and persists
the setting so it survives reboots and suspend; firmware on many laptops
resets the threshold across these events. A companion CLI (charge-stop) talks
to the daemon over a UNIX domain socket, speaking a small REST API:

GET /v1/threshold report the current threshold
POST /v1/threshold set and persist the threshold
POST /v1/restore re-apply the persisted threshold

Update History

0+git1.874d76e (1)0.1.0 (4)
14 Aug 2026, 09:00 UTC
0+git1.874d76e (1)
14 Aug 2026, 08:45 UTC

Published14 Aug 2026, 08:19 UTC

Last updated14 Aug 2026, 08:53 UTC

First seen14 Aug 2026, 08:45 UTC