#battery #linux #threshold #command-line #cli

app chargectl

Manage charge thresholds on modern Linux machines

3 unstable releases

0.2.0 Nov 2, 2024
0.1.1 May 9, 2024
0.1.0 May 9, 2024

#767 in Command line utilities

Download history 11/week @ 2024-09-20 1/week @ 2024-09-27 2/week @ 2024-10-11 138/week @ 2024-11-01 11/week @ 2024-11-08 3/week @ 2024-11-15

152 downloads per month

MIT license

12KB
177 lines

chargectl

builds.sr.ht status MIT licensed

CLI for managing charge thresholds on modern Linux machines. Inspired by TLP.

Usage

$ chargectl --help
Manage charge thresholds on modern Linux machines

Usage: chargectl <COMMAND>

Commands:
  full   Set thresholds to enable immediate charging until full
  get    Get the current start and stop thresholds for a given battery
  set    Set start and stop charge thresholds for a given battery

Options:
  -h, --help     Print help
  -V, --version  Print version

systemd

An example service unit can be found here. You may need to modify the ExecStart path depending on your installation configuration.

Dependencies

~1.1–1.7MB
~32K SLoC