[android-developers] Re: High sensor usage in stand by

2011-01-28 Thread Alex Munteanu
The problem is that I see on the same phone (Samsung Galaxy S) the situation when my application doesn't get listed in Batery Use with high use (and it this case Sensor Usage of Spare Parts reports little usage for my app) and the situation when it get's listed (and in this case Sensor Usage of

[android-developers] Re: High sensor usage in stand by

2011-01-28 Thread Alex Munteanu
Now, my question that just popped up in my head is what's actualy happening when my service receive the SCREEN_OFF event ? I have a couple of things that are executed at this point (one of them is unregister the Listener for Orientation Sensor), but how the Android handle this ? I mean, always

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread Alex Munteanu
Similar to: http://groups.google.com/group/android-developers/browse_thread/thread/a70f5b1a52a85624/666daeca2ebb7eaa?lnk=gstq=sensor+usage#666daeca2ebb7eaa

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread ip332
Did you check CPU usage using adb shell top ? On Jan 27, 2:42 am, Alex Munteanu alex.munte...@gmail.com wrote: Similar

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread Alex Munteanu
Yes, is not there. On Jan 27, 6:23 pm, ip332 iprile...@gmail.com wrote: Did you check CPU usage using adb shell top ? On Jan 27, 2:42 am, Alex Munteanu alex.munte...@gmail.com wrote: Similar to:http://groups.google.com/group/android-developers/browse_thread/threa.. Please help

[android-developers] Re: High sensor usage in stand by

2011-01-27 Thread ip332
D-le Alex, you should learn to read between the lines :) Here is a snapshot from a phone I had once: PID CPU% S #THR VSS RSS PCY UID Name 2383 40% S 5 6340K760K fg compass /system/bin/some sensor server 3004 18% S15 240340K 31352K fg app_90 gpsstatus app from