Hi smjoshua , How did you measure the current drawn(current drawn from battery to other devices ) as i don't see any API for same?
Thanks, krish On Wed, May 27, 2009 at 7:01 AM, smjoshua <[email protected]> wrote: > > I'm working on an application that will periodically check information > about the battery (charge level, current draw, etc...), and I'm > getting the information by reading the sysfs files located at /sys/ > class/power_supply/battery/. I noticed some strange behavior with > respect to the reported current draw. When the phone is plugged in > and charging (via USB in my case) the current will be reported as > anything from 300-450 mA (which seems reasonable to me). However, > when the phone is unplugged the current will be a constant 5 mA. I > would expect a much larger number since the phone is powering the > screen, radio, etc... Has anyone else been working with battery > information and noticed this? > > In case it helps I'm using firmware version 1.5, and cupcake 1.5 with > kernel 2.6.27. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

