Monday, April 2, 2012

Re: [android-developers] Re: Sleep mode

On Mon, Apr 2, 2012 at 9:50 AM, Dan <dan.schmitt@gmail.com> wrote:
>> > On screen-off, i.e. when it hits the sleep mode, are the wifi radios and CPU
>> > disabled/switched-off?
>>
>> The CPU stops running.
>
> This is demonstrably wrong, as you can have a PARTIAL_WAKE_LOCK held
> and not have the screen on (or even just have ADB gathering logs even
> after the short/long power button press to turn the screen off.)

The question was "when it hits the sleep mode", and a
PARTIAL_WAKE_LOCK prohibits the device from reaching sleep mode.

That being said, I neglected to correct the OP on equating "screen
off" with "hits the sleep mode", and for that I apologize.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

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

No comments:

Post a Comment