I wasn't sure if this post would belong more to the kernel group.
Anyway, I'm working on an application which keeps track of some
battery information (mostly the current draw).  To do this, I'm
periodically reading the sys file located at /sys/class/power_supply/
battery/batt_current.  I've noticed that while my G1 phone is plugged
in via USB, the file reports a current of something like ~450 mA which
sounds okay since the battery is charging.  However, when I unplug the
phone, the battery current is reported as a constant 5 mA.  I would
have expected a negative number since the battery is discharging, or
at least a larger number.

Has anyone else noticed similar behavior?

-Josh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to