changed eq to le in batnotify script

This commit is contained in:
z3rOR0ne 2022-06-17 04:15:05 -07:00
parent 4a2efd1ecc
commit 5a00bbf2ea

View file

@ -2,7 +2,7 @@
while [ true ] ; do
PWRLVL=$(cat /sys/class/power_supply/BAT1/capacity)
if [ $PWRLVL -eq 15 ] ; then
if [ $PWRLVL -le 15 ] ; then
exec notify-send "Battery is at 15%!!";
break;
else