Hi guys,
I have no data plan, and I use wifi at home. I have a Tasker script that turns wifi on when at home, but turns it off overnight to save battery and avoid cooking my delicate brains. At 6.30am, Tasker switches on wifi and normally the phone would then fetch email etc. whilst sitting on my bedside table, so when I wake up later and check the phone, everything is there waiting.
Recently, this has stopped working. Tasker is switching on wifi as normal, but wifi will not connect whilst the phone is asleep. If I wake the phone, wifi still won't connect however many times I wake it until I unlock the phone. Wifi then connects immediately. I have no problems holding a wifi connection at any other time of the day whilst the phone is asleep, and my wifi sleep policy is set to "never". It is only first thing in the morning I have this issue, so I assume it is related to Tasker switching wifi on whilst the phone is sleeping.
Anyone have any idea what could cause this? I changed from CM7.0.3 to CM7.1.0 recently, but I can't be sure if that coincided with my problems starting.
Thanks.
UPDATE:
I solved my own mystery in the end. I forgot to mention that in Tasker, as well as checking the time I am also doing a "cell near" check. When I remove that check everything work correctly. Tasker help mentions that cell location updates sometimes don't work reliably when the phone is sleeping, and that this is a bug in Android. I can only assume that updating from CM7.0.3 to CM7.1.0 introduced that bug for me.
I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
jackie_jerk said:
I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
Click to expand...
Click to collapse
It's happening to me too, it's very frustrating because when turned on it show as connected while it's false.. and i'm unable to browse/etc without re enabling wifi manually.
Same issue on the One S. This is most likely a driver related problem or something. I think the next firmware update should fix this, but if anyone of you can provide a hotfix or something I wouldn't be sad
Getting the exact same problem.
I have not noticed this so far.
same problem with wifi....and in the nights my Data also gets switched off after sometime of inactivity...couldnt find any setting related to that....do any of you know any hidden setting for it?
Yeah it happening to me as well. It could be kernel related.
Same Here
Mine is opposite, I want it to sleep on screen off but it keeps reverting to always on. Quite frustrating as it is the major cause of my battery loss
Sent from my HTC One X using XDA
Mine uses less battery with wifi on then normal 3g/4g
vallandil said:
Mine uses less battery with wifi on then normal 3g/4g
Click to expand...
Click to collapse
yeah same here, i've tested both over night and less battery used on wi-fi than 3g
I cant connect to my home wifi, it show connected then disconnect immediate
it no usaable now in my house
I just noticed this, too. Really annoying when you suddenly stop getting any notifications for E-Mails etc.
This is also not fixed in 1.28 :/.
I seem to only have this during the night hours, though. Like there is some sort of "Quiet Hours"-function but they forgot to put it in the settings >_<
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Dave Trouser said:
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Click to expand...
Click to collapse
Hello Dave,
Your analysis is quite impressive,
I also started dealing with this from "Special Sleep Mode" perspective.
I have got the FOTA, find data in my signature, and still suffering from the same issue.
To summarize my findings let me brief it:
When I first got the update, the problem seemed to be solved
I kept connected to my home WiFi router for several hours and got notifications from Whatsapp and Twitter
I thought the problem was solved and the bug was fixed, as I kept seeing my OneX on the WiFi Client on my router's managing interface on my PC
I shut down my phone, WiFi was on, and turn it back on
WiFi kicked in and connected with no problems,
An hour after, I sensed something wasn't good, notifications were silenced
I unlocked my phone and checked the status bar to find there were no DATA connections at all, nothing, no WIFi no Mobile Data, the usual bug
Now I started to think,
I Have got this problem after a full shut down, and at a battery below 15%
One thing to add,
I turned my phone off with WiFi enabled and when turned it on WiFi kicked in.
Now I am monitoring on the following basis.
I clicked all WiFi hot spots previously saved on my OneX and chose to "FORGET"
Connected to my preferred hotspot
Monitoring the WIFI, with battery over 15%, seems to be very healthy, more than an hour on sleep mode, and WiFi is on, uninterrupted and VERY CONNECTED
I will keep monitoring the behaviour till battery fall under 15% and will report back
I'll make sure to turn off WiFi before shutting down my phone if I have to, this is to eleminate the other variable and keep concentarting on one variable "Battery percentage"
A point to add:
On my previous Gingerbread SensationXE, there was an option on Settings> Battery to control phone's behavior and stop background sync and other activities when battery fall below a pre-defined percentage.
Default was 15%
I can't find this option on my One X, IceCream Sandwich
That's why I started to analyse the problem from the perspective of "Special Sleep Mode - Below 15%" bahaviour.
I will report back as soon as I have results.
Thank you
Update:
Started to experience same issue when battery falls below 50%.
All DATA gone down, no WiFI and no Mobile Data.
Charged my phone to 73%, "Forget" all WiFi network.
WiFi off
Monitoring Mobile Data only.
Mobile data gone down after 30 minutes sleep mode, 73% battery
Connecting to WiFi, and started monitoring WiFi
WiFi + Mobile Data gone down after 30 minutes.
Power down phone, and then on, 73% Battery, WiFi off
Monitoring Mobile Data only.
Failed, and disconnected
Failure
I've done a Factory Reset !!!
Update:
No problems on WiFi, nor Mobile data whatsoever for the whole day until battery falls below 10% !!!
WiFi disconnected after exactly 15 minutes, Mobile data kicks in, then disconnected as well !!!
I turn on the screen after 20 minutes to find NO DATA CONNECTION of any kind.
Mobile data kicks in, WiFi replaces mobile data, and start receiving all data dependent notifications!!!
I have the same problem, wifi is turned off sometimes when screen is locked.
Pabson said:
I have the same problem, wifi is turned off sometimes when screen is locked.
Click to expand...
Click to collapse
Hello Pabson,
Thanks for sharing.
Would you provide more information about your phone's software number, your location (Region, not specific).
Thanks again.
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Monrad said:
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Click to expand...
Click to collapse
If it happens on every single rom you you installed, then apparently this is a hardware fault.
What "Base" do the Roms, you installed, created on?!
I mean based on what version of RUU?
same problem here.
I mis the "power saving mode" options like in android 2.3
It might idd have something to do with power savings mode kicking in.
Hi guys, I hope some of you are experiencing the same issue and can help me to figure this out. Here it is what is happening.
My WiFi in advanced settings is set up to be always on only when plugged in. So the phone goes to deep sleep, turns off the WiFi and turns on 3G data on network. The problem is after that the phone doesn't pull off messages and push notifications (Gmail, WhatsUp etc) and when I wake up the phone and he connect to WiFi
he is pulling the messages. And that is happening only if I am in range of remembered WiFi network. If I am not in range on some saved WiFi network the 3G data pulling works as it should (pulling the messages as they arrives).
I tried to put the phone in Normal Mode under Power manager but nothing is changing.
So any of you guys noticed something like this?
deep sleep
Same issue...wifi or only 3g either.:crying: no idea and i hate it... i turn off the screen and after 15 min it goes to deep sleep and no notifications but just...once or twice a day....strange. i checked every energy management option but ...dunno.
/sry for bad english/
marilllyo said:
Same issue...wifi or only 3g either.:crying: no idea and i hate it... i turn off the screen and after 15 min it goes to deep sleep and no notifications but just...once or twice a day....strange. i checked every energy management option but ...dunno.
/sry for bad english/
Click to expand...
Click to collapse
update to B125 firmware. Check index thread for download links.
goce.nakov said:
Hi guys, I hope some of you are experiencing the same issue and can help me to figure this out. Here it is what is happening.
My WiFi in advanced settings is set up to be always on only when plugged in. So the phone goes to deep sleep, turns off the WiFi and turns on 3G data on network. The problem is after that the phone doesn't pull off messages and push notifications (Gmail, WhatsUp etc) and when I wake up the phone and he connect to WiFi
he is pulling the messages. And that is happening only if I am in range of remembered WiFi network. If I am not in range on some saved WiFi network the 3G data pulling works as it should (pulling the messages as they arrives).
I tried to put the phone in Normal Mode under Power manager but nothing is changing.
So any of you guys noticed something like this?
Click to expand...
Click to collapse
marilllyo said:
Same issue...wifi or only 3g either.:crying: no idea and i hate it... i turn off the screen and after 15 min it goes to deep sleep and no notifications but just...once or twice a day....strange. i checked every energy management option but ...dunno.
/sry for bad english/
Click to expand...
Click to collapse
warea said:
update to B125 firmware. Check index thread for download links.
Click to expand...
Click to collapse
This happened to me last night, I'm on B512 and it hadn't happened before. Did you ever fix this, @goce.nakov, @marilllyo?
Is this supposed to happen in deep sleep? Unlike your case, my Wi-Fi was off and I always have a good data connection, but I only got the notification when I turned the sreen on, about an hour after the notification were supposed to get to my phone.
Anyone have this issue, on a Verizon phone. I can literally watch my phone turn wifi on.
Ok this is real odd, when I turn on the screen it turns on wifi, connects, then disconnects wifi.. every time. Literally just started happening.
disregard.... my bad somehow Tasker profile for wifi being turned on when location sensed I am home somehow got turned on. I made the profile years ago, imported Tasker into mg G4 and it decided to turn that profile on so I was at a loss for what was going on since I never use said profile.
Hi!
I'm on stock OOS 4.0.3, unrooted. I've noticed a lot of people facing hotspot disconnections even when a device is connected.
I figured out the cause to be the WiFi which periodically switches on, connects to any network if available (in my case my home WiFi), and switches off automatically after about 10-15 seconds. If a hotspot was on, it is turned off and doesn't turn back on.
The only option for me was to resort to using USB tethering. Also, I'm sure it isn't due to any third party application.
Has anyone found a solution to this?
Also, my device suddenly locks itself and asks for password/fingerprint even when I'm using it! Any reports of this happening to others?
Thanks!