On Sat, Jul 31, 2010 at 11:50 PM, Mark Murphy <[email protected]>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
[email protected]

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