Issue a warning if the battery capacity drops too low.
make
Sensible defaults are chosen for the systemd service file during generation. It might be necessary to edit [email protected]
.
sudo make install
sudo make uninstall
systemctl start battery_warning@<username>.service
systemctl enable battery_warning@<username>.service # optional
It is advisable to run the battery warning service as a non-privileged user.