> Erich also wrote: > > Doesn't work here: 2.0.3-1 Mouse moves only choppy. > > gkacpi didn't cause my mouse to move choppy, neither does > > while true; do cat /proc/acpi/battery/BAT1/state; sleep 1; done > > but i can reproduce it when i do > > while true; do cat /proc/acpi/battery/BAT1/info; sleep 1; done > > > iirc, .../state doesn't often contain enough information to truly monitor > the battery status
No, it doesn't. But it is enough to query "info" once: "state" contains: present: yes capacity state: ok charging state: unknown present rate: unknown remaining capacity: 57420 mWh present voltage: 16758 mV "info" contains (only values useful for monitoring listed here): design capacity: 57420 mWh last full capacity: 57420 mWh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 3000 mWh design capacity low: 1000 mWh capacity granularity 1: 200 mWh capacity granularity 2: 200 mWh None of which is expected to change during useage of the battery. So querying once is enough: all variable values are in "state". Greetings, Erich -- erich@(mucl.de|debian.org) -- GPG Key ID: 4B3A135C Go away or i'll replace you with a very small shell script. Mancher findet sein Herz nicht eher, als bis er seinen Kopf verliert. "Wissen ist Macht" - wenn man das richtige daraus macht. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]