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

app chargectl

Manage charge thresholds on modern Linux machines

3 unstable releases

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

#1373 in Command line utilities

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