diff options
Diffstat (limited to 'scripts/system')
| -rwxr-xr-x | scripts/system/monitor-battery | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/system/monitor-battery b/scripts/system/monitor-battery index 94b7365..4712c98 100755 --- a/scripts/system/monitor-battery +++ b/scripts/system/monitor-battery @@ -19,8 +19,8 @@ while true; do fi # notify every percent if very low - if [ $cap -le $very_low_threshold ] && [ $status -ne "Charging" ]; then - notify-send "BATTERY LOW" "Battery is at $bat%" + if [ $cap -le $very_low_threshold ] && [ $status != "Charging" ]; then + notify-send "BATTERY LOW" "Battery is at $cap%" fi fi |
