0.1.045.1 MB
Apache-2.0
strict
core26
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
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
14 Aug 2026, 08:19 UTC
14 Aug 2026, 08:53 UTC
14 Aug 2026, 08:45 UTC