]> git.alrj.org Git - zsh.d.git/commitdiff
Remove -B option chan calling acpi, as it's not always supported.
authorAmand Tihon <amand.tihon@iba-group.com>
Fri, 19 Feb 2010 10:47:22 +0000 (11:47 +0100)
committerAmand Tihon <amand.tihon@iba-group.com>
Fri, 19 Feb 2010 10:47:22 +0000 (11:47 +0100)
S70_battery

index 628357494091ee265879de73a720fa7f7c485ebf..c361442baa7e93cd2d402d99f3332f453118e0fd 100644 (file)
@@ -9,7 +9,7 @@ battery_level()
   local online remaining bstatus gauge gcolor
 
   online=0
-  acpi -B -a | grep -q "on-line" && online=1
+  acpi -a | grep -q "on-line" && online=1
 
 
   bstatus="$(acpi -b)"