That's why you'd use a *partial* wakelock.

On Sun, Mar 15, 2009 at 6:57 AM, Jordan Frank <[email protected]> wrote:
>
> 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, then the last thing I want is to keep the
> display to be on the whole time.
>
> Cheers,
> Jordan
>
> On Mar 14, 3:20 pm, Stoyan Damov <[email protected]> wrote:
>> http://developer.android.com/reference/android/os/PowerManager.WakeLo...
>>
>> On Sat, Mar 14, 2009 at 8:23 PM, Jordan Frank <[email protected]> 
>> 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, one can
>> > no longer obtain data from the accelerometers. I can easily think of a
>> > number of examples of where one would like to continue collecting
>> > accelerometer data even when the display is of.
>>
>> > Supposing that I wanted to "fix" this, can anyone suggest where should
>> > I start looking? Would this be in the SDK, the kernel, or in some
>> > proprietary firmware that I can't touch?
>>
>> > Thanks,
>> > Jordan Frank
>>
>>
> >
>

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