Manage the use of WiFi to save battery
