From 1241cc216dee067356961bf12cb28a48206e169f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 3 Nov 2025 15:42:19 +0000 Subject: In no world should battery hibernate the system automatically Not a job for a simple status script - user should be smart enough to do it themselves. --- Scripts/.local/scripts/status/battery | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Scripts/.local') diff --git a/Scripts/.local/scripts/status/battery b/Scripts/.local/scripts/status/battery index 1be818d..933e50c 100755 --- a/Scripts/.local/scripts/status/battery +++ b/Scripts/.local/scripts/status/battery @@ -24,11 +24,10 @@ else status="" elif [[ $capacity -gt 5 ]] then - notify-send -u critical "Charge now!" + notify-send -u critical "Battery: Charge now!" status="" else - notify-send -u critical "Hibernating..." - systemctl hibernate + notify-send -u critical "Battery: Critical (< 5%)!" status="" fi echo "$status $capacity% $time_left" -- cgit v1.2.3-13-gbd6f