[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread Dianne Hackborn
If you go into the details of your app, you will see the things it is doing that are resulting in the approximated usage -- amount of time spent running the CPU (as reported by the kernel), time keeping the GPS running. On Thu, Oct 8, 2009 at 12:40 PM, dadical wrote: > > The wording on the batte

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread dadical
The wording on the battery usage screen is: "Battery used by applications when running." So what does "running" mean? Is it the time when any activity or service of an app is between onResume and onPause? If it means that when my application is consuming CPU resources (e.g., has threads that ar

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread Romain Guy
I would have to check but 40% does not mean that your app used 40% of the battery but that your app was responsible for 40% of the battery consumption. Even if that consumption was only 3% of the total battery capacity. On Thu, Oct 8, 2009 at 11:41 AM, dadical wrote: > > I am indeed sleeping (I'

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread dadical
I am indeed sleeping (I'll check out the other threads, thanks for the tip). From a battery usage perspective, I can't imagine that sleeping vs. alarm has any bearing though. Also, I forgot to mention that when the phone's screen turns off, my background service suspends itself (via Thread.slee

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread Disconnect
FWIW I am having battery issues recently that are entirely blamed on 'cell standby' and 'phone idle' (on the order of 43%/42%, with a couple of apps thrown in for luck at the bottom.) I initially tried to blame nagdroid (15 min polling or some such) but disabled polling and its still bad. :/ On

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread Dianne Hackborn
The G1 and Sapphire don't have a current meter on the battery, so the battery levels they show are approximate based on complicated software in the radio and kernel monitoring what is happening in the system. The battery usage UI is also an approximation of power consumption, based on another kind

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread Disconnect
I was going to post basically the same thing but his 3%-after-2-hours measurement doesn't really agree with that. On Thu, Oct 8, 2009 at 1:40 PM, RichardC wrote: > > By running your background task every 2secs your are basically keeping > the phone permanently on.  Even though your app is not us

[android-developers] Re: What does "Battery Usage" Mean?

2009-10-08 Thread RichardC
By running your background task every 2secs your are basically keeping the phone permanently on. Even though your app is not using much CPU it has to wake the phone from any sleep state every 2secs. So it either will not allow the phone to sleep or mostly keep it awake. Waking the phone will pow