WIFI will not go to sleep, need some help! - HTC Sensation

My phone for some reason stopped letting WIFI go to sleep after the 15 mintues period where the phone takes to go to sleep.
I tried changing the wifi poliacy but still no go. I reflashed the faux kernal, reflashed the rom. Still the problem presists. I also turned off auto app sync, still nothing.
Running ARHD 6.6.7, with faux latest kernal.
I left my phone over night and the only thing that was running all night was WIFI and it drained my battery by almost half. (I used betterbatterystats)
Any tips on how to fix this please point me to it!

Try to install this https://play.google.com/store/apps/details?id=com.logicvoid.powersaversettings this is hidden powersaving setting. There is a setting TurnOff Wifi if not connected. GL

darkmantra said:
Try to install this https://play.google.com/store/apps/details?id=com.logicvoid.powersaversettings this is hidden powersaving setting. There is a setting TurnOff Wifi if not connected. GL
Click to expand...
Click to collapse
Tried that, didn't work.
The thing is I am connected to my home network, and the phone goes to sleep fine but wifi doesn't go to sleep with it and stays on.

Its working on my phone, maybe u should try ask to your rom thread.
Sent from my HTC Sensation XE with Beats Audio Z715e using XDA

I can't remember if this still applies but the WiFi settings on ARHD were reverse at one point. So turn off after 15 mins actually meant it would never sleep and vice versa.
You may want to try the never sleep setting.

Related

Wifi not turning off after screen is off

My rule for wifi is to turn off when screen if off. I notice that my mail is still coming thru when the screen is off.
I'm getting a lot of battery drain. Anyone know what I can do to solve this issue?
What do you guys use for the rule of wifi to reduce battery?
what rom/kernel are you using (you should always mention thse when asking a question like this fyi). revolver just fixed this problem yesterday, try updting your rom/kernel....
I'm using the latest stock rom..I think 3.2?
How do you update the stock rom or solve this issue?
Root and flash a custom rom. Revolver 3.2.1 fixed this issue i think...
Sent from my TBolt using my f***king thumbs...
I am on stock 3.2 and no problems. Have you checked the battery info. That is the best time to check how much time the TF has been on and how much time wifi has been on.
It's true that wifi doesn't disconnect as soon as screen goes off. It maybe takes some minutes for wifi to actually go off. Also, if I am using any app that uses wifi (like radio streaming), wifi won't turn off.
Anywy, most of the time wifi will go out just a couple of minutes after screen goes off. Check settings, running apps and battery stats.
Regards.
The stock rom is set to time out 10 minutes after the screen is turned off I believe. The revolver rom now has an option in revolver parts to set how long till the wifi is disabled.
There are several apps that keep wireless and/or GPS alive after screen is off. This is due to the way the OS handles apps after you stop using them. Try turning off TF then restart and without running any apps, let is sleep. Then check to see if wireless went off.
same issue
Hey, I'm having a similar issue.
I'm on a B70 running revolver 3.11 and a stock kernel and I've noticed my wifi intermittently toggles the disconnect policy to "never" instead of "when screen is turned off".
I thought it was part of the custom wifi timeout from revolver parts but according to battery usage in settings (and massive battery drain) the wifi isn't actually being switched off when the device isn't in use (tablet idle rarely shows top of the list).
I've tried flashing new roms and kernels but haven't been able to work out the specific cause of the problem or how to fix it. I would have posted in the revolver discussion to find out how the wifi timeout is managed as this might have given a clue but alas I am a noob
Waffles
Honeycomb is not good at keeping wifi off with the screen when other apps request a connection
Grab "Auto Airplane Mode - by Don" from the market free and it does exactly that, screen off = radios off, screen on = radios on
Well my TF wifi off with screen off work except it work too good.
It work but after it goes to deep sleep it does not want to turn back on ( would need a reboot of TF for it to work again) so I set Wifi sleep policy to never and use Auto Airplane Mode.
Prime 2.1.1 w/ Prime OC kernel
*Detection* said:
Honeycomb is not good at keeping wifi off with the screen when other apps request a connection
Grab "Auto Airplane Mode - by Don" from the market free and it does exactly that, screen off = radios off, screen on = radios on
Click to expand...
Click to collapse
Downloaded this app and it works a treat. I'm a bit anal so I'll keep trying to investigate why the system isn't doing what it should but its nice to have something to save the battery in the meantime.

turning wifi automatically off

I have tried a few auto turn off apps on my transformer while screen is off but WIFI still stays on. These Apps work well on My Samsung galaxy.
Another thing I noticed is that everytime I set the WIFI disconnect policy to turn off wifi when screen is off. The setting goes back to "never". Not sure how it gets reset, and maybe thats why these apps do not work.
Any ideas?
revolver parts wit revolver rom, the revolver parts app let you turn of wifi automatic
I am on stock rom for now, until I read thru all of the forum and get comfortable with switching rom. I am rooted atleast and have CWM installed.
So is there any other app?
Auto airplane mode from the market. It turned off for me.
Try with Tasker
will try auto airplane mode but I need something that turns off wifi when screen goes off.
Also, afraid to buy tasker before I know it works.
evrionis said:
will try auto airplane mode but I need something that turns off wifi when screen goes off.
Also, afraid to buy tasker before I know it works.
Click to expand...
Click to collapse
Auto Airplane Mode will turn WiFi off when screen shut off.
I use it, work great. The one I use for some reason is not in the market any more
but there are others.
TRIED auto airplane and did not work.
I think the issue is that something always changes the setting to never turn wifi off . Instead of what I keep on setting it to disable wifi when screen is off.
Is there a app that is changing the wifi policy settings>?
green power app fixed my problem. found this out in another thread.
I'm using tasker with a profile to turn airplane mode on 5 minutes after display goes down. It doesn't sleep if there are certain apps which require internet connection (tunein radio for example) and turns off airplane mode for 1 minute every 30 minutes.
I'd never used tasker before, i own an Android phone too, but i found it simply amazing!
Seems like you have an app that wants to keep wifi on. If I were you, I'd try to get to the bottom of this and figure out which app is causing this issue to occur. In fact, the culprit sounds fishy.

[Q] WiFi Sleep Policy

My WiFI Sleep Policy is set to default (After 15 min) however the WiFi is always on. The icon is there when I turn my screen on. Checked the battery usage graph also, and WiFi is always on (as long as I don't turn if off manually).
I have a stock ROM, the latest European stock ROM.
Is this a bug? What does 'After 15 min' actually mean?
I believe it means the wifi will turn off 15 minutes after the screen goes off, and then back on with screen on.
I thought so too, but mine isn't doint that.
teomor said:
I thought so too, but mine isn't doint that.
Click to expand...
Click to collapse
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
teomor said:
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
Click to expand...
Click to collapse
Lol, same upgrade here. TBH I've left it at Never and not tried the other policies.
I use WiFi when at home, I'm on a 3G data plan ( I'm guessing WiFi sleeping means I wouldn't get updated Gmail. Or does it revert back to 3G ?
WiFi sleeping means going back to 3G, yes.
teomor said:
WiFi sleeping means going back to 3G, yes.
Click to expand...
Click to collapse
Thanks, might just try it and see.
Does anyone think that instead of going to sleep after 15 minutes of the screen being turned off (regardless of whether there are background apps that have active internet connections), the WiFi actually starts sleeping after 15 minutes of idle time? I think this would be a better efficiency algorithm, so, as long as you have apps that constantly use the internet, keep WiFi connected, but when no apps are doing auto-sync or any background data, only turn on WiFi when manually using the apps..
Applications can be programmed to call for a WiFi lock. If any active application does so, WiFi won't shut off when the phone is asleep.
gol_n_dal said:
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
Click to expand...
Click to collapse
I remember that old tips thread. It was set your wifi sleep policy to never. Install spare parts+ or pro and set end button behaviour to sleep. And something to do with Market app. Settings->notifications-> uncheck the box. For some reason market notifications were not allowing your phone to go to sleep properly or some garbage like that. Its worth a shot.

ICS Wifi stays on while on sleep

Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
From my experience, wifi stays on for a little while longer after device sleeps. However, some apps in background may trigger wifi back on again. So I turn off wifi when i go to bed. Actually i notice wifi itself will not drain much battery, 1-2% for 10hr. It's the host apps sucking the juice.
I am not an expert though.
OK i've also checked it out and as you said wifi turns off after some time. My main problem now is that my battery life won't last more than 3-4 hours on wifi.
I have posted my battery stats with use of web browsing and watching pictures on gallery...
jimgeroul said:
My main problem now is that my battery life won't last more than 3-4 hours on wifi.
Click to expand...
Click to collapse
What do you mean "no more than 3-4 hours"? In your battery chart, you can get more than that even starting from 75% battery.
What I wanted to say is that I think my battery won't last more than 4 hours with wifi on and some serious usage.. from my stats as I can see I've been using it 5 hours but I only had screen on and browsing the web. I think there will be a huge difference if I am watching a movie or playing a game.. I don't have the time to check it now but I will post my results in some days..
According to my previous battery graph do you see any problem or something less from what your Xoom battery holds? Does this battery drain seems normal to you?
jimgeroul said:
Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
Click to expand...
Click to collapse
I think you'll find it will stay on for about 15 minutes. There is some setting in a system database (using a sqlite editor) that can be changed to bring this down. I doubt Wifi is what's draining your battery. Are you synching email via activesync or running other stuff in the background?
I am only using my yahoo mail from the EMail app. I don't know if it uses activesync. I have set it to check emails every 30minutes.
wifi not turning off
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
lazers378 said:
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
Click to expand...
Click to collapse
My guess:
1) Always: WIFI always on no matter awake or asleep
2) Only when plugged in: WIFI always on only when plugged to power
3) Never: WIFI will be off if asleep (my current setting)
That was it
invidious07 said:
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
Click to expand...
Click to collapse
Thanks, I had not seen the option to turn wifi off during sleep.
--Doug
Bear in mind that (irritatingly) applications can seemingly change this setting.
cspiby said:
Bear in mind that (irritatingly) applications can seemingly change this setting.
Click to expand...
Click to collapse
For an app to change wifi sleep policy, it needs the WRITE_SETTINGS permission.

[Q] WiFi issue at night

Hi, I currently run Android Revolution HD 6.6.5 with Faux kernel for ICS v6 - recently I have noticed that after midnight if I leave the phone for some time all my data connections switch off (WiFi and mobile data). As soon as I unlock the screen they turn back on and work for around 15 minutes or so after screen goes back off then they turn off again. I have WiFi set to Never turn off and have tried toggling the setting. Is there something I'm missing as it never does it in the daytime, only through the night and only if not on the charger?
I have tried setting WiFi to FAST in a Terminal as I saw Faux had added a power saving setting in v6 which I don't need.
Then it's in the kernel, the power saving option is making it do that. Perhaps wipe re flash, and choose a different kernel. One without the power save in it. Hope this helps.
Sent from my Sensation 4G using xda premium
Not sure if it's still the case but on Sense 3.6 ICS releases the WiFi sleep policy was reversed i.e. never turn off was turn off after 15 minutes and vice versa.
k0zmic said:
Not sure if it's still the case but on Sense 3.6 ICS releases the WiFi sleep policy was reversed i.e. never turn off was turn off after 15 minutes and vice versa.
Click to expand...
Click to collapse
Aah, I will try setting it to 'After 15 minutes' to see if that makes a difference. Strange it only happens late at night though
This happens to me too.
I am on ARHD 6.6.7 with Bricked 1.1. My wi-fi also will turn off during the most of the night. If I leave it idle during the day wi-fi stays on, so it seems like there is some kind of power saving set to turn off wi-fi at night hours.
I will add that I had the same problem when I used the Faux kernel.
Anyone else have the same problem?
I came to this forum for the exact same reason, my wifi AND mobile internet shut down during 0 and 7a.m. after 15 minutes of inactivity.
Turns out it is a software related problem, HTC messed up with its ICS battery saving feature which can NOT be controlled in the system settings. For some strange reason it only affects a few users tho.
Anyhow, the forum search gave me the solution. What you need is the SmartSyncDisabler app from the play store. Install, set to disable ActiveSync and REBOOT your device.
Original thread: http://forum.xda-developers.com/showthread.php?t=1590884
App: https://play.google.com/store/apps/details?id=com.j4n87.smartsyncdisabler
Totally made my day (or rather night) to find this.

Categories

Resources