summaryrefslogtreecommitdiff
path: root/batterymon.sh
diff options
context:
space:
mode:
Diffstat (limited to 'batterymon.sh')
-rw-r--r--batterymon.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/batterymon.sh b/batterymon.sh
index 34e7faa..f46c6ed 100644
--- a/batterymon.sh
+++ b/batterymon.sh
@@ -7,7 +7,6 @@ fi
thresh=$1
cmd=$2
-
while true; do
num=`acpi|sed -nr '/Discharging/s/.*, ([0-9]*)%,.*/\1/p'`
num=${num:-100}