diff --git a/scripts/batnotify b/scripts/batnotify index 5a0ffb41..caf21100 100755 --- a/scripts/batnotify +++ b/scripts/batnotify @@ -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