Similar to:
http://groups.google.com/group/android-developers/browse_thread/thread/a70f5b1a52a85624/666daeca2ebb7eaa?lnk=gst&q=sensor+usage#666daeca2ebb7eaa
http://groups.google.com/group/android-developers/browse_thread/thread/84323097a46de05f/409722ec2bab2988?lnk=gst&q=sensor+usage#409722ec2bab2988
http://groups.google.com/group/android-developers/browse_thread/thread/c8293b6e8e3c2501/1a9632d97e0d3a3d?lnk=gst&q=sensor+usage#1a9632d97e0d3a3d

Please help

On Jan 27, 11:12 am, Alex Munteanu <[email protected]> wrote:
> I'm struggling to find the root cause of a problem that occurs
> apparently randomly in my application. I have a listener registered
> for SENSOR.TYPE_ORIENTATION in my service and on Screen OFF broadcast
> I unregister the listener, and on Screen ON a register it again. From
> time to time, after phone reboot, or maybe unplug, while the most of
> the time the phone is in stand by I get a high sensor usage in phone
> information (along with high battery use associated with my app...) In
> logcat I find lines like this just before Screen OFF :
>
> 01-26 18:02:52.891 E/SensorManager(13487): unregisterListener:
> alex.munteanu.SimpleService$2@48790020 MS-3C Orientation Sensor
>
> These are some kind of errors that shows that the Listener could not
> be unregistered ? If yes, why and what can I do ?

-- 
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

Reply via email to