QUOTE(lardman @ Apr 13 2006, 12:32 PM)
Well save the output of that command as soon as you resume and before suspend and you can then take the two away from one another.
While you at it, recording things to a text file (as this sound like the easiest way), you can save the battery status by 'cat /proc/apm' iirc. Then you can plot a battery percentage vs time graph.
If you're running on a c7x0 machine with OpenZaurus you might also consider recording the cpufreq transitions and the actual battery voltages (from sysfs.)
thanks for the idea.
hmm yeah it'd be nice to have some script for this. hmmm, now it only has to be actually created
(and dunno yet, how
btw actually uptime doesn't measure the time while the zaurus is switched off, just the system runtime from the last reboot. which could even be used for battery runtime if i never reboot and if i do a reboot at every recharge
wow, oz really can show the actual voltage?
sounds more useful than this percentage thing in cacko which is very incorrectly measured. i sometimes get the feeling that someone was as crazy as to specify 50% at 3.6V (and 100% at 4.20V of course)...