On Tue, Nov 1, 2011 at 2:01 AM, imran ali <[email protected]> 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 way to know running thread of application from eclipse? > so that i can understand that, which thread is running and using CPU. > > Regards > imran ali >
Imran, Don't worry about this at all. 2% background usage is completely normal and fine. Your app is running always running some code: because your app is actually an instance of a vm which is processing messages on a looper. So even if your app isn't doing intensive processing, it's constantly checking to see if it got new messages, doing gc, and related background things. The same goes for any desktop application. Open up your task manager or run "top" on a linux box: you'll see tons of processes using ~1-2% of the cpu time, it's completely normal application behavior. kris -- 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

