WiFi in idle mode problem - wo can confirm it? - Xperia Z Q&A, Help & Troubleshooting

My settings:
STAMINA Mode is turned off
WiFi "Always on during sleep"
Location-based WiFi turned on/off makes no difference.
But the phone doesn't wake up on incoming Skype calls or other voip calls.
Tested on several APs from differeent manufacturers.
It works perfect using a mobiledata connection 3G/LTE.

hugee said:
My settings:
STAMINA Mode is turned off
WiFi "Always on during sleep"
Location-based WiFi turned on/off makes no difference.
But the phone doesn't wake up on incoming Skype calls or other voip calls.
Tested on several APs from differeent manufacturers.
It works perfect using a mobiledata connection 3G/LTE.
Click to expand...
Click to collapse
From my understanding you have to untick / tick wifi and skype from stamina mode the whole point of this mode is to save battery therefore is not a problem! That means is working propely !!!
My xzx will come friday sonycenter UK:silly:<- one day like a month

marcoplo said:
From my understanding you have to untick / tick wifi and skype from stamina mode the whole point of this mode is to save battery therefore is not a problem! That means is working propely !!!
My xzx will come friday sonycenter UK:silly:<- one day like a month
Click to expand...
Click to collapse
As mentioned above, the STAMINA mode is completely deactivated and WiFi is set to "Always on during sleep".

Related

[Q] Widget to enable WiFi only state?

I'm looking for a widget that will turn off my cell phone radio and operate my N1 as WiFi only. Is this possible? I'm traveling overseas and would like to selectively attach to the GSM network, but want to keep the phone on for Wifi.
You could do this with Tasker.. setup a task that turns both airplane mode and wifi on, and create a widget for the task.
Stock power control widget will do it. Turn on airplane mode then wifi.
Sent from my Nexus One using XDA App
It's definitely POSSIBLE. I would suggest just using a widget to turn off 3G, and leave wifi enabled. When I went over my data on my plan, I turned off 3G and it just stayed off for a week, no problems. I'm not really sure you would benefit from anything more complicated.
There are many widgets that will turn off 3G (i.e. data)
pakraider said:
You could do this with Tasker.. setup a task that turns both airplane mode and wifi on, and create a widget for the task.
Click to expand...
Click to collapse
Great idea... I don't have Tasker, but do have Quick Profiles, so built myself a customer widget that turns on Airplane mode, but turns on Wifi... that's what I wanted to do.

Battery Drain = 3G?

One of the big complaints from all published reviews is the lack of battery power - about 4 hours maximum. I have an idea I to present.
I have the T-Mobile version, but I use my S7 at home; in fact I never activated the device on T-Mobile. I think that part of the problem with battery drain is that one cannot turn off the 3G modem. The S7 automatically disables the connection to 3G when the WiFi connects, but the modem is still working (there is still a signal strength on the task bar).
From past experience with phones, that 3G modem drains a lot of power.
Does anyone know of a way to disable the modem itself? I'm not interested in rooting at this point, but maybe there is some setting I am missing?
If you load DJ_Steve's S7 ROM, there is a hack to disable the RIL. That gave me much better battery life.
I just leave mine in airplane mode with no SIM inserted, enable and disable wifi as needed.
First off, what's RIL?
Second, I've also heard that the cellular is trying to connect on the software side. Any truth to this?
I'm wondering how this tab might fare, battery-wise, with it not pinging for a cell signal and 3G (or 4G, depending on the signal you get, or both and only 1x active) off. Can you set it so only one radio is getting play? Also, can you set profiles so that one gets used over the other? Example:
Screen off = 2G only
Screen on = 3G only
Internet apps (such as browser and YouTube) = 4G only
Z4nd4r said:
First off, what's RIL?
Second, I've also heard that the cellular is trying to connect on the software side. Any truth to this?
I'm wondering how this tab might fare, battery-wise, with it not pinging for a cell signal and 3G (or 4G, depending on the signal you get, or both and only 1x active) off. Can you set it so only one radio is getting play? Also, can you set profiles so that one gets used over the other? Example:
Screen off = 2G only
Screen on = 3G only
Internet apps (such as browser and YouTube) = 4G only
Click to expand...
Click to collapse
One of the posts above indicates that he is using a hacked software version, and the battery life is indeed much better without 3G.
Using airplane mode would work if I was only using the device to read books, for example, but I generally use it for online work.
I think the replies confirm my suspicion that the 3G modem is drinking the juice. Not too much of a hassle since I keep it at home next to the charge cable, but (especially with that non standard charge cable) it will not be so good outside the house (unless one is using the T-Mobile 3G, but that takes $$).
daveid said:
I just leave mine in airplane mode with no SIM inserted, enable and disable wifi as needed.
Click to expand...
Click to collapse
I use mine similar to this but I have a sim card in as well. I have a widget for airplane mode and one for wifi on my main home screen. I have airplane mode and wifi enabled most of the time but when I am out and need data (not very often) I just disable airplane mode for a short time.
This works well and the battery life is more like a minor inconvenience.
To do this same thing manually I'm sure juice defender ultimate should work since you could set up profiles for wifi, 2g and 3g (disclaimer: I haven't tested that idea but some people on this forum have juice defender ultimate and might be able to comment)
djUniversal said:
I use mine similar to this but I have a sim card in as well. I have a widget for airplane mode and one for wifi on my main home screen. I have airplane mode and wifi enabled most of the time but when I am out and need data (not very often) I just disable airplane mode for a short time.
This works well and the battery life is more like a minor inconvenience.
To do this same thing manually I'm sure juice defender ultimate should work since you could set up profiles for wifi, 2g and 3g (disclaimer: I haven't tested that idea but some people on this forum have juice defender ultimate and might be able to comment)
Click to expand...
Click to collapse
The problem is that when the WiFi is on, so is the 3g. I confirmed this with my battery widget; 57% of the battery drain was due to the 3g modem IIRC.
stevedebi said:
The problem is that when the WiFi is on, so is the 3g. I confirmed this with my battery widget; 57% of the battery drain was due to the 3g modem IIRC.
Click to expand...
Click to collapse
If you activate wifi by turning airplane mode off then the 3g radio will stay on in the background while you are using wifi.
If you turn on airplane mode then wifi you will only have wifi active. Just make sure that the airplane mode symbol is on in the top right beside the wifi icon.
djUniversal said:
If you activate wifi by turning airplane mode off then the 3g radio will stay on in the background while you are using wifi.
If you turn on airplane mode then wifi you will only have wifi active. Just make sure that the airplane mode symbol is on in the top right beside the wifi icon.
Click to expand...
Click to collapse
Thanks, I will try it tonight! That should improve my battery life a lot. I'll report back.
Wow,
That worked great. I didn't realize that flight mode did not override all radios. Thanks for the tip!
Sent from my Streak 7 via xda app
daveid said:
I just leave mine in airplane mode with no SIM inserted, enable and disable wifi as needed.
Click to expand...
Click to collapse
This has also worked for me with the SIM inserted. I get great sleep times with new OTA upgrade left at default settings and keeping the S7 in airplane mode, unless charging. I only turn on wifi when I need it.
Also very important: if you're using the S7 only with wifi, turn background sync off from the power widget, when you are setting the tablet aside for some time. I believe this is where the battery drain actually occurs. If background sync is left on, the S7 continues to try to update location services and your various accounts, even though airplane mode is on.
I have "slept" the S7 (airplane mode with wifi off and background sync off) when I get to work at about 90% charge and come back to it at the end of the day at 75%, ready for the commute home.
Sent from my ADR6300 using Tapatalk

Wifi does not auto-connect when screen is off

I have a wifi issue that is a little different from other I have read here.
Issue: When my phone screen is off, it will NOT auto-connect to saved Wifi hotspots (eg, home, office) within range, until I wake up the phone (turn on the screen).
When it is connected to the Wifi hotspot, it will keep the connections even when the screen is off. (non issue)
I have set "Keep Wifi on during Sleep" to Always, and set "Sleep mode" to off. "Power Saver" is off too. Mobile data is off (I turn it on only when I need it). I checked battery usage, and Wifi is constantly on, just that it does not connected to the saved Wifi.
My question/issue is, is it normal for the One to not auto-connect to saved Wifi hotspots within range when the screen is off?
On my old HTC EVO 3D running ICS, it will automatically connect to the same hotspots without the need to wake up the phone (turn on the screen).
My One is still using the stock Rogers firmware (1.29.631.4)
UPDATE: I found that this appears to happen only when the screen has been off for a longer time (more than a couple hours). If I have waken the screen up an hour before it entered the saved wifi range, then it seems to auto-connect fine. Need more testings.
BB88 said:
I have a wifi issue that is a little different from other I have read here.
Issue: When my phone screen is off, it will NOT auto-connect to saved Wifi hotspots (eg, home, office) within range, until I wake up the phone (turn on the screen).
When it is connected to the Wifi hotspot, it will keep the connections even when the screen is off. (non issue)
I have set "Keep Wifi on during Sleep" to Always, and set "Sleep mode" to off. "Power Saver" is off too. Mobile data is off (I turn it on only when I need it)
My question/issue is, is it normal for the One to not auto-connect to saved Wifi hotspots within range?
On my old HTC EVO 3D running ICS, it will automatically connect to the same hotspots without the need to wake up the phone (turn on the screen).
My One is still using the stock Rogers firmware (1.29.631.4)
Click to expand...
Click to collapse
I do believe it is normal. It's to conserve power your phone would have to have a wakelock to connect to another network draining power. As I understand it the ONE puts the wifi into a power saving mode when it's not connected so it's not constantly draining your power while driving. Once you wake the screen it will then connect as it assumes you want it.
nullkill said:
I do believe it is normal. It's to conserve power your phone would have to have a wakelock to connect to another network draining power. As I understand it the ONE puts the wifi into a power saving mode when it's not connected so it's not constantly draining your power while driving. Once you wake the screen it will then connect as it assumes you want it.
Click to expand...
Click to collapse
Should that be an option to turn that off, such as the "Wifi Sleep Policy" I saw from some other rom? Or the settings I mentioned above disable that behaviour already?
BB88 said:
Should that be an option to turn that off, such as the "Wifi Sleep Policy" I saw from some other rom? Or the settings I mentioned above disable that behaviour already?
Click to expand...
Click to collapse
Don't think so. The wifi sleep would turn the wifi radio off which isn't happening. Oh quick thought check the network and make sure the phone is set to auto connect that would do it for sure!
nullkill said:
Don't think so. The wifi sleep would turn the wifi radio off which isn't happening. Oh quick thought check the network and make sure the phone is set to auto connect that would do it for sure!
Click to expand...
Click to collapse
What do you mean by network and auto connect?
BB88 said:
What do you mean by network and auto connect?
Click to expand...
Click to collapse
Nevermind isn't there. Maybe I'm thinking of stock android or maybe I'm thinking of another OS.
Can anyone else confirm if this behaviour is normal or not?
So if I don't wake my screen, I will never get any sync when the screen is off and I just get back into wifi range?
BB88 said:
Can anyone else confirm if this behaviour is normal or not?
So if I don't wake my screen, I will never get any sync when the screen is off and I just get back into wifi range?
Click to expand...
Click to collapse
Go into WiFi Settings, Go to the menu and click Advanced. Change "Keep Wi-Fi on during sleep" to "Always".
WiFi will connect with screen off.
nuggstein said:
Go into WiFi Settings, Go to the menu and click Advanced. Change "Keep Wi-Fi on during sleep" to "Always".
WiFi will connect with screen off.
Click to expand...
Click to collapse
As I have indicated in my first post, this has been set to "Always" already. Are you sure that works for you?
What is the phone not doing that you want it to do? Just turn on auto sync if you want your email and FB updates to be waiting for you. Or is that not working?
Quick test. Put your phone to sleep with gmail autosync push mail on. Turn off data and only enable WiFi. Then send yourself an email from a computer, if you get a notification on your phone while it is sleeping, then it is working. Or you can place a voip call with viber or send yourself a viber text from another phone.
Sent from my HTC One using Tapatalk 2
ZircularLogic said:
What is the phone not doing that you want it to do? Just turn on auto sync if you want your email and FB updates to be waiting for you. Or is that not working?
Click to expand...
Click to collapse
It is not auto connecting to the saved Wifi networks when I go to work, or when I go home, with the screen off. I have to wake the phone (press the power button) and you can see that it will connect to the saved Wifi networks. The FB notifications and Whatsapp notifications are pushed, so they don't require auto-sync to be on.
checksum123 said:
Quick test. Put your phone to sleep with gmail autosync push mail on. Turn off data and only enable WiFi. Then send yourself an email from a computer, if you get a notification on your phone while it is sleeping, then it is working. Or you can place a voip call with viber or send yourself a viber text from another phone.
Click to expand...
Click to collapse
If my phone is already connected to the Wifi networks, putting it to sleep will NOT disconnect it from the Wifi network. It only happens when I changed from one saved network to another (home to work, or work to home) with the screen off, then it will not auto-connect. I have tested that and I'm not getting the notification in that situations. I have to wake the phone up to trigger the auto-connect.
BB88 said:
It is not auto connecting to the saved Wifi networks when I go to work, or when I go home, with the screen off. I have to wake the phone (press the power button) and you can see that it will connect to the saved Wifi networks. The FB notifications and Whatsapp notifications are pushed, so they don't require auto-sync to be on.
If my phone is already connected to the Wifi networks, putting it to sleep will NOT disconnect it from the Wifi network. It only happens when I changed from one saved network to another (home to work, or work to home) with the screen off, then it will not auto-connect. I have tested that and I'm not getting the notification in that situations. I have to wake the phone up to trigger the auto-connect.
Click to expand...
Click to collapse
Is your wifi toggle always on? Or do you turn it off once you leave a certain network? The only way the device will auto connect to a saved network, is if the wifi toggle is already turned on before you go near a saved wifi network.
If you want a saved network to automatically turn on wifi and connect to a saved network, you will need some thing like juice defender. It teaches itself to know when you're near a saved wifi network and it will automatically turn on your wifi toggle on and connect to the saved network. Then once you leave the area or lock your device, it will automatically toggle off wifi and disconnect from the wifi network.
Sent from my HTC myTouch 4g using xda premium
coupetastic-droid said:
Is your wifi toggle always on? Or do you turn it off once you leave a certain network? The only way the device will auto connect to a saved network, is if the wifi toggle is already turned on before you go near a saved wifi network.
If you want a saved network to automatically turn on wifi and connect to a saved network, you will need some thing like juice defender. It teaches itself to know when you're near a saved wifi network and it will automatically turn on your wifi toggle on and connect to the saved network. Then once you leave the area or lock your device, it will automatically toggle off wifi and disconnect from the wifi network.
Sent from my HTC myTouch 4g using xda premium
Click to expand...
Click to collapse
Not sure what you mean by "wifi toggle always on". My Wifi (under setting) on the phone is always on. I never turned it off. Under Power History, I can also see that Wifi is always on (un-interrupted blue bar).
I contacted HTC support, and they asked me to change the WiFi band frequency from "Auto" to "2.4GHz" and reboot the phone. It seems to have fixed the problem so far (after a couple days of testing). Although it would have been nice if they can fixed the problem properly.
BB88 said:
I contacted HTC support, and they asked me to change the WiFi band frequency from "Auto" to "2.4GHz" and reboot the phone. It seems to have fixed the problem so far (after a couple days of testing). Although it would have been nice if they can fixed the problem properly.
Click to expand...
Click to collapse
Actually, the problem still exists.
BB88 said:
Actually, the problem still exists.
Click to expand...
Click to collapse
Yeah, I just got the One almost a month ago and seriously thinking of returning it because of this issue. I wish I wouldn't have rooted it because since I did for some reason I can't get ADB to recognize my device. I've tried everything my noob brain can think of to fix it and the wifi issue but nothing works. I see that no other developers have a fix either as no apps or threads here give a solid solution.
I might give AT&T the money to warranty it and just get another device but I want that to be my last resort.
Personally, I think it might be an isolated hardware defect that was addressed with later devices which is why it is not as wide spread and therefore doesn't generate a need to find a workable solution.
---------- Post added at 03:11 AM ---------- Previous post was at 03:10 AM ----------
BTW I've flashed several of the popular roms on XDA to see if that fixed it including Viper and CM but to no avail...
automaddux said:
Yeah, I just got the One almost a month ago and seriously thinking of returning it because of this issue. I wish I wouldn't have rooted it because since I did for some reason I can't get ADB to recognize my device. I've tried everything my noob brain can think of to fix it and the wifi issue but nothing works. I see that no other developers have a fix either as no apps or threads here give a solid solution.
I might give AT&T the money to warranty it and just get another device but I want that to be my last resort.
Personally, I think it might be an isolated hardware defect that was addressed with later devices which is why it is not as wide spread and therefore doesn't generate a need to find a workable solution.
---------- Post added at 03:11 AM ---------- Previous post was at 03:10 AM ----------
BTW I've flashed several of the popular roms on XDA to see if that fixed it including Viper and CM but to no avail...
Click to expand...
Click to collapse
Not sure if I have been using the phone more, or if I have flash new radio (Radio from 2.17 base - 4A.16.3250.24_10.38.1150.03L (flashable Zip) and rom (ARHD), I don't think I have this problem any more.
BB88 said:
Not sure if I have been using the phone more, or if I have flash new radio (Radio from 2.17 base - 4A.16.3250.24_10.38.1150.03L (flashable Zip) and rom (ARHD), I don't think I have this problem any more.
Click to expand...
Click to collapse
can you flash a radio with S-on? I don' wanna try it and brick it. but I have been wanting to see if that fixes it
automaddux said:
can you flash a radio with S-on? I don' wanna try it and brick it. but I have been wanting to see if that fixes it
Click to expand...
Click to collapse
No, I believe you have to be S-Off to do that, or else you need to flash the firmware. Have you trying reinstalling drivers or try on another computer to get ADB to recognise your phone?

Toggle between WiFi and mobile data with tasker

Hello. Does anyone knows how to make a script for tasker which switch mobile data off if WiFi is connected and mobile data back on if there's no WiFi connection? For the last 3 or 4 hours I'm searching for this and can't find nothing.
Also, I want if there's no WiFi network, to switch WiFi off (so mobile data will be turned on).
I managed to do something, but it didn't worked. When I enabled the profiles with WiFi and mobile data both turned on, the mobile data turned off, then WiFi off, then mobile data on and so on, in a loop.
Wouldn't that be redundant? The os already does that.
Sent from my Nexus 7 using Tapatalk
Thanks for the response. I know that if WiFi is connected, I'm using the internet from it, but mobile data is still active, right? Even if there's no traffic from mobile data, that's still on. Wouldn't that be a source of battery drain?
I set my data to turn off if my phone is connected for 5 minutes to a wifi. Important: set collision handling to 'abort existing task'.
Here you got pictures.
Edit:
if you are further interested in battery savings, you can read my thread "[BATTERY LIFE] How to get up to 7+h of screen-on-time"
This is absolutely redundant and unnecesary, when the phone connects to a wifi, it disables 3g/LTE data connection by itself. When you connect to a wifi you can see how the 3g/H/H+ icon above radio signal dissapears. The radio chip inside this phones can be used in Wifi mode or 3g/4g mode for data connection, but not both at a time. It is technically not possible.
Accidentally sent from my Xperia Z using Tapatalk
RoberM said:
This is absolutely redundant and unnecesary, when the phone connects to a wifi, it disables 3g/LTE data connection by itself. When you connect to a wifi you can see how the 3g/H/H+ icon above radio signal dissapears. The radio chip inside this phones can be used in Wifi mode or 3g/4g mode for data connection, but not both at a time. It is technically not possible.
Click to expand...
Click to collapse
The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery
So I deactivate data after 5 mins automatically via tasker and turn it on manually when I need it (could also automate that, but I'm lazy). This way I circumvent all these battery drains
Additionally:
Under normal circumstances I'd also set wifi to "turn off if not connected" (in settings) and "optimize wifi for battery life", but I use a custom stock kernel that has issues with these settings so I need to leave wifi on all day
sea2605 said:
The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery
So I deactivate data after 5 mins automatically via tasker and turn it on manually when I need it (could also automate that, but I'm lazy). This way I circumvent all these battery drains
Additionally:
Under normal circumstances I'd also set wifi to "turn off if not connected" (in settings) and "optimize wifi for battery life", but I use a custom stock kernel that has issues with these settings so I need to leave wifi on all day
Click to expand...
Click to collapse
Umm, ok... But this has nothing to do with what the OP asked, or what I said.
You may try e-robot from play store.
I have a command for that, after wifi disconnects, wait for 30 sec. If still wifi is not connected, automaticcaly disables wifi.
Same as for bluetooth. When i leave my phone in my desk and gone for a while, 60 sec later disable bt.
You can do what ever you want.
Sent from my C6603 using Tapatalk

A wifi conundrum (unsolved)

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

Categories

Resources