I have been looking for internet all these days, everywhere to autosync my device when device is sleeping and wifi is off but couldnt find any working solution as yet.
Tasker should turn on wifi, auto sync then turn auto sync off and wifi. I tried all that I could, but not working.
Anyone can help me with this over here ?
I do have a working autosync profile but for me in order to get it to work, I needed synker and secure settings, because Taskers WiFi action does not always work. If you would like me to share it with you, let me know.
It also takes other things into account as well.
I do have secure settings already. Do share how you do it given your device is sleeping and even WiFi is turned off
OK you can download my profile here, since it would be better, rather than explaining it.
https://drive.google.com/file/d/0B8M8tLEXhDNZQU9XMkV2Qm1RREk/view?usp=drivesdk
I need synker with this ?
Thats correct. But you can try taskers sync option.
Hi, I tried this profile, unfortunately its turning on my data when I am home and Wifi is available. Though I am not sure if its turning on my Wifi while its turned off, I would want to ensure my data stays off. What are the changes I need to make ?
If you wish to remove the mobile data aspect of it altogether you will need to delete, all actions from 9 to 15, then add stop and add end if at then end of the task.
Also it does check to see if wifi is off first and if it is, it will switch it on.
My WiFi is on, but I ensure when screen is off, Wifi stays disabled. And for some reason its not turning back the WiFi when screen is Off. Dont know why
Unfortunately I am in the same boat at the moment, and I have not found anything to resolve this.
I also started my own thread some time ago about it, but I haven't had anyone give me an answer to solve it nor suggest what could cause it.
@ProudRed
UPDATE: I think I might know what the problem is, I have added wake device command at the beginning of my task,via plugin called secure settings > actions > wake device. I will find out tomorrow if this actually works.
I can confirm that adding the plugin > secure settings > actions > Wake device, solves the problem for me. Apparently you shouldn't need this if you adhere to this page http://tasker.dinglisch.net/userguide/en/androidpowermanagement.html
But for some reason it still does not work for me even if I whitelist tasker and it's plugins from 3rd party battery saving apps like amplify or powernap.
The issue I am having is with connecting the wifi, its getting connected but gets disconnected after 5-10 seconds. I have even tried ensuring that screen keeps on for 2 minutes, even after that Wifi is getting disconnected. Can I have an working profile from you without the mobile data part ? May be I am doing something wrong.
Related
is there a way if any program needs connection the wifi to turn on and after exit of the program the wifi to turn off (not waiting 2-3-4min if there is no usage to turn off then)?
I have turned off the wifi for the battery life reasons, so when I need it any time I have to go into comm.manager and so on....
I'm actually using phoneweaver (not free), you can set profiles to switch on/off wifi at specific times. I can turn wifi on, but for some reason can't turn it off automatically, guess I'm a bit dumb to set it correctly, but it works for me.
there's another software called wifilocations (free), it seems to turn on/off wifi based on cell id's, haven't tried it but might work for you
I personally have set a hardware button to act as Wifi on/off (with AEBPlus) and just toggle it with a double press when I need it and when I'm done.
There is a wifi button on the keyboard (right arrow button)
True, I usually forget about that one. But then, I don't want to open the phone to turn Wifi on/off.
Prepare for something magical...
Ok so this isn't magical, in fact, it's just another .cab that you can remapp a button to, that's what I have done and I just toggle wifi on and off using it. Here is the .cab.
Somewhat related but does anyone know if it's possible to turn the phone off but leave wi-fi on ? If I'm at home, I want to have Skype running and receive calls like general mobile calls. Would also like to be available with Messenger too
C
Download KaiserTweak, it has an option to keep wifi on during standby.
Perfect thanks however .......
Anyone know how I can run Skype and/or WLM in background ? They seem to shut when I click X on them
C
Check you don't have a 3rd party program or HTC task manager set to "close" instead of "minimize" when tapping X.
Hey,
Love Tasker, like love it...but, some of the things I'd like to do, the major ones, just aren't working out....it's probably me not setting them correctly, don't know...
So I need something simple really...
- Come home, turn wifi on, connect, turn mobile data off (would prefer to turn to GSM from WCDMA Auto but not sure if you can without root...)
- Leave home, wifi off, mobile data on...simple in theory...
Have tried locale based (gps) profiles, wifi near, cell locale...to not much avail...if just swaps back and fro, doesn't know whats going on. So I'm just seeing if anyone has been able to do this easily and efficiently...
Cheers.
I recently raised this myself. Basically the issue is that Google no longer allow apps to turn WiFi on or off. As such, that kind of profile won't work.
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
#1- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
#2- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
#3- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
#4- Enable 3G every 30 minutes and then turn off
#5- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
For #2 - Create a task that will be triggered by a Time context. Turning Airplane mode On or Off at specific times and days
For #3 - Create a task that will automatically turn off WiFi if not successfully connected to a WiFi network after say 1 minute
For #4 - From Lollipop onward, android has blocked third party apps to control 3G.
For #5 - Create a task that will be triggered by an event (i.e. starting of an app). Enable GPS upon starting a Navigation app like Google Maps. Add an exit task to turn off GPS when Navigation app was stopped.
During the state that the phone is on airplane mode, you cannot turn On the 3g.
You can see some profile and task examples in tasker settings/browse examples.
farquea said:
I've started playing with Tasker to do a few basic things but the kind of profiles i want to achieve, i'm really struggling to create. If anyone could help me with the following or direct me to a thread that explains how to achieve this, that would be great!
- Disable WiFi/Go into Airplane mode when screen is off and if App 1,2,3 and services are not running, turn WiFi back on/exit Airplane mode when screen comes back on
- Enter Airplane mode at certain times (i've done this) but then at different times on weekends
- Keep WiFi on at home based on cell tower location, and turned off the rest of the time (i've seen someone talking about this previously but can't find it now)
- Enable 3G every 30 minutes and then turn off
- Enable GPS when Maps opens and turn it off when closed
The last part is how to make certain profile supersed others. For example, if i have my phone going into airplane mode at night, how do i then make this ignore the 3G enable/disable profile during the time the Airplane profile is active?
Any help with this would be appreciated!
Click to expand...
Click to collapse
You will need root access to toggle Airplane mode, GPS and Mobile data. It can be done without root though with help of a plugin to Tasker named AutoInput. But if you are new to Tasker this plugin can be a little bit tricky.. Before I rooted my phone I used it myself to toggle GPS to high accuracy when opening Maps and back to Power saving when Maps was closed, also Mobile data ON/OFF when disconnected/connected to Wifi. AutoInput works good but is a ``workaround´´ to access settings that are not allowed by third party applications to use, it opens the menus and do clicks like it would be done by yourself. Not so easy to explain, I would recommend you to visit THIS page to learn more.
If you are are rooted its more easy, you need another Tasker plugin named Secure Settings but its far more easy to use since you only select ``Airplane mode ON´´ or ``GPS high accuracy ON´´ etc. No workarounds needed like with AutoInput.
I have an issue with my Samsung tablet. What happens is, I can have it connected to Wi-Fi for a random amount of time and then once I stop using the tablet and let it go into idle mode or whatever you want to phrase it as more times than not when I try to have it connect back to Wi-Fi the Wi-Fi icon will be on but it will not find any Wi-Fi hotspots or locations even though I am in close proximity to one and the only way to fix this problem is to restart the tablet every single time. I don't know what's causing this how I can fix it I've done a reset on the tablet but all user data still remained so I don't know if anyone else has experienced this or not?
I am having the exact same issue, I have found that if I just toggle the wifi switch it corrects until the next time I put tab down for a while, there is a setting in wifi advanced that that asks if you want to put wifi to sleep when not using. Problem was much worse with that checked off. Since I unchecked tab only won't connect after sitting with screen off for a while. So I assume it has to do with waking up the wifi controller etc.
Hi everyone
I have a profile that that kicks in every 30 mins from 8 am to 9pm, to sync my account. I have set it up to use wifi first, but if there is no wifi connection it will go to my mobile data instead.
Now here is the problem if my phone is on standby it always connects via mobile data regardless of a wifi connection is available. But if I am using my device at the time when the task runs then it will connect to wifi. I have checked my, keep wif on in sleep option and it is set to always.
Could anyone explain as to what this is happening?
Thanks in advance
What is your Android version?
I am currently using a custom rom called exodus which is currently based on marshmallow.
Check if Tasker is excludied from Battery Optimization and whether Wi-Fi is not deactivated while the phone is in sleep mode in Settings/Wi-Fi/Advanced/Keep Wi-Fi on during sleep.
yep tasker is excluded from battery optimisation and the allow wifi during sleep policy is always.
If you're turning wifi on with tasker action wifi turn on, try instead of that shell script "svc wifi enable".
Ok thanks, I will let you know the out come of this. I was using secure settings to enable Wifi as the command built in tasker, is not compatible from kitkat and onwards if I remember correctly.
I found out "svc wifi enable" command does exactly the same thing
Discovered I'm having the very same problem on cm13 and the batch jobs have been done by initialized mobile data. Finally found out a solution to initialize wifi instead of mobile data. I've no limited data plan, but wifi is more battery friendly.
taisto said:
Discovered I'm having the very same problem on cm13 and the batch jobs have been done by initialized mobile data. Finally found out a solution to initialize wifi instead of mobile data. I've no limited data plan, but wifi is more battery friendly.
Click to expand...
Click to collapse
Care to share the solution?
After all this is a community that people use to, find solutions to problems and to get the most out of their device. Which also help others who experience the issue for future reference.
Does anyone else know a solution to this?
HatchetEgg said:
Does anyone else know a solution to this?
Click to expand...
Click to collapse
Do you actually wait for wifi to connect?
Does your phone do the low power screen off wifi thingy?
rignfool said:
Do you actually wait for wifi to connect?
Does your phone do the low power screen off wifi thingy?
Click to expand...
Click to collapse
Yes under normal circumstances it takes about 20 seconds to connect.
No because for some reason my wifi will only switch on if the screen is on.
I also have uninstaled my custom kernel, but this issue still appears from time to time.
There's a setting in wifi connection settings that you can set to that says "keep Wi-Fi on during sleep"
This same setting is often repeated in battery apps like powernap, naptime, better battery saver etc.
Even though the wording is the same, I don't believe they are all touching the same setting so go find those apps if you have them installed.
Also, disable all native battery savers (including Samsung 2 or 3 different ones,, doze, battery optimization etc etc just to see if your problem goes away.... Which it will. At least you'll know though
I have the same problem with Wi-Fi connection.
I have a profile to turn Wi-Fi on and try to connect when certain conditions meet and the screen is off in that case.
It seems that the phone has difficulties turning Wi-Fi on and connecting to it when screen is off. Tasker does manage to turn Wi-Fi on but the phone somehow does not connect *reliably* in all cases.
Tasker is excluded from battery optimization, Wi-Fi on during sleep. I tried turning cpu on for a short time hoping that it will connect, but still no result.
The only possible solution might be turning the screen on briefly at that moment.
If anybody has a better idea, you are more than welcome to share!
alienyd said:
I have the same problem with Wi-Fi connection.
I have a profile to turn Wi-Fi on and try to connect when certain conditions meet and the screen is off in that case.
It seems that the phone has difficulties turning Wi-Fi on and connecting to it when screen is off. Tasker does manage to turn Wi-Fi on but the phone somehow does not connect *reliably* in all cases.
Tasker is excluded from battery optimization, Wi-Fi on during sleep. I tried turning cpu on for a short time hoping that it will connect, but still no result.
The only possible solution might be turning the screen on briefly at that moment.
If anybody has a better idea, you are more than welcome to share!
Click to expand...
Click to collapse
I can certainly say that turning the screen on will enable wifi, as I have resulted to this as well. But unfortunately I do not know any other solutions to try.
loogielv said:
There's a setting in wifi connection settings that you can set to that says "keep Wi-Fi on during sleep"
This same setting is often repeated in battery apps like powernap, naptime, better battery saver etc.
Even though the wording is the same, I don't believe they are all touching the same setting so go find those apps if you have them installed.
Also, disable all native battery savers (including Samsung 2 or 3 different ones,, doze, battery optimization etc etc just to see if your problem goes away.... Which it will. At least you'll know though
Click to expand...
Click to collapse
My Wifi is set to always "keep wifi on during sleep"
I'm going to resort to flashing stock rom again and see if that helps. As I am only using doze and amplify to save battery, all settings for that has been adjusted to the guide I found.
HatchetEgg said:
My Wifi is set to always "keep wifi on during sleep"
I'm going to resort to flashing stock rom again and see if that helps. As I am only using doze and amplify to save battery, all settings for that has been adjusted to the guide I found.
Click to expand...
Click to collapse
Before reflash, just disable xposed and see what you get... I will bet half of this soft taco I'm eating your problem disappears with greenify and or amplify. I'm not saying don't use them at all... Just make sure it works without them. I used to have some serious battery apps, but found after disabling, my battery was IMMENSELY better. And I had no config to deal with. But first things first... IT'S without a doubt, no question, a battery app setting or a system app that's being put to sleep that should be white listed