Automatically turn off wifi/data when screen turns off?


Sep 21, 2012
43
3
18
#1
Is there an app or method to turn off data when the screen goes off? I have used Juice defender and Green Power in the past and although these work they create a lot of wake locks which seems to drain the battery faster than if I manually disable data. I don't need data schedules so only need to activate data when I specifically need to use the internet. My problem is that I often forget to turn it off when I shut the screen off and find it has been connected for a long time when I next use my phone. I have searched the forums and google play but can't find anything that does what I need. Any help would be really appreciated.
 
Apr 2, 2011
204
10
40
#2
Not sure if this is what you're looking for, but try this (for wifi only) :

Go to Settings - wifi - advanced. Change the option for keeping wifi on during sleep to "never". ;-)

@ my commodore 64
 
Feb 2, 2013
7
0
21
#3
funnily enough i encoutered this just yesterday.
my phone is rooted runs cyanogen mod & miui.
under settings > system > wifi > advanced > wifi sleep policy
that will let u select what u want.
 
Dec 2, 2017
188
51
40
#6
Is there an app or method to turn off data when the screen goes off? I have used Juice defender and Green Power in the past and although these work they create a lot of wake locks which seems to drain the battery faster than if I manually disable data. I don't need data schedules so only need to activate data when I specifically need to use the internet. My problem is that I often forget to turn it off when I shut the screen off and find it has been connected for a long time when I next use my phone. I have searched the forums and google play but can't find anything that does what I need. Any help would be really appreciated.
Netguard no-root firewall app does this well, you can select for each app mobile and/or WiFi access, with screen on/off.