Only one udevrule file triggering plug and critical battery level notifications (multi-x sessions support)
Batify is an udevrule-file triggering plug and critical battery level notifications (using libnotify and xpub)
Using libnotify, you might need to install a notification server.
$ yaourt -S batify
$ git clone --recursive https://github.com/Ventto/batify.git
$ cd batify
$ sudo make install
Warning: After installing batify, do not forget to reload udev rules:
$ udevadm control --reload-rules
Description | Level |
---|---|
Battery level is between 10% and 19% | normal |
Battery level is less or equal to 9% | critical |
AC adapter plugged-in | low |
AC adapter unplugged | low |
BAT0
with your battery identifier:ACTION=="change", KERNEL=="BAT0", \