How to programmatically turn off WiFi on Android device?
<p>I need to turn of WiFi after some time elapsed after "turn off screen" button pressed. There is need for this app for my tablet because sometimes I just forget to turn off WiFi and this "kills" battery very fast. It lives 10x+ times less than I would without WiFi. 
Is there any solution available as .apk? Can I track when screen turned off and 5min elapsed? Can I programmatically turn off WiFi on Android device? How?</p>
