#battery #notify #daemon #notifications

app batnotify

Notify you about low battery levels

2 releases

0.1.1 Jul 4, 2022
0.1.0 Oct 20, 2019

#33 in #battery

MIT license

8KB
92 lines

batnotify

Notify you about low battery levels

Installation

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.

Usage

Check battery levels every 60 seconds, and notify at 25% and 10%:

batnotify --critical 10 --low 25 --interval 60

Dependencies

~3.5–5.5MB
~105K SLoC