Paul Menzel wrote:

> Am Montag, den 24.11.2008, 13:32 -0800 schrieb Kok, Auke:
>> Paul Menzel wrote:
>> > Am Montag, den 24.11.2008, 12:52 -0800 schrieb Kok, Auke:
>> >> Does that battery actually work reasonably long or is it dead?
>> > 
>> > Well I worked with it, i. e., power cable was *not* plugged in, for
>> > about 2 hours today. So I think it is not dead.
>> 
>> ok, can you charge it to full, unplug and redo the proc output? I'd like to
>> see 'remaining capacity' show a meaningful number...
> 
> Sorry for the delay. Here you go.
<snip>

What does the /sys/class/power_device/BAT0/* files have to say? AIUI, more
attention is paid to the /sys interface than the /proc one. If the output
in /sys is sane, maybe it would be better to drop reading from /proc (or use
first /sys, and fallback to /proc).

-- 

  Felipe Sateler

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to