On Thu, Mar 29, 2012 at 9:02 AM, Put_tiMe <[email protected]> wrote: > I have a situation where in I use AlarmManager to wake up once in a few > minutes, and switch on/off wifi. > If I don't use the device for a while, then the wifi never connects to the > preferred wifi network. > Is there anything happening with the wifi if the phone is in a sleep state?
The WiFi radio will power down. Use a WifiLock if you need WiFi. Bear in mind that this increases power drain. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

