commit df7d489f528e80c7443500a1498fb04811342aee
parent e117aab635322a96720cb73c41fd10463ed372c7
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Fri, 18 Jun 2021 22:23:07 -0400
Increase batcheck hibernate warning threshold
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/batcheck b/.local/bin/batcheck
@@ -9,7 +9,7 @@ while true; do
perc=$(cat ~/.local/share/battery_percent | cut -d' ' -f1)
ac=$(cat ~/.local/share/battery_percent | cut -d' ' -f2)
if [ ! "$ac" -eq 1 ]; then
- if [ "$perc" -lt 10 ]; then
+ if [ "$perc" -eq 11 ]; then
notify-send -u critical "CRITICAL: Battery Drained" \
"Hibernating soon!"
elif [ "$perc" -lt 15 ]; then