Auto WiFi v.4

by Scotty Hall

Version 1 (July 11, 2015)

Download (89 downloads)

This flow enables/disables WiFi based on screen status. If the screen is off for 15s, then WiFi is turned off. Once the screen is turned on, WiFi is turned back on. Additionally, if the screen is on and there is no WiFi connection, WiFi will be turned off to save battery.

Added a 5s delay to when the screen is on so that WiFi is not turned on just because the screen became active for minimal time such as when plugging or unplugging the battery charger.