Crates.io | batnotify |
lib.rs | batnotify |
version | 0.1.1 |
source | src |
created_at | 2019-10-20 13:39:25.058445 |
updated_at | 2022-07-04 04:33:26.566251 |
description | Notify you about low battery levels |
homepage | https://github.com/dmarcuse/batnotify |
repository | https://github.com/dmarcuse/batnotify |
max_upload_size | |
id | 174227 |
size | 21,681 |
Notify you about low battery levels
batnotify supports Linux, and theoretically, Mac OS. On Linux, ensure the requirements for the dbus dependency are met before compiling the project.
To install the latest version published on crates.io:
cargo install batnotify
To install from the latest commit on the master branch:
cargo install --git https://github.com/dmarcuse/batnotify.git
To update batnotify after installing, re-run the same command you used to install with the --force
flag.
Check battery levels every 60 seconds, and notify at 25% and 10%:
batnotify --critical 10 --low 25 --interval 60