I would like to know if it is possible to enable and disable Wi-Fi. My idea is to have a background task that searches for geo-coordinates and switches Wi-Fi settings if the phone is in the range of a previously saved location or not.
But all I saw were applications that get Wi-Fi status and a quick transition to Wi-Fi settings. I would like to implement a more automated application that helps save battery power.
source share