[android-developers] occasional slow down of sensor sampling rate on Nexus S
I'm developing an application that samples the accelerometer, magnetic
field, and gyroscope sensors as fast as possible via the SensorManager
listeners running in Android 2.3.1 on a Nexus S. Typically, the
sample rate is awesome (I'm still having some difficulty adjusting to
the idea that a Java VM runs this fast): about 32 Hz for the
accelerometer and the magnetic field sensors, and about 800 Hz for the
gyroscope. However twice in the last few weeks, the accelerometer and
magnetic field sensor sample rate has dropped down to 7 or 8 Hz and
stayed there. I tried uninstalling/installing the application. I
tried looking for some greedy services (I didn't find any). I tried
putting the device in airplane mode. None of these attempts revived
the sampling rate. Fortunately, momentarily removing the battery
fixed the problem both times.
I haven't been able to reproduce the problem at will.
I posted this as an issue to http://code.google.com/p/android/issues/detail?id=13793
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home