batnotify

Crates.iobatnotify
lib.rsbatnotify
version0.1.1
sourcesrc
created_at2019-10-20 13:39:25.058445
updated_at2022-07-04 04:33:26.566251
descriptionNotify you about low battery levels
homepagehttps://github.com/dmarcuse/batnotify
repositoryhttps://github.com/dmarcuse/batnotify
max_upload_size
id174227
size21,681
Dana Marcuse (dmarcuse)

documentation

README

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

Commit count: 5

cargo fmt