
16 Sep
2008
16 Sep
'08
00:11
* Kai Wilke kiste@netzworkk.de [20080914 11:27]:
found error in /etc/zsh/zshrc of grml-etc-core-0.3.49. line 948: --- if [ "${PERCENT%%%}" -lt 20 ]] ; then +++ if [ "${PERCENT%%%,}" -lt 20 ]] ; then
acpi output: Battery 0: Full, 100%, design capacity 65120 mAh
Alright, it's:
# acpi Battery 0: Full, 100%
vs.
# acpi Battery 0: Discharging, 100%, discharging [...]
Thanks, Kai.
@Frank: what do you suggest? AFAICS we should improve the way $BATTERY works when running in GNU screen as well.
regards, -mika-
--
http://grml.org/ # Linux for texttool-users and sysadmins
http://wiki.grml.org/ # share your knowledge
http://grml.supersized.org/ # the grml development weblog
#grml @ irc.freenode.org # meet us on irc