[Q] App to turn off WiFi when Screen Off - Android Apps and Games

Hi,
Simple question:
I need to poweroff WiFi (not wifi idle that is android standard) when Screen goes off and (of course) poweron WiFi When Screen On.
I've found a lot of app that turn on/off wifi in different way, but none do what i need.
Someone can help?
Tia
Idk

Have you tried Tasker ?

badeaioan said:
Have you tried Tasker ?
Click to expand...
Click to collapse
Looking now

Juice Defender is the ABSOLUTE BEST in this regard. You can customise to enable wifi or mobile network to screen on/off or you can customise to connect wifi when you open a certain app that needs data. You can imagine how much battery you'll save. Try it,you wont regret it.
Sent from my X10 TripNMiUI using XDA App

setting profiles does that with very simple config
just set action » rule to screen off » wireless off
and you can even reverse it to screen on » wireless on

remorema said:
setting profiles does that with very simple config
just set action » rule to screen off » wireless off
and you can even reverse it to screen on » wireless on
Click to expand...
Click to collapse
Thanks remorema, i'm trying now, i'll post the result.
Thanks to all XDA!
Bye
Idk

Ok, for me setting profile is the best, work as i need!
Thank to all for very very fast help!
This is the XDA Power!
Idk

Can't you just go into the advanced wifi settings and set the screen off behaviour there? (press menu in the wifi-screen to get there)
Wifi seems to be turned off on my Nook Color after setting this (cm7). At least it reconnects after waking it.

Related

[Q] Shorten wifi sleep timeout after screen off (Solved)

In the wifi sleep policy, it is possible to set wifi to sleep after screen off. However wifi does not sleep immediately but 15 minutes after screen off. I would like wifi to sleep earlier, say 5 minutes after screen off.
I searched around and found an app capable of doing this. But it is for samsung phones and doesn't work for defy. Does anyone know if and how it can be set manually?
Juicedefender. That is the exact app to use.
I tried Juice Defender. There are options to disable wifi based on connection existence, preset time, data flow etc, but there is no option to set the how long after screen off wifi would sleep.
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Good luck
Hmm I actually set my wifi to never turn off automatically. For instance yesterday I made a phonecall with Skype. My mobile connection is too slow for that so I switched the wifi on. During the phonecall I had the screen turned off but of course the wifi needed to stay on.
I have a widgetsoid widget on my homescreen to enable/disable the wifi. Don't like it when things go automatic and it's just as easy when you need wifi only once in a while.
AgentSmith said:
Hmm I actually set my wifi to never turn off automatically. For instance yesterday I made a phonecall with Skype. My mobile connection is too slow for that so I switched the wifi on. During the phonecall I had the screen turned off but of course the wifi needed to stay on.
I have a widgetsoid widget on my homescreen to enable/disable the wifi. Don't like it when things go automatic and it's just as easy when you need wifi only once in a while.
Click to expand...
Click to collapse
Since i changed my ROM, my wifi actually goes to sleep after 15 minutes and I don't want it to turn off.
How do you set your wifi to never turn off automatically?
naenee said:
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Good luck
Click to expand...
Click to collapse
Thanks! Unfortunately moto doesn't have the settings.db file. I tried putting the mentioned key "wifi_idle_ms" in several other files but no effect.
Edit:
Stupid me. I find the location of settings.db and it works perfectly now
For information, the location of defy's settings.db is:
/data/data/com.android.providers.settings/databases/settings.db
woonaval said:
Since i changed my ROM, my wifi actually goes to sleep after 15 minutes and I don't want it to turn off.
How do you set your wifi to never turn off automatically?
Click to expand...
Click to collapse
In the wifi settings screen, press the menu button to get the advanced options.
ABC_Universal said:
In the wifi settings screen, press the menu button to get the advanced options.
Click to expand...
Click to collapse
wow that was easy, thanks!
woonaval said:
wow that was easy, thanks!
Click to expand...
Click to collapse
Indeed!
Thanks guys; I can now listen to TuneIn radio as long as I want (or my battery allows me to).
If you intend to save battery, maybe you should consider leave "wireless policy" to "never sleep".
It might sound senseless but there are a lot of people reporting substantial battery savings with this, including me, i noticed at least +20 hours in battery life only with this little thing. Charts drawn with Battery Monitor showed the same consumption, Wireless OFF. vs Wireless policy to never sleep. And the most expensive was policy of sleep when screen turned off.
http://forum.xda-developers.com/showthread.php?t=1022390
unrafa said:
If you intend to save battery, maybe you should consider leave "wireless policy" to "never sleep".
It might sound senseless but there are a lot of people reporting substantial battery savings with this, including me, i noticed at least +20 hours in battery life only with this little thing. Charts drawn with Battery Monitor showed the same consumption, Wireless OFF. vs Wireless policy to never sleep. And the most expensive was policy of sleep when screen turned off.
http://forum.xda-developers.com/showthread.php?t=1022390
Click to expand...
Click to collapse
That's probably the case for 3g. But I'm using 2g and find 2g uses less battery than wifi in standby mode (with some background data sync).
naenee said:
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Click to expand...
Click to collapse
Thanks, naenee, for the link. In case anyone is interested, I just made a simplified adaptation of RyanZA's guide, specifically for the DEFY: http://forum.xda-developers.com/showthread.php?p=22639770

App that tells android to sync only when screen is off

Hi,
i would like to have an app that makes android syncs all accounts only when screen is off
cant finf one that is able to do that ? even googled or searched the market.
thanks
Try llama... Add condition "screen off" then action "account sync"
https://play.google.com/store/apps/details?id=com.kebab.Llama
Sent from my HTC Sensation 4g with Beats Audio
AndroidNeophyte said:
Try llama... Add condition "screen off" then action "account sync"
https://play.google.com/store/apps/details?id=com.kebab.Llama
Sent from my HTC Sensation 4g with Beats Audio
Click to expand...
Click to collapse
hmm but i hope it doesnt always sync when i turn the screen off :-/
lets try
edit: great app man... thanks
but got a problem
now the phone always syncs when screen is off
everytime
:-/
just want it to sync only when screen is of ... but in the schedule not everytime screen is off ...
do you have a tipp
Hmm... You can put a time in the condition so it will only sync at a certain time.... use "time between". I haven't played too much with the sync feature for llama yet.... Sorry if I not much help...
Sent from my HTC Sensation 4g with Beats Audio
Llama is ok but i prefer Tasker. Worth every cent.
ymirsson said:
Llama is ok but i prefer Tasker. Worth every cent.
Click to expand...
Click to collapse
can tasker say to accounts just and only sync when screen is off ?
ahhh ^^ i cant deal with tasker ... how can i select wlan on when i am home ?
cell id ? ahhh ^^
with llama i can make it say something when it does something ... does it work with tasker too `?
dont find the option
Hello guys! I read this thread because I'm looking for a solution to a kind of similar problem.
I find it inconvenient that Wifi must always be set either ON of OFF, when Wifi is ON, it is constantly using the connection and reduces battery life enormously! When Wifi is OFF, it does never sync, and you have to enable your Wifi yourself everytime you want to check for your email. It makes me feel like I'm 20 years back, where you had to dial-in for checking your e-mail once a day.
Is it possible to work out a solution with the 2 app mentioned before (llama, tasker)?
JethroCl said:
Hello guys! I read this thread because I'm looking for a solution to a kind of similar problem.
I find it inconvenient that Wifi must always be set either ON of OFF, when Wifi is ON, it is constantly using the connection and reduces battery life enormously! When Wifi is OFF, it does never sync, and you have to enable your Wifi yourself everytime you want to check for your email. It makes me feel like I'm 20 years back, where you had to dial-in for checking your e-mail once a day.
Is it possible to work out a solution with the 2 app mentioned before (llama, tasker)?
Click to expand...
Click to collapse
oh damn ... tasker is heavy ... but you can even cook a meal with it ... trust me
it can do everything ^^
oh god damn i need a video tutorial or something damn
i want to enable wifi when i am at home
disable wifi when i am not at home
enable bluetooth and a app when in dock mode
disable it afterwards
can someone explain how to do that
the app is to heavy for me
You may find the Google Group and/or the Wiki helpful.
I can provide you with some examples, but that has to wait till tomorrow.
If you don't want to wait - there are hundreds of profiles and tutorials around the www and i'm sure you'll find a few here on xda
€: Noticed the german flag: Try this site
i can wait ... if you have also some nice new ideas or scripts
let me know
Syncing with screen off is not a good idea!
It will make sure your phone cannot get into deep sleep mode, and thus consumes ALOT of power!
Giblet-dono said:
Syncing with screen off is not a good idea!
It will make sure your phone cannot get into deep sleep mode, and thus consumes ALOT of power!
Click to expand...
Click to collapse
oh damn ... thats a good hint thanks
but i still need some tips i think
i make my phone say ... batt fully loaded when its charging and batterie is full
but it repeats rondomly after a few minutes or so ... how can i make the notification only one time ?
Giblet-dono said:
Syncing with screen off is not a good idea!
It will make sure your phone cannot get into deep sleep mode, and thus consumes ALOT of power!
Click to expand...
Click to collapse
That depends highly on your sync frequency and what you might or might not additionally control via Tasker.
then tall me how to do it
i want the normal schedule what i set up in every account ... i wish that everything about sync is normal ... the only thing that should not happen is - dont sync when screen is on .
i tried that ... i even got the synker plugin
but i disabled sync when screen is on and enabled it when screen is off ...
and it syncs everytime screen is off ... thats not what i want ...
understand me ??
Code:
Profile 1:
- Context: Display off
- Task: set Variable to 1, turn AutoSync, BT, WiFi and Data off
Profile 2:
- Context: Display on
- Task: set above Variable to 2, turn AutoSync, BT, WiFi and Data on
Profile 3:
- Context: above Variable matches 1 and a (for example) 1h timer
- Task: WiFi, Data and AutoSync on, set a waittimer to sth. like 2min. then turn everything off
Well, thats a minimalistic version of what i do and very basic.
Maybe you can combine it via an exit-Task into only one profile, but i like to be flexible via Variables.
Possible extensions:
- WiFi will only get turned on, when you parsed a known SSID into a variable (i.e.: don't turn wifi on, if you won't get a connection)
- "Disply off" Profile (and Task) runs only on battery (i.e.: Display and connections stay on in Power plugged/Dock mode)
- Include CPU frequency & governor control
- Reduced CPU frequency when Display off only if you don't play media (music)
- Control your WiFi connection via location/cell towers und turn it off if you not near them
- mobile data off if wifi is connected
- ...
ymirsson said:
Code:
Profile 1:
- Context: Display off
- Task: set Variable to 1, turn AutoSync, BT, WiFi and Data off
Profile 2:
- Context: Display on
- Task: set above Variable to 2, turn AutoSync, BT, WiFi and Data on
Profile 3:
- Context: above Variable matches 1 and a (for example) 1h timer
- Task: WiFi, Data and AutoSync on, set a waittimer to sth. like 2min. then turn everything off
Well, thats a minimalistic version of what i do and very basic.
Maybe you can combine it via an exit-Task into only one profile, but i like to be flexible via Variables.
Possible extensions:
- WiFi will only get turned on, when you parsed a known SSID into a variable (i.e.: don't turn wifi on, if you won't get a connection)
- "Disply off" Profile (and Task) runs only on battery (i.e.: Display and connections stay on in Power plugged/Dock mode)
- Include CPU frequency & governor control
- Reduced CPU frequency when Display off only if you don't play media (music)
- Control your WiFi connection via location/cell towers und turn it off if you not near them
- mobile data off if wifi is connected
- ...
Click to expand...
Click to collapse
nice
we have to stay in contact
will shoot you some questions later
thanks

[v1.3] Tasker: Screen off=wifi/data off(no traffic+)AutoSync+Night/Reduce CellStandby

Cell Standby Battery Drain:
Hey Guys!!
Maybe some of you know it. The cell standby drains a lot of battery. I live in a mounterial arrea and it's really annoying. So I searched a bit on Google and build a small Tasker "Script" to reduce the draining. I'm using it now for 6 weeks and it's working good! It reduced my cell standby from 35% to 2%.
So what's the magic?
First tasker will turn Airplane Mode (only cell!) on if you don't have signal. Then it'll wait for 5 minutes and check it again. Yes this sounds really simple but it was hard to build it.
I hope I can help you with sharing my experiences!
Screen off=data/wifi off it no traffic (with Night Mode):
Hey Guys, I have been looking for a solution for this problem for quite a while myself. Now I found a good solution to collect the current traffic on all interfaces. I will share a detailed explanation on how to set it up.
First off, what will happen?
If you want tasker to turn Wifi or Mobile Data off when you the turn Screen off normally you have the problem that it will interrupt all downloads. This Profile will try to read the traffic. If the traffic is below 15 kb it will turn wifi or mobile data off. If not it’ll wait until it is below 15kb. Later If you turn your screen on again tasker will activate mobile data and wifi. It'll wifi doesn't connect to a network (in the next 30 seconds) it will turn wifi off.
How does Tasker work? How can I optimize these profiles/tasks for my needs?
First what does tasker do? This is for the people who don't understand tasker. Tasker has 4 tabs (Profiles, Tasks, Scenes and Vars) but I won't talk about Scenes cz I didn't uses it yet. I also won't talk about Vars (variables) cz they are self explaining.
What are Profiles?
Basically profiles contain conditions (for example if display on/off or wifi on/off) and run a task if the condition is true. Example: If display off turn wifi off.
What are Tasks?
A task is something like a list of actions which the phone should do. (for example turn data on/off or run a specific app)
How do the profiles from this thread?
The profile AutoSync (Screen off) runs every 10 minutes while the screen is off. It turns data/wifi on checks for new messages and turns it off. It has a variable called "%SLEEP". It will only run if "%SLEEP" doesn't match "1".
The profiles Display (Data) and Display (Wifi) turns data/wifi on when the user turns the screen on. When the screen is off again it will check traffic for 30 seconds. If the traffic is below 15kb/s it will turn data/wifi off. If not it will wait 2 minutes and check the traffic again for 30 seconds until the traffic is below 15kb/s.
The profile Night (week), Night (weekend) turn the phone into airplane mode and sets the variable "%SLEEP" to "1".
The profile Wifi connected just changes the variable "%CONNECTION to "1" or removes the "1". This is needed for the Display (Wifi) profile.
On my todolist:
You say..
Changelog v1.3:
Added Greenify's hibernate now to both screen off tasks
Changelog v1.2:
Added AutoSync (every 10 minutes if screen is off)
I'm using this profiles on my Samsung Galaxy Nexus and it works very well!!
Feel free to ask me if you have problems! I'll try my best to help you.
These profiles include the greenify hibernate action from its plugin. If you have troubles with it you have to remove and readd it (on both Screen off tasks) cz my plugin is german. (plugin → hibernate)
You need Secure Settings for tasker or it won't work!! I used Secure Settings because Secure Settings can off only the cell radio. Tasker supports it, too. But not for Jelly Bean and I'm using 4.2.2 :/
How to import *.prj.xml files:
Unzip the *.prj.xml file in your Tasker/projects directory and then import it in Tasker by long-clicking the home icon or any of the other tabs. If you don't have the home tab, swipe down from the top in Tasker to show the tabs. (beginner mode must be disabled!)
Thanks for this 8D!
Useful for a beginner like me ^^!
In task screen off, why do you wait for 30 sec's in Action number 5? Also how important is the Stop Task Action? What happens if I don't include it? I mean anyways, the following 'else' won't be executed if the Mobile data turned off by the 'if'.
Just what I looked for, but How can I install your *.zip file to tasker? I just cant install it, any hint? where should I put the zip file?
kala123 said:
Just what I looked for, but How can I install your *.zip file to tasker? I just cant install it, any hint? where should I put the zip file?
Click to expand...
Click to collapse
unzip it to /sdcard/Tasker/auto-import. Then import it using tasker.
The-Droidster said:
In task screen off, why do you wait for 30 sec's in Action number 5? Also how important is the Stop Task Action? What happens if I don't include it? I mean anyways, the following 'else' won't be executed if the Mobile data turned off by the 'if'.
Click to expand...
Click to collapse
You have to wait 30 seconds or how long you want to wait cz in action number 2 tasker gets a traffic number from the system. After 30 seconds it gets another. Tasker subtracts the values to get the actual traffic in bytes. So Tasker can look if the traffic is below 15 kb/s. Yes you're right. It's my fault. You don't need the Stop Task Action. It's from the old Script. I forgot to remove it. Thanks for your hint!
Hi parthipanramesh,
what I metioned inside the other Thread seems to be working A okay...
What are the modifications/fixes in this version? I can't tell from looking at it here.
RLicher said:
Hi parthipanramesh,
what I metioned inside the other Thread seems to be working A okay...
What are the modifications/fixes in this version? I can't tell from looking at it here.
Click to expand...
Click to collapse
Hi RLicher,
Some people had the issue with the maths calculation of CHECKB_WIFI - CHECKA_WIFI. So tasker will set the variables to 0 if they aren't set. (cz wifi is off or something else). And I deleted/merged some Actions.
You can use the version from the other thread if you don't have problems
I'm using this on SGS3 but notice two issue... While listening to Pandora when a song ends the data or wifi will get disabled so the next song cant start. Second wifi or data will not be reenable when the screen is enabled.
For the record i just imported the files within the zip.
nappent said:
I'm using this on SGS3 but notice two issue... While listening to Pandora when a song ends the data or wifi will get disabled so the next song cant start. Second wifi or data will not be reenable when the screen is enabled.
For the record i just imported the files within the zip.
Click to expand...
Click to collapse
First you have to increase the 30 seconds from the two Screen off tasks [A5] because Tasker checks the traffic for 30 seconds. If Pandora loads a song for example in 40 seconds Tasker will disable data and wifi after it has been loaded. So data and wifi are turned off when Pandora tries to play the next song. Increase the value and you should be good.
And for your next issue:
Delete the imported profile and create a new profile:
Name: Whatever
Context: State → Display On
Task: Create a task which enables data and wifi
Exit Task: Screen off
Re: Tasker solution: Screen off=wifi/data off if no traffic
The-Droidster said:
unzip it to /sdcard/Tasker/auto-import. Then import it using tasker.
Click to expand...
Click to collapse
How do we import?
Sent from my SGH-T999 using xda premium
ktetreault14 said:
How do we import?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Sorry I didn't read your previous post.
Unzip the *.tsk.xml files to sdcard/Tasker/tasks and the *.prf.xml to sdcard/Tasker/profiles. Then open tasker tap on tasks and hold it until a menu appears. Tap on import and you should see the files. Do this for the profile aswell.
First tasks and then profiles!! Or you'll get an error that tasker couldn't find the the task for the profile.
Thanks just pinched your files and made it turn on when the screen comes on.
My current profiles means that Wifi turns off when i leave the office and stays off until I turn it on again.
If im somewhere with no wifi will my wifi be turned on when my screen is turned on?
Would i need to create another profile which says if wifi is on and not connected to a network after X minutes
then please disable?
If so is that an easy one to create?
Thanks
Andy
Iceax123 said:
Thanks just pinched your files and made it turn on when the screen comes on.
My current profiles means that Wifi turns off when i leave the office and stays off until I turn it on again.
If im somewhere with no wifi will my wifi be turned on when my screen is turned on?
Would i need to create another profile which says if wifi is on and not connected to a network after X minutes
then please disable?
If so is that an easy one to create?
Thanks
Andy
Click to expand...
Click to collapse
First yes it will enable wifi.
I solved it with 2 profiles. One changes a variable if wifi is connected or not and the other one is turns wifi on, waits 30 seconds, checks the variable. If my phone is not connected to a wifi it will turn it off.
Do you want my profiles?
Re: Tasker solution: Screen off=wifi/data off if no traffic
Yes please that would be excellent
Thanks
Andy
Sent from my HTC One X using xda app-developers app
Re: Tasker solution: Screen off=wifi/data off if no traffic
Just one last question if I may.
Using this if I turn of data as well will that stop any emails coming in.
I have 3g turned off so am always on 2g but would still want push mail from one account to get through
Thanks
Sent from my HTC One X using xda app-developers app
Also found another issue now
I have a rule set up so when connected to works wi-fi my ringer and notifications are set to low.
But now when i turn my screen off wifi drops and my volume goes up. ARGHHHHH
Andy
Iceax123 said:
Yes please that would be excellent
Thanks
Andy
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Look in the OP!! New version
Iceax123 said:
Just one last question if I may.
Using this if I turn of data as well will that stop any emails coming in.
I have 3g turned off so am always on 2g but would still want push mail from one account to get through
Thanks
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Yes it will turn generally data off. 2g or 3g it doesn't matter.
Iceax123 said:
Also found another issue now
I have a rule set up so when connected to works wi-fi my ringer and notifications are set to low.
But now when i turn my screen off wifi drops and my volume goes up. ARGHHHHH
Andy
Click to expand...
Click to collapse
It have nothing to do with my profiles and tasks. They only enable connections, check traffic and disable the conncections. Maybe another profile isn't working correctly.
And next time you can edit your post. You don't need to make 3 posts.
Thanks again parthipanramesh, will import these tonight and try
Andy
I am new to tasker and i have been fiddling with it.
How would I add auto sync turns on every 15 minutes when screen is off and auto sync turns on when screen is on to this "script"?

Looking for App -> Auto turn of 3g once connected on a certain Wifi

Hello Everyone !
Friend of mine live in the middle of no where where 3g/4g signal doesnt work.
He has Wi-Fi tho, but thing is. His cellphone always try to look for a 3 /4g signal at his home and he wakes up with his battery completly drained prematurely.
Im looking for an app that will auto turn off 3g/4g when connected on a certain Wi-Fi and turn it back on when leaving that Wi-FI
We are both using Galaxy S2 X
Thanks guys !
You can do this with Tasker. You can make a profile. I actually just made one for myself after reading your post.
Profile name (name it anything): DataToWifi
State -> Net -> Wifi Connected
Task: Net -> Mobile Data (On)
Closing Task: Net -> Mobile Dat (Off)
So now, when I turn Wifi On (and it connects to the router), it turns off data. When I turn wifi off, it turns data back on.
Cool ! Thanks a lot Scottocs !
But is it also possible that this task ONLY work on ONE certain WiFi (his home wifi)
Because all others WiFi area works correctly with 3g
Jackzoor said:
Cool ! Thanks a lot Scottocs !
But is it also possible that this task ONLY work on ONE certain WiFi (his home wifi)
Because all others WiFi area works correctly with 3g
Click to expand...
Click to collapse
Yes, you can specify.
I have tasker configured to turn off the lock screen pass code only when connected to my home WiFi. (It also says 'welcome home sir' in an British accent.. lol)
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Okay Thanks ! Still trying to figure out how to do it even with the tutorial...
Jackzoor said:
Okay Thanks ! Still trying to figure out how to do it even with the tutorial...
Click to expand...
Click to collapse
It is sort of confusing, but it's easier to make the tasks before the profile.
I'll give you step-by-step instructions.
Open Tasker
Go to Tasks tab
Click the + button to make a new one - name the first task "DataOff"
Click the + button again
Click the "Net" button
Click "Mobile Data"
Click near the top left of the app (the tasker icon which has a left arrow)
Click it again.
Click the + button to make a new one - name the first task "DataOn"
Click the + button again
Click the "Net" button
Click "Mobile Data"
Change it from "Off" to "On"
Click near the top left of the app (the tasker icon which has a left arrow)
Click it again.
Switch to Profile tab
Click the + button
Name it "WifiToData" (or something else)
Click "State"
Click "Net"
Click "Wifi Connected"
Optional: Type in your SSID
Click near the top left of the app (the tasker icon which has a left arrow)
Choose the "DataOff" Task
Touch and hold your finger on "DataOff" Task in the Profiles tab
Click "Add Exit Task"
Choose the "DataOn" task
Complete!
Llama may be less confusing...
So thanks a lot everyone especially Scottocs for the HUGE help on this.
After scratching my head for about 2-3 hours on this and with Scottocs help I was able to figure out a way for my friend to
Once he enter his house and his phone connect to his Wifi -> Airplane mode ON but leave Wifi ON
and once he disconnect from his Wifi Turn Airplane mode OFF
that was done with
Tasker application and AutoAir
what I did in Tasker was
When Wifi connected -> SSID (wireless connection name)
Load App -> Autoair
(Make sure to go in AutoAir setting and check the box " Start Service on application start up)
and as a Exit Task for this profile
I Simply took Turn Airplane OFF (which mean that once that specific wifi get disconnected turn airplane off)
Hopefully that can help you guys !
Jackzoor said:
So thanks a lot everyone especially Scottocs for the HUGE help on this.
After scratching my head for about 2-3 hours on this and with Scottocs help I was able to figure out a way for my friend to
Once he enter his house and his phone connect to his Wifi -> Airplane mode ON but leave Wifi ON
and once he disconnect from his Wifi Turn Airplane mode OFF
that was done with
Tasker application and AutoAir
what I did in Tasker was
When Wifi connected -> SSID (wireless connection name)
Load App -> Autoair
(Make sure to go in AutoAir setting and check the box " Start Service on application start up)
and as a Exit Task for this profile
I Simply took Turn Airplane OFF (which mean that once that specific wifi get disconnected turn airplane off)
Hopefully that can help you guys !
Click to expand...
Click to collapse
GLad you got it working...I think you could have also done it with the secure settings tasker plugin....i believe it has functions to enable/disable airplane mode and then turn wifi back on/off.....
I'm still trying to figure out how to disable pinlock when power any and bluetooth is linked.....I link bluetooth both home and in the car but have not found best option yet. Tasker is very powerful although complex....you should have seen it before the new version that made things "simpler".

Turn Off Wifi during sleep mode

Hey guys,
I just need to know all the options available in HAM7 in order to switch-off the WI-FI whenever I pressed the lock-button or screen is off or phone in sleep mode?
However, Can anyone tells me how long does the phone needs to enter the "sleep mode" if it's screen timeout is set to 15seconds + all apps are protected "restricted" from (Running in background + Push-notification)?
Thanks
alkot said:
Hey guys,
I just need to know all the options available in HAM7 in order to switch-off the WI-FI whenever I pressed the lock-button or screen is off or phone in sleep mode?
However, Can anyone tells me how long does the phone needs to enter the "sleep mode" if it's screen timeout is set to 15seconds + all apps are protected "restricted" from (Running in background + Push-notification)?
Thanks
Click to expand...
Click to collapse
This app does what you want: Smart Battery Saver
https://play.google.com/store/apps/details?id=com.bitdefender.smartbattery&hl=pl
Smart Wi-Fi
Disables your Andoid’s Wi-Fi when the screen is OFF, and re-activates it when the screen is back on.
Click to expand...
Click to collapse
alexre123 said:
This app does what you want: Smart Battery Saver
https://play.google.com/store/apps/details?id=com.bitdefender.smartbattery&hl=pl
Click to expand...
Click to collapse
Hey Alex,
Thanks for your help, but i think there is already an option in the Huawei Ascend mate 7 phones for doing such thing but i can't really find it, the reason that i don't need to download any (Battery Saving Programs, that the phone is packed with the same utility too! called "Phone Manager") ,, it was working with me, but seems to be i done something (disable something or protect something "Restricting it") from doing it's normal function that i still don't figure it out what is it!
Thanks for your reply, I've tried this app and i wasn't knew what does "Smart WIFI" means until Now, so i would make it my last choice to download this app again, in case if i didn't find a way to manage it within the phone settings.
alkot said:
Hey Alex,
Thanks for your help, but i think there is already an option in the Huawei Ascend mate 7 phones for doing such thing but i can't really find it, the reason that i don't need to download any (Battery Saving Programs, that the phone is packed with the same utility too! called "Phone Manager") ,, it was working with me, but seems to be i done something (disable something or protect something "Restricting it") from doing it's normal function that i still don't figure it out what is it!
Thanks for your reply, I've tried this app and i wasn't knew what does "Smart WIFI" means until Now, so i would make it my last choice to download this app again, in case if i didn't find a way to manage it within the phone settings.
Click to expand...
Click to collapse
Go to settings - > WI-FI -> scroll down -> Advanced Settings -> Keep Wi- Fi on during sleep -> Never
I have it on " Always" but you can choose "Never"
Hope it helps
alexre123 said:
Go to settings - > WI-FI -> scroll down -> Advanced Settings -> Keep Wi- Fi on during sleep -> Never
I have it on " Always" but you can choose "Never"
Hope it helps
Click to expand...
Click to collapse
Unfortunately, I've the same options on "Never (increase data usage)"
But still the wifi is on, that means either the phone doesn't enter into sleep mode after 2-10mins or more or either it's not the option we're looking for!
alkot said:
Unfortunately, I've the same options on "Never (increase data usage)"
But still the wifi is on, that means either the phone doesn't enter into sleep mode after 2-10mins or more or either it's not the option we're looking for!
Click to expand...
Click to collapse
Yeah, same here, I tested on 'Never' and I have the same result, so don't worry it's not from your phone, probably it's from the firmware I guess.
You can test the Smart Wi fi option from the Smart Battery Saver app to see if it works.
alkot said:
Unfortunately, I've the same options on "Never (increase data usage)"
But still the wifi is on, that means either the phone doesn't enter into sleep mode after 2-10mins or more or either it's not the option we're looking for!
Click to expand...
Click to collapse
I had it on the default setting and my wifi and it will dc when it goes to sleep after a few mins. I dnt know how long exactly but when i turn on the screen i can see the wifi is off and will connect after.
the thing is im on b120 the stock that i had on my tl10.
Sent from my HUAWEI MT7-TL10
Easy Computer said:
I had it on the default setting and my wifi and it will dc when it goes to sleep after a few mins. I dnt know how long exactly but when i turn on the screen i can see the wifi is off and will connect after.
the thing is im on b120 the stock that i had on my tl10.
Sent from my HUAWEI MT7-TL10
Click to expand...
Click to collapse
Me too, I Haven't upgrade the EMUI Firmware yet, Its still have the default firmware came with the phone out of the box, which is the same one you've it already, But your options in the settings is set to "Notify" ? because that was my default option!
alexre123 said:
Yeah, same here, I tested on 'Never' and I have the same result, so don't worry it's not from your phone, probably it's from the firmware I guess.
You can test the Smart Wi fi option from the Smart Battery Saver app to see if it works.
Click to expand...
Click to collapse
Yes, I did test the App once again, and it really does what it says PLUS it really makes a difference in battery life better than before!
Great App, I wanna thank you for suggesting this app to me :good:
Thanks Again
Easy Computer said:
I had it on the default setting and my wifi and it will dc when it goes to sleep after a few mins. I dnt know how long exactly but when i turn on the screen i can see the wifi is off and will connect after.
the thing is im on b120 the stock that i had on my tl10.
Sent from my HUAWEI MT7-TL10
Click to expand...
Click to collapse
I'm on b120 also now and wi-fi doesn't turn off during sleep when I leave it to 'never' . But it's not that important, I don't know how much battery will save anyway
---------- Post added at 04:03 PM ---------- Previous post was at 04:01 PM ----------
alkot said:
Yes, I did test the App once again, and it really does what it says PLUS it really makes a difference in battery life better than before!
Great App, I wanna thank you for suggesting this app to me :good:
Thanks Again
Click to expand...
Click to collapse
I'm glad it solve your problem
Seems like option 'Always allow scanning' in Advanced Wi-Fi settings switched on. This option allow google location to scan Wi-Fi when it is turned off
hoooooy said:
Seems like option 'Always allow scanning' in Advanced Wi-Fi settings switched on. This option allow google location to scan Wi-Fi when it is turned off
Click to expand...
Click to collapse
As you can see in the following picture it's my settings, without using the app "Smart Battery Saver" suggested by member in previous comments the device couldn't been able to Switch WIFI automatically, unless I use the app provided.
However, the phone was working properly but I don't know what happened to that option later on.
All my apps is restricted from running on background and app notification is restricted too, Sync is switched off. I wonder what eels remained.. lol
I found option to control Wi-Fi in the Viber application settings (you can see this option on the attached screenshot). May be you using something app like this?
And IMHO restrictions working only for automatic memory clearing if it's not enough for active application, but I could be wrong.
alkot said:
Hey guys,
I just need to know all the options available in HAM7 in order to switch-off the WI-FI whenever I pressed the lock-button or screen is off or phone in sleep mode?
However, Can anyone tells me how long does the phone needs to enter the "sleep mode" if it's screen timeout is set to 15seconds + all apps are protected "restricted" from (Running in background + Push-notification)?
Thanks
Click to expand...
Click to collapse
I found out if you want wi fi turning off during sleep do this: Go to settings - > WI-FI -> scroll down -> Advanced Settings -> Keep Wi- Fi on during sleep -> Only when plugged in.
I think this was the setting you were looking for. With this setting my wifi disables every time during sleep and reconnects automatic when i turn the screen on.
alexre123 said:
I found out if you want wi fi turning off during sleep do this: Go to settings - > WI-FI -> scroll down -> Advanced Settings -> Keep Wi- Fi on during sleep -> Only when plugged in.
I think this was the setting you were looking for. With this setting my wifi disables every time during sleep and reconnects automatic when i turn the screen on.
Click to expand...
Click to collapse
It seems to be doesn't work, I've tried it just in few minutes, and changed my display screen time-out for 15-seconds to go to sleep quickly, still it doesn't work after several minutes, so my question is for (How long does the phone consume from time to "enter sleep mode/device WI-FI switched Off") with your phone?
alkot said:
It seems to be doesn't work, I've tried it just in few minutes, and changed my display screen time-out for 15-seconds to go to sleep quickly, still it doesn't work after several minutes, so my question is for (How long does the phone consume from time to "enter sleep mode/device WI-FI switched Off") with your phone?
Click to expand...
Click to collapse
I think it must be in sleep mode at least 5 to 10 minutes. If you just turn off the screen and turn back on, the wifi will not disabled. Test it. Let the phone off for 5-10 minutes to have time to enter sleep mode. If you want to disable the wifi immediately every time you turn off the screen, the only solution is that app.

Categories

Resources