android_device_lge_thunderc_common icon indicating copy to clipboard operation
android_device_lge_thunderc_common copied to clipboard

Accelerometer becomes sluggish after a time

Open DeerSteak opened this issue 13 years ago • 6 comments

After running for 12-16 hours, the accelerometor becomes very sluggish, to the point that games like Overkill and Abduction! are unplayable, and you can see the results as well in bubble level apps like Bubble. It works, the positioning is correct, it's just very, very slow.

DeerSteak avatar Aug 19 '11 19:08 DeerSteak

Logcat snapshot taken when it cropped up:

http://home.comcast.net/~benfunk/log.txt

DeerSteak avatar Aug 22 '11 00:08 DeerSteak

This bug introduced in 2.3.3. I fixed it by reverting SensorDevice class to 2.3.2 state. https://github.com/mik9/android_frameworks_base/commit/32d208be498e11fc71e78b8331ff14ac6b2cba84#services/sensorservice Easy to reproduce: it became sluggish after call.

mik9 avatar Aug 22 '11 08:08 mik9

Interesting. With the CDMA phones this isn't triggered by phone calls, but rather by extended uptime.

inferiorhumanorgans avatar Aug 22 '11 23:08 inferiorhumanorgans

mik9's patch works great...I believe this can be closed.

BobZhome avatar Nov 29 '11 22:11 BobZhome

mik9's patch works on the VM's Motorola Triumph too, its time this fix gets more attention (it's not in IHO's repo yet)

JayZCai avatar Dec 31 '11 08:12 JayZCai

Yah, it's probably worth opening an issue on Gerrit for this. Since this reverts a changeset, on my list of things to do is figure out which part actually needs to be reverted or fixed before committing it to IHO (sucks since I've been so distracted from development, I know).

inferiorhumanorgans avatar Dec 31 '11 21:12 inferiorhumanorgans