Disable WiFi if unplugged and low battery