changed eq to le in batnotify script
This commit is contained in:
parent
4a2efd1ecc
commit
5a00bbf2ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue