Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/loshz/chargectl

[MIRROR] Daemon for managing charge thresholds on modern Linux machines.
https://github.com/loshz/chargectl

Last synced: 25 days ago
JSON representation

[MIRROR] Daemon for managing charge thresholds on modern Linux machines.

Awesome Lists containing this project

README

        

# chargectl
[![builds.sr.ht status](https://builds.sr.ht/~loshz/chargectl.svg)](https://builds.sr.ht/~loshz/chargectl?) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

CLI for managing charge thresholds on modern Linux machines. Inspired by [TLP](https://linrunner.de/tlp/).

## Usage
```
$ chargectl --help
Manage charge thresholds on modern Linux machines

Usage: chargectl

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](./extra/chargectl.service). You may need to modify the `ExecStart` path depending on your installation configuration.