Don't currently have ACPI (working on it).
The script from 'chop' didn't work (can't for the life of me think why), but I used some of the code to write my own script (isn't open source great
), which, after much messing, did work.
No idea whether it works with dual batteries, as I don't have dual batteries (YET!).
Strangely, I seem to get different codes for some things- here's a good one- according to the definitions given in chops script my battery is high and low at the same time.
Does anybody know where I can find the official definitions for the codes in /proc/apm?