[android-developers] Re: Accelerometer power tied to display backlight power

2009-04-20 Thread Jordan Frank
Known but not resolved. Even in the bug report that is mentioned in the thread that you quoted, the only response has been things might have changed in cupcake. Of course determining what has changed, or if this specific problem has been fixed requires wiping the phone and installing cupcake*,

[android-developers] Re: Accelerometer power tied to display backlight power

2009-04-20 Thread Jordan Frank
Good news! I upgraded my device to cupcake, and it appears that I can now receive onSensorChanged events when the screen is off, provided that I hold a Partial Wake Lock. However, the sampling frequency seems to be far more sporadic. I think that it has to do with the fact that cupcake now flips

[android-developers] Re: Accelerometer power tied to display backlight power

2009-04-17 Thread David Burström
Hi Jordan, I can only agree with your findings. Regardless of which lock is being used, the service stops sending callbacks as soon as the screen turns off or the power button is pressed. :David On Mar 16, 3:01 pm, Jordan Frank jordan.w.fr...@gmail.com wrote: A partial wakelock doesn't help

[android-developers] Re: Accelerometer power tied to display backlight power

2009-04-17 Thread Carter
This is a known issue. See this thread: http://groups.google.com/group/android-developers/browse_thread/thread/1b7202c957084742 On Apr 17, 4:18 am, David Burström david.burst...@gmail.com wrote: Hi Jordan, I can only agree with your findings. Regardless of which lock is being used, the

[android-developers] Re: Accelerometer power tied to display backlight power

2009-03-16 Thread Jordan Frank
A partial wakelock doesn't help because, as I have already explained, as soon as the display goes off, the accelerometers go off. I can keep the CPU awake, and my program continues to run when the display is off. However, as soon as the display goes off, the accelerometers go silent. So this is

[android-developers] Re: Accelerometer power tied to display backlight power

2009-03-15 Thread Jordan Frank
My fault for not explaining myself better. I want to still be able to collect accelerometer data while the display is off. I'm well aware of the fact that I can keep the display on, but if I want to, for instance, create a pedometer application that counts footsteps while in the user's pocket,

[android-developers] Re: Accelerometer power tied to display backlight power

2009-03-14 Thread Stoyan Damov
http://developer.android.com/reference/android/os/PowerManager.WakeLock.html On Sat, Mar 14, 2009 at 8:23 PM, Jordan Frank jordan.w.fr...@gmail.com wrote: Hi, Although I haven't received confirmation from anyone at Google, I can confidently state that when the power to the display goes off,