#battery #notify #notification #daemon

app batnotify

Notify you about low battery levels

2 releases

0.1.1 Jul 4, 2022
0.1.0 Oct 20, 2019

#1932 in Command line utilities

MIT license

92 lines


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


~107K SLoC