[android-developers] Re: CPU leak android application

2011-11-01 Thread imran ali
Thanks Kris, yes, i am not using any thing either service or background thread computation, but still it has been consuming approx 2% CPU, i have been looking it through another application Android assistant. is there any way to know running thread of application from eclipse? so that i can

Re: [android-developers] Re: CPU leak android application

2011-11-01 Thread Kristopher Micinski
On Tue, Nov 1, 2011 at 2:01 AM, imran ali imran...@gmail.com wrote: Thanks Kris, yes, i am not using any thing either service or background thread computation, but still it has been consuming approx 2% CPU, i have been looking it through another application Android assistant. is there any

Re: [android-developers] Re: CPU leak android application

2011-11-01 Thread Dianne Hackborn
It's a little more complicated than that. 2% of CPU usage in the background with the CPU running at normal speed is a *lot*. And really, an app in the background shouldn't be using any CPU. If it is sitting there blocked waiting for something to do, it won't use any CPU. The only reason it

Re: [android-developers] Re: CPU leak android application

2011-11-01 Thread Kristopher Micinski
Another wrinkle is that Android devices aggressively scale the CPU, so 2% of an essentially idle CPU may be a lot smaller because the CPU is running at that point at a much lower frequency. Ah, yes, I had supposed that this was the case, but wasn't sure on it. -- You received this message