by Scotty Hall
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.