wifi goes sleep even setting policy to "Always On" - HTC One X

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.

Related

Wifi Setting switching itself off?

Hey,
I've noticed my wifi keeps getting set to "off" seemingly at random. It works fine when it's on, however a few times a day, I'd find that the wifi switched itself off (even while in range of a working wifi signal, say even if left at home on a table all day) and I'd have to reenable it via the communications settings screen.
It's somewhat annoying and chews up my mobile internet when I don't noticed wifi's off.
Anyone else have a fix/noticed this?
Thanks !
It usually goes off when the device enters standby. Have a look into this thread for how to keep it on in standby mode. Beware that this might eat your battery http://forum.xda-developers.com/showthread.php?t=524490
Kork said:
It usually goes off when the device enters standby. Have a look into this thread for how to keep it on in standby mode. Beware that this might eat your battery http://forum.xda-developers.com/showthread.php?t=524490
Click to expand...
Click to collapse
Ah I read that but I think you misunderstand what I meant, I know it goes off during standby, however when it comes out of standby, WiFi should automatically renable itself, which it does - sometimes.
I believe I figured out what the problem is, whenever I plug the TP2 into my PC, it uses my PC's net connection(?) and disables WiFi. When I remove the phone form the PC, it doesnt restart Wifi.
Any fix on that?

Wifi drains too much battery?

I've bought Desire 4 days ago.
I've been running in some battery problems a lot. I've heard that battery should have 4-5 full draining and charging before having its max capacity, but I have a life span of about 16-20 hours of battery with Wi-Fi on.
How i found out that: Yesterday I went to the country and messed around with my gps and navigation (never used one, so felt like a little child with a brand new shiny toy). So the battery went dead and i charged it almost full. When i got home i turned the wifi on. Didn't manage to connect to my home network, due to Android still not supporting Ad-Hoc networks (sharing through my notebook) so i didn't bother more and used my data plan, but forgot to turn off the wifi.
In about 2 hours, the battery was nearly 60% from 90. When i went to see what's draining the battery I saw it was the Wifi. I turned it off and since last night, up to now (about 14 hours) the battery is 50% (only 10 percent for 14 hours).
Is there any way to make the phone not scan so agressively for Wifi when it's on ? I'm comming from iphone and it didn't matter too much if i had my wifi on or off there.
First of all, what you're experiencing is normal.
In fact, dropping only 30% with 2 straight hrs of heavy use is actually quite impressive.
If you don't want your device to scan for wifi, turn it off. Simple as that. Keep the WiFi setting widget on one of your homescreens for easy access.
It wasn't heavy use I killed all apps and left it there. 30% are just from WiFi scanning.
I know I must turn off wifi, i have the widgy button, but sometimes i just forget i have to shut it down. (Though that's a bit killing, since i didn't have to do this on my iPhone. Actually this is the only shortcoming i can think of now, great phone. Seems i have to get used to killing extra stuff )
Sadly i couldn't find an option to tell it to scan on rarer occasion, just to help absent-minded people like me.
Try downloading "Y5 - Battery Saver" from the Market.
It automatically switches WiFi on and off depending on your location (as determined by cell location, not GPS).
It allows you to leave WiFi in locations where you know you have WiFi, and automatically switches it off when you leave those locations.
I've installed it, but not exhaustively tested as yet as I've not really been out of WiFi coverage since I installed it.
Regards,
Dave
Try getting the WiFi On/Off widget from the market.
It lets you turn off the WiFi with one touch. Will save you a lot of battery when not using it.
@Gana1991 - i've already noted that i have the widget (no need to download from market)
@foxmeister - thanks, i will try that. (I have been secretly thinking about some app with this function )
indeed, there is a WIFI widget builtin.
If you really want another widget, check the WiFi Toggle by "JQ Soft", nice design.
The Y5-Battery Saver is nice....it seems to work properly.
But i am affraid it was causing some problems here, so i uninstalled.
I will reinstall and do some more tests.
WI-FI usage is actually much better than using the network which drains the battery more.
But deffo only have on when using, not all the time.
Or you'd use the standard HTC energy widged or the android wifi switch wich can be found @ widged -> settings -> wifi
Put the HTC battery widget on the screen, not only does it show what % you have left but selecting the widget pops up a small menu where you can adjust display, turn on /off WiFi, GPS and Bluetooth, vey handy indeed
I leave my WiFi on all the time at home because of the data constantly changing between G/3G it drains the battery amazingly fast. leaving WiFi on helps me save battery and keep a data connection. I took my phone off charge at 9 this morning, WiFi has been enabled all day and I have 80% battery.
once the battery has had a week or 2 of charging it will run loads better. also charging with the phone switched off gets you a bit more juice because of a firmware problem.
Software Guru said:
Put the HTC battery widget on the screen, not only does it show what % you have left but selecting the widget pops up a small menu where you can adjust display, turn on /off WiFi, GPS and Bluetooth, vey handy indeed
Click to expand...
Click to collapse
Where is this battery widget? I cant find it anywhere.
Oops, didnt know i had to look for it on the market. Found it.
Go settings, wifi, menu button and this brings up advanced settings. From there you can disable wifi after 15 mins of inactivity. When the phone wakes wifi kicks in. I have data turned off, wifi turned off, but if I forget to turn wifi off after using it, it's not too bad as it will be deactivated.
What's that widget called? All I can find is the power widget.
Ok found it
Only seems to be a meter though, no adjustments?
Go settings, wifi, then WiFi settings, then press the menu button,. From their you can select advanced WiFi settings.
When i got home i turned the wifi on. Didn't manage to connect to my home network, due to Android still not supporting Ad-Hoc networks (sharing through my notebook) so i didn't bother more and used my data plan, but forgot to turn off the wifi.
Click to expand...
Click to collapse
If you were using your data plan then your wifi wouldn't be on as the phone turns it off when your connected via 3G, it only uses one or the other not both at the same time.
That's the way it is on my Desire.
I've not used WiFi at all today yet apparently its consumed 25% of my battery. I've got it switched off via widget and its also set to disable after 15 minutes of inactivity.
Any thoughts?
thanks for any help
It's just occurred to me that perhaps the percentages run and run and are not reset after a charge?
Anyone know how it works?

Wifi turning off itself?!

Hey guys,
need some help with my htc desire. Just bhought it couple of days back. Everything worked good, until today, as wifi turned itself off after 10-15 min on standby and automatically connects to 3G instead. Even if i turn on the wifi, it will say that the wifi is on, but its not actually connected I have to restart the phone for it to connect with wifi again. And the same thing goes over and over again. Has this happened to anyone?
Please help! :S
I have the orignal firmware, not rooted.
Sort of happening to me too, but after the phone is asleep for long periods, like overnight.
For the past few days, I leave it with WiFi on when I go to sleep, I wake up and WiFi was off. I switch it back on and the phone doesn't seem to use wifi, or it does but just hangs.
Only started happening after the last hard reset, was working fine before that.
I do have the sleep after 15mins setting on, but obviously that shouldnt switch off the wifi, just let it sleeps and should reconnect after waking up.
Waiting for a exchange for another phone due to another issue, but will keep an eye on this, might be the Setting Profile app I've installed that's causing the issue.
My wifi switched off by itself after going standby for sometime.
After I wake up the phone, it will reconnect to the wifi. Not sure if there's app to prevent the wifi from going into standby though.
myth1001 said:
My wifi switched off by itself after going standby for sometime.
After I wake up the phone, it will reconnect to the wifi. Not sure if there's app to prevent the wifi from going into standby though.
Click to expand...
Click to collapse
I have been using the phone for 6 days now, before this my phone could be on wifi all night, and when turned on in the morning the wifi will still be connected. Its strange this should happen now. I installed juicedefender yesterday and than uninstalled it again after trying it..might this has affected my wifi settings.
That's weird. I did installed Juice Defender and uninstalled it as well. Not sure if that's the cause. will do some search and see what I can find out.
FOUND!
We can actually control the Wifi Sleep policy by going to Settings> Wireless & Networks> Wifi Settings> Menu >Advanced> Wifi sleep policy!
Change it to never and it should work as before.
myth1001 said:
FOUND!
We can actually control the Wifi Sleep policy by going to Settings> Wireless & Networks> Wifi Settings> Menu >Advanced> Wifi sleep policy!
Change it to never and it should work as before.
Click to expand...
Click to collapse
Yes, I know about that setting, but once you wake up the phone, it should wake the wifi and it should reconnect. This is not happening, and in some cases it does switch back on and connects, but doesn't get onto the internet. Seems the phone is still trying to use the cellular network.
Leave it on all the time eats up battery, so rather have it on sleep after 15mins
myth1001 said:
FOUND!
We can actually control the Wifi Sleep policy by going to Settings> Wireless & Networks> Wifi Settings> Menu >Advanced> Wifi sleep policy!
Change it to never and it should work as before.
Click to expand...
Click to collapse
wow..ur fast..thanks! will try out this..and see until tomorrow if my phone is still shifting from 3g and wifi all the time
edit: yup..this was the reason. So now my wifi is connected 24/7 very happy for this as when it switched off before it started to use my 3G..i dont have unlimited plan so why pay for addional when u can use wifi at home

[SOLVED] Sleeping phone won't connect wifi when enabled by Tasker

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.

Battery Savings - WiFi Sleep Policy

Edit: Use at your own risk, it worked for me but people seem to be saying it's not true.
I figured I would share this tip because it worked so well for me. When I first got the Nexus and connected it to my WiFi, the battery was draining at an absurd rate, even at idle. I want to use WiFi because we don't have LTE out here, so turning it on and off was a pain. Then I remembered the Sleep Policy, and there it was set to keep the WiFi on, even during sleep. I'm assuming Verizon did this to help reduce congestion on their network and save them money. After changing this to "only when plugged in" my battery graph at idle flatlined.
Hopefully it will help someone else!
Steps:
1. Settings
2. Wifi
3. Menu -> Advanced
4. Keep WiFi on during sleep
5. Pick an option best for you. I chose Only when plugged in.
From what I have read, keep wifi on during sleep was always the most power efficient. Maybe you have a weak wifi signal?
I'd like to hear what other people have to say on this one.
That's definitely interesting to hear. I'm usually one floor away from my wireless-N router which yields 3 or 4 out of 4 bars consistently. I guess I'll have to see if this works for anyone else then.
This is wrong.
You should set it to Always.
http://www.androidcentral.com/android-101-save-battery-keeping-wifi-alive
Because initiating wifi connection every time you turn on your phone will consume more power.
compywiz said:
I figured I would share this tip because it worked so well for me. When I first got the Nexus and connected it to my WiFi, the battery was draining at an absurd rate, even at idle. I want to use WiFi because we don't have LTE out here, so turning it on and off was a pain. Then I remembered the Sleep Policy, and there it was set to keep the WiFi on, even during sleep. I'm assuming Verizon did this to help reduce congestion on their network and save them money. After changing this to "only when plugged in" my battery graph at idle flatlined.
Hopefully it will help someone else!
Steps:
1. Settings
2. Wifi
3. Menu -> Advanced
4. Keep WiFi on during sleep
5. Pick an option best for you. I chose Only when plugged in.
Click to expand...
Click to collapse
Well it significantly reduced my idle battery use (like at night), so I'll put a warning at the top but I'll keep mine the same.
I guess you haven't turned on the mobile data cause if you do, then this consumes more power than wifi for sure.
Sent from my Galaxy Nexus
Generally, radio management on the Nexus sucks. I want a setting where if it's in standby, ALL RADIOS ARE OFF except for base phone and text messaging. So this helps a little.
Sure, it uses more power initially to turn whatever on, but no where near as much if you don't use your phone for hours, and don't constantly need to be in sync with everything (like when you're at a computer all day, and you can check your gmail, yahoo mail, have gchat and skype and whatever).
I'd even like a setting policy which only turns on data or wifi when you have an app open that uses them.
I may be using my "phone" (my wife said about her Stratosphere, "I forgot I could use this thing as a phone") differently than most people with smartphones. I need it to be my computer and social device when I'm away from a computer, and only when I take it out of my pocket and turn it on.
Wifi set to always on, while at home. Slept for 9 hours, went down from 100% to 94%
andy2na said:
Wifi set to always on, while at home. Slept for 9 hours, went down from 100% to 94%
Click to expand...
Click to collapse
Same here, with WLAN on my Nexus Prime drops about 6% over night.
Interestingly I just lost about 10% in 2 hours with the phone in stand-by but then I remembered I had to change my IP ~7 times in this time frame which likely caused a lot of WLAN activity and used up quite some energy.

Categories

Resources