1

it seems that there is a bug in froyo with respect to the onSensorChanged method when the phone goes to lock screen mode, i.e. there are no values coming from the accelerometer.

I read about this issue in this topic

Now, the topic does mention a workaround which involves keeping the screen on, although dimmed, but it seems to me that this would drain the battery.

In my application I don't need the screen to be visible at all (brightness can be zero), but it should respond to touch.

The application should also respond to shaking and movement.

Would this still drain the battery fast?

EDIT: Is there a difference between screen lock and screen off?

Community
  • 1
  • 1
jorrebor
  • 2,166
  • 12
  • 48
  • 74

0 Answers0