Sunday, August 1, 2010

Re: [android-developers] Disabling Idle mode

On Sat, Jul 31, 2010 at 11:50 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
If you want to keep the CPU on, use a WakeLock.
If you want to keep the WiFi on, also use a WifiLock.

Please only use a WifiLock if there is some reason that you actually *need* to operate over wifi.  Devices generally turn WIFI off when the screen is off because it is more power efficient (don't need to have both the cell and wifi radios up) and the difference in bandwidth during that time is not visible to the user.

--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

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