No. The way this is done is very complicated, using an ever-evolving set of measurements of various operations applications are doing and computing them against a device-specific power profile to construct the UI. This is only intended to provide rough estimates as shown in the UI, this is not a facility for applications to use.
On Thu, Jun 21, 2012 at 10:20 PM, kapex <[email protected]> wrote: > Hi, > > Anything new about this? > Its been alsmost a year since this post > > > On Monday, September 26, 2011 10:33:15 PM UTC+2, Mark Murphy (a Commons > Guy) wrote: >> >> On Sun, Sep 25, 2011 at 1:41 AM, vaibhav agrawal <[email protected]> >> wrote: >> > Is there any way in which I can get the detail that how much battery a >> > particular app is using? >> >> There are no documented and supported APIs for this, sorry. I wish there >> were. >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> Warescription: Three Android Books, Plus Updates, One Low Price! >> >> -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

