#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

#911 in Command line utilities

Download history 9/week @ 2024-07-30 2/week @ 2024-09-17 10/week @ 2024-09-24 1/week @ 2024-10-08 1/week @ 2024-10-15 123/week @ 2024-10-29 26/week @ 2024-11-05

151 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