Wifi keeps turning off during sleep...? - Nexus 7 General

Wifi keeps turning off during sleep...?
.. and yes, I've turned 'Keep Wi-Fi on during sleep' to always. Tried a couple of 'keep wifi on' type apps, no help. Any thoughts? thanks, jf

friedsonjm said:
Wifi keeps turning off during sleep...?
.. and yes, I've turned 'Keep Wi-Fi on during sleep' to always. Tried a couple of 'keep wifi on' type apps, no help. Any thoughts? thanks, jf
Click to expand...
Click to collapse
Mine does to, but I don't have it set to "always", since I kind of prefer it that way. I'll give it a shot to see what the results are. Do you notice any difference between the two settings, as far as how long it stays active and on?

phonic said:
Mine does to, but I don't have it set to "always", since I kind of prefer it that way. I'll give it a shot to see what the results are. Do you notice any difference between the two settings, as far as how long it stays active and on?
Click to expand...
Click to collapse
Have not tried the 'when plugged in only,' will try it now..
EDIT: Nope, that was no better.. <sigh>

friedsonjm said:
Have not tried the 'when plugged in only,' will try it now..
EDIT: Nope, that was no better.. <sigh>
Click to expand...
Click to collapse
31 Minutes on hold - so far - with Google device support...<sigh>

friedsonjm said:
31 Minutes on hold - so far - with Google device support...<sigh>
Click to expand...
Click to collapse
FYI - "Always on" seems to be working fine for me. I turned my screen off about an hour ago, and just connected into the system via Cerberus. In the past, wifi would have shut off within a few minutes and I would get a connection timeout warning. So maybe your unit is having issues with it. I've also only lost MAYBE 1% in battery power, so I think I will leave mine in this state as opposed to disabling wifi on sleep.

I have this problem on some of my devices on 1 of my wife access points but not the other. I believe I could possibly tweak some settings on the access point as I don't believe it is the android device. I use an app called WIFI Fixer and that keeps things working.

friedsonjm said:
Wifi keeps turning off during sleep...?
.. and yes, I've turned 'Keep Wi-Fi on during sleep' to always. Tried a couple of 'keep wifi on' type apps, no help. Any thoughts? thanks, jf
Click to expand...
Click to collapse
Happening on multiple devices. Try advanced WiFi lock on the market. Its one of the first apk's I install and always works.
Sent from My Ball of Fireā„¢

SirWill said:
I have this problem on some of my devices on 1 of my wife access points but not the other. I believe I could possibly tweak some settings on the access point as I don't believe it is the android device. I use an app called WIFI Fixer and that keeps things working.
Click to expand...
Click to collapse
Seemed to work for a while last night... but woke up this morning and it was off again <sigh>.

Does keeping wifi "always on" adversely affect your battery?

clankfu said:
Does keeping wifi "always on" adversely affect your battery?
Click to expand...
Click to collapse
Yes. How much depends on how many apps you have set for auto-updates, I suppose. If you're running several games and social networking apps and they're set for auto-updates, you'll experience a battery drain from them checking for updates every 5 minutes. How much, I can't say. I still don't have my Nexus 7. But if your device drops off the WiFi signal, those apps will know that there is no data connection and not try to update until there is one.

Not to change the subject of the thread, but if I see one more <sigh> I'm going to snap.
Also, OP, why do you need WiFi to be always on? If you can't live without it try: http://bit.ly/MdurdU

As I mentioned, "always on" is working fine for me. Tested it over a period of a few hours. Even moved from one AP to another (ie: work to home), and it auto joined the new wlan.
Battery drain is very minimal in my case. Maybe 0.5-1% an hour, if that.

Yeah but then the apps can't update. IMHO, if you don't want constantly-updating apps, don't enable them to.. If they are checking as often as you think, I would find a different app which gives you what you want but doesn't do that sillyness..
I keep Wi-Fi on 24/7 on all my devices. GPS and BlueTooth too.
I *REFUSE* to let my device "run my life". I find a way to make my battery life happy, and still enjoy my devices. I disable all of the other senseless crap like Facebook or FriendStream, or bloatware-apps.. I don't EVER use an app like ATK or JuiceDefender, or if I do, I only use it instantly to kill an app and then I make it kill itself too. In my 3+ years experience with Android and 30+ devices, I've found that a LOT of apps will TRY to restart even if you kill them. Imagine ATK killing an app, it restarting, ATK auto-killing it again, it restarting again, ATK re-killing it AGAIN, loop()... get my point? Uninstall the problem app and/or find a similar one which doesn't treat your device like it's own playground..

miketoasty said:
Not to change the subject of the thread, but if I see one more <sigh> I'm going to snap.
Also, OP, why do you need WiFi to be always on? If you can't live without it try: http://bit.ly/MdurdU
Click to expand...
Click to collapse
,,
I want to use my table as a phone via VOIP when I travel, need to get incoming 'phone' calls.
That app is coming across in play as not compatible with the N7 ? <darn> <grin?>

I use my Nexus 7 as a speaker phone so had to set "Keep Wi-Fi on during sleep" to "Always". Easy fix.

mi7chy said:
I use my Nexus 7 as a speaker phone so had to set "Keep Wi-Fi on during sleep" to "Always". Easy fix.
Click to expand...
Click to collapse
Yes... and as I said in the post that started this thread, on my N7, it still turns off.... easy, but no fix.

friedsonjm said:
Yes... and as I said in the post that started this thread, on my N7, it still turns off.... easy, but no fix.
Click to expand...
Click to collapse
Now rooted and still trying... still keeps auto-turning-off !

This might be a defect in your units. I have gone many, many hours (12+) with my unit in standby mode without it losing wifi connection. It will also continue to sync with email, etc. during this time (and provide audio notifications).
I only lose .5-1%/hour, so I've left it "always on".

I'm having the same issue. On overnight sleep, the wifi is off when I turn it on. It won't reconnect until I toggle wifi on and off. Nothing I've tried so far has worked. Little worried its not as widespread of an issue as I thought it would be.

ssahnan said:
I'm having the same issue. On overnight sleep, the wifi is off when I turn it on. It won't reconnect until I toggle wifi on and off. Nothing I've tried so far has worked. Little worried its not as widespread of an issue as I thought it would be.
Click to expand...
Click to collapse
Since mine has worked flawlessly (stock rom) for very long periods of sleep with an active wi-fi connection, I would have to believe you have a defect in yours. Either that, or a problematic AP.

Related

Keep wifi from sleeping

Any way to keep wifi on when NC screen times out from inactivity?
I have tried Keep wifi alive with no success. There is no option in the NC settings like there is on my HTC Inc.
Any help would be appreciated.
JDP
jdposhkus said:
Any way to keep wifi on when NC screen times out from inactivity?
I have tried Keep wifi alive with no success. There is no option in the NC settings like there is on my HTC Inc.
Any help would be appreciated.
JDP
Click to expand...
Click to collapse
Spare Parts app has a setting to set wifi sleep policy to never. I've heard mixed reactions as to whether it works, but I'm pretty sure it's working fine for me.
wvcachi said:
Spare Parts app has a setting to set wifi sleep policy to never. I've heard mixed reactions as to whether it works, but I'm pretty sure it's working fine for me.
Click to expand...
Click to collapse
Verified that it's working for me as well.
Thanks.
Ill give it a shot.
SpareParts is definitely not working for me. I think it modifies the settings.db/system table. Went to look at the table, nothing there related to wifi sleep policy. Should be wifi_sleep_policy with a field of 2, and that didn't work either. Any ideas?
Not working for me either.
Yeah, spare parts isn't keeping my wifi alive either. Every time i turn my NC on after sleeping for a few minutes I have to turn wifi off and back on again.
I got mine working. Spare Parts UI did not work. In fact i ran into issues restarting WiFi when I used the UI to set Sleep to never.
I had to manually create an entry in the secure table for wifi_sleep_policy and i use a widget to turn off wifi when i dont need it.
insert into secure values(152, 'wifi_sleep_policy', 2);
I used WiFi OnOff widget (free from market) to turn wiFi off when not needed.
^ Is there a guide somewhere?
duh.. this worked yesterday and now i am back to where i was before. This seems really flaky. I lose wifi even after having the setting. setting in DB or in spare parts does not fix it. its very random but fails more often than it works.
Possibly a faulty device? I cannot imagine that the Nook has such a basic problem. The only time it consistently reconnects is when i power on/off.
Any thoughts?
Is there a reason you wouldn't hit the power button to turn the screen off instead of waiting for it to time out? I do this when listening to tune-in radio, for example, and wifi remains on just fine. It also saves battery
Sent from my rockin' rooted Nook Color using XDA App
mikerocks said:
Yeah, spare parts isn't keeping my wifi alive either. Every time i turn my NC on after sleeping for a few minutes I have to turn wifi off and back on again.
Click to expand...
Click to collapse
I've never had to turn wifi off and back on to make it work again, you sure you aren't having problems with your wireless access point?
I found a quick solution that mostly works. If you download WakeTimer from the market, and create a wakelock (cpu on, screen off) that will keep Android from going into sleep mode and keep your wifi running. I tested it out by continuously pinging my Nook. I said "mostly" works because when you hit a button to turn the screen back on (either power button or nook button) I'd get a single ping timeout before it would resume.
*Edit*
Even though a single ping times out, there doesn't seem to be an interruption in streaming data. Don't know if I have to say it, but I will just in case...keeping your Nook from going into sleep mode will be a drain on the battery.
give it a try.

is there a fix for wifi going to sleep

I have tried all current fix's i have found on this site and none of them work is there some thing i am missing thanks .
The spare parts setting works well for me, not 100% of the time, but enough that it doesnt bother me.
I'm looking too....
Spare parts fix did't help me either
Grab Settings Profile Lite from the market. Set WiFi off when Screen off in the rules. Now Wifi will turn on and off with the screen. Fixed all my WiFi issues.
I also have Spare Parts set to Never.
ThrowingKs said:
Grab Settings Profile Lite from the market. Set WiFi off when Screen off in the rules. Now Wifi will turn on and off with the screen. Fixed all my WiFi issues.
I also have Spare Parts set to Never.
Click to expand...
Click to collapse
Correct me if I'm wrong, but I think that is exactly what the OP doesn't want.
I think he wants the wifi to stay on when he powers the screen back on, instead of having it disconnect when the screen turns back on.
The Nook I believe loses the connection when you turn on the screen.
ThrowingKs said:
Grab Settings Profile Lite from the market. Set WiFi off when Screen off in the rules. Now Wifi will turn on and off with the screen. Fixed all my WiFi issues.
I also have Spare Parts set to Never.
Click to expand...
Click to collapse
Thats how the NC works by default.
Spare parts did not work for me at all. I set it to always on and it still shuts off.
eggman618 said:
Correct me if I'm wrong, but I think that is exactly what the OP doesn't want.
I think he wants the wifi to stay on when he powers the screen back on, instead of having it disconnect when the screen turns back on.
The Nook I believe loses the connection when you turn on the screen.
Click to expand...
Click to collapse
That is what this does. When the screen is on, the WiFi is on. When the screen is off, the WiFi is off. It got rid of all my intermittent issues.
ThrowingKs said:
That is what this does. When the screen is on, the WiFi is on. When the screen is off, the WiFi is off. It got rid of all my intermittent issues.
Click to expand...
Click to collapse
How long have you been running this fix? I ran it for 10 days or so and started having issues, basically it quit working.(would turn off but not back on). Are you using it with spare parts? I am still looking for a permanent solution.
^ I have had it for probably a week and a half. I do also use Spare Parts with WiFi Sleep set to Never.
I also have my Nook set to DHCP, and my DD-WRT router set to give a "Static DHCP" to my Nook.
http://www.dd-wrt.com/wiki/index.php/Static_DHCP
ThrowingKs said:
^ I have had it for probably a week and a half. I do also use Spare Parts with WiFi Sleep set to Never.
I also have my Nook set to DHCP, and my DD-WRT router set to give a "Static DHCP" to my Nook.
http://www.dd-wrt.com/wiki/index.php/Static_DHCP
Click to expand...
Click to collapse
Thanks, will look at this when I have time.
Wifi Lock works for me...
Ok.. I read all the posts I could find and installed Wifi Lock, this is the only one I tested and works great for me. (Tested using Pandora radio)
This is what I did:
1- Install Wifi Lock (Android Market)
2- Reboot Nook Color
3- Go to your Extras and run the app. (It doesn't have a user interface, it only displays a message every time you click on it: Default / Never)
4- If you are using Advanced Task Killer (or any other) make sure you deselect Wifi Lock and add it to your Ignore List (I did it right away, I guess that's a VERY important step)
I just tested it several times for about an hour using Pandora radio, I have no idea how much it will drain the battery... If something goes wrong I'll let you know...

[Q] Wifi & Mobile Data Issue (ICS)

Ever since upgrading to ATT ICS, my WiFi and Mobile Data connections both are turned on during the night. During the day, I don't run either. When I am at home, I use WiFi and then turn WiFi off and plug in the charger before I sleep. When I wake up in the morning, WiFi and Mobile Data are turned ON. This happens constantly for me.
The second thing I tried was not putting the phone on the charger for the night. Come the next morning, WiFi is ON but Mobile Data remained off.
Something is triggering WiFi and Mobile Data to automatically turn on. I can't seem to find the setting that is allowing this to happen.
With GB, I never had this issue. If I recall correctly, GB had a setting for the sleep period of the phone. I don't remember much else of what was adjustable in that menu and I can't remember if I set anything in there for GB and data. I cannot find anything remotely like that in ICS. ICS is bloody annoying me right now with these quirks.
I wish I could downgrade back to GB right now so I don't have to deal with data turning on during the course of the night.......
If you want to go back to gb look under the development tab for return to GB from ics. It's down a ways. Not sure what to tell you about the other issues but to try and reflash ics.
Sent from my HTC PH39100 using XDA
Try Airplane Mode
Sounds like you have some app trying to make a connection to run an update. It's turning on WiFi and/or the Mobile Data connections. I'll check mine tonight to see what happens.
Try turning on the Airplane mode when you go to bed. Hold down the power button and select the Airplane Mode option. If that doesn't keep the radios off, something is really wrong.
I sometimes use the Airplane mode at night to conserve the battery, but since you're charging, that's not an issue.
megatronisabeast said:
If you want to go back to gb look under the development tab for return to GB from ics. It's down a ways. Not sure what to tell you about the other issues but to try and reflash ics.
Sent from my HTC PH39100 using XDA
Click to expand...
Click to collapse
I found the thread. Thanks. I just need to read about unlocking the bootloader now before proceeding. The only downside of downgrading is I will lose the ICS radio which is giving me such good signal strength. Before in my room at home, I would get 1 bar, now I get 2 or 3. LULz.
brucegil said:
Sounds like you have some app trying to make a connection to run an update. It's turning on WiFi and/or the Mobile Data connections. I'll check mine tonight to see what happens.
Try turning on the Airplane mode when you go to bed. Hold down the power button and select the Airplane Mode option. If that doesn't keep the radios off, something is really wrong.
I sometimes use the Airplane mode at night to conserve the battery, but since you're charging, that's not an issue.
Click to expand...
Click to collapse
This happened since day 1 of upgrading to ICS. The only software that I installed were some games and utilities that I had on GB. I never had an issue with either data connection turning on.
I might try another flash of ICS but that would mean running it for a night without the downloaded software for a couple nights and then installing each one by one, night by night.
I can use airplane mode but not for long term. I need to be able to receive calls from work when issues arise during the 2nd and 3rd shifts.
This only happens at night. It never happens during the day which makes me believe something is happening during the phone sleep time. And there's no setting that I can find for the phone sleep time like GB. Grr.....
Why not just leave data on if u don't mind me asking. Can't be using that much data really
Sent from my HTC PH39100 using xda premium
Yep I have the same issue.
I have observed the data icon appear on the stroke of midnight. It takes three attempts to keep it off till the next time I use it, or when the damn thing turns back on at 23:59:59.
Spoke to HTC support, they advised to return it to retailer for them to examine it....WTF...lol
Regards
Paul
FPV-GT said:
Yep I have the same issue.
I have observed the data icon appear on the stroke of midnight. It takes three attempts to keep it off till the next time I use it, or when the damn thing turns back on at 23:59:59.
Spoke to HTC support, they advised to return it to retailer for them to examine it....WTF...lol
Regards
Paul
Click to expand...
Click to collapse
We have two threads on this issue of WiFi and/or Data turning on at midnight. When I first found the missing voice dialer problem, I e-mailed HTC support. They responded to my e-mail and then a member of their escalation team called me. They recognize that this is an ICS upgrade issue. Of course, they don't know when it will be fixed.
If you have not already done so, log into HTC.com, go to Support and send an e-mail describing the problem. They need as much feedback as we can give them to get HTC and/or Google to fix these problems.
I am not surprised that the ICS upgrade broke some things, but the number of things surprises me.
Check your setting. Drop the drop bar and enable Wi-Fi connection then touch the bar next to the off-on switch. Touch the icon next to the home icon on the bottom of the phone and click on advanced. See the screen shots.
vivid x2 said:
Check your setting. Drop the drop bar and enable Wi-Fi connection then touch the bar next to the off-on switch. Touch the icon next to the home icon on the bottom of the phone and click on advanced. See the screen shots.
Click to expand...
Click to collapse
Doesn't help.
Sent from my HTC Vivid
Too bad. I noticed mine came on the first night after I installed ICS. Took awhile to find the settings I posted. When I found the settings and clicked on the one in the picture I never noticed Wi-Fi come on on its own since.
So I finally got around to trying Airplane mode. WiFi still kicks on overnight while plugged in.
vivid x2 - I had that checked to "Never" and I still have WiFi and Mobile Data coming on at night.
brucegil & FPV-GT - I will submit a support email ticket. I'm surprised there aren't more of us on here that are having this issue.
syrkel - I don't want either WiFi or Mobile Data on. If I'm not using it, why have it activated? All I need during the night is 2G voice so I can respond to work issues that may arise.
Just throwing another thing to look into. Try to reset the data counter and check it every few hours to see what apps are using the wi-fi data? Some of the apps even allow you to access the app settings from there as well. Check some of the app permissions and try disabling a few apps at a time that allow changes to wi-fi settings.
what a coincidence. i was just jacking around on my phone in class and found the advanced wifi option and there is a setting to keep wifi on during sleep. it has three options: always, only when plugged in, and never. hope this helps
Try installing a juice defender. It turns off data when your screen is off automatically. Also, (maybe only in the paid versions) you can set a night schedule for it to disable connectivity for a set time automatically. I have mine disable all data connections and go to silent mode from 12:30 to 8:30.
jenkem110 said:
what a coincidence. i was just jacking around on my phone in class and found the advanced wifi option and there is a setting to keep wifi on during sleep. it has three options: always, only when plugged in, and never. hope this helps
Click to expand...
Click to collapse
I tested this last night. Before I went to bed, I turned off WiFi (Data remained on). On the WiFi advanced settings I had the Keep Wi-Fi on During Sleep setting to "Always," which is the opposite of what people here have mentioned. I plugged in the charger. However, I have my Vivid set to remain on while on the charger. So it technically never went to sleep. (Makes a nice night light.) At 2:30 a.m. when I woke up, the WiFi was not on.
Tonight I will keep the same settings, but I will not put it on the charger (I'm testing the 3400 mAh Mugen extended battery). I will see if the WiFi comes on during the night.
liquidxnitez said:
Ever since upgrading to ATT ICS, my WiFi and Mobile Data connections both are turned on during the night. During the day, I don't run either. When I am at home, I use WiFi and then turn WiFi off and plug in the charger before I sleep. When I wake up in the morning, WiFi and Mobile Data are turned ON. This happens constantly for me.
The second thing I tried was not putting the phone on the charger for the night. Come the next morning, WiFi is ON but Mobile Data remained off.
Something is triggering WiFi and Mobile Data to automatically turn on. I can't seem to find the setting that is allowing this to happen.
With GB, I never had this issue. If I recall correctly, GB had a setting for the sleep period of the phone. I don't remember much else of what was adjustable in that menu and I can't remember if I set anything in there for GB and data. I cannot find anything remotely like that in ICS. ICS is bloody annoying me right now with these quirks.
I wish I could downgrade back to GB right now so I don't have to deal with data turning on during the course of the night.......
Click to expand...
Click to collapse
I wonder if this is part of Googles data collection. I have gone through 3 vivid phones in the last 2 weeks (long story). I have seen this problem happen with no apps other than what came with the phone. My wifes phone (another vivid) does the same thing. If the phone is turned off for the night, turning the phone back on has the same results (mobile data is on). This seems to be a random problem.
When you allow Google's locaton service part of the message says that you are allowing Google to collect data even when no apps are running.
Just a thought.
I've been trying to figure out what's causing it...see my last couple posts here.
http://forum.xda-developers.com/showthread.php?t=1589724
Sent from my HTC Vivid

WiFi Disconnect

Hi all, Im running the latest leankernel 1.8 with stock 5.0.1 ROM. After long periods of deepsleep the WiFi will turn itself off, and wont reconnect until i turn the screen on. (eg: after sleeping for the night, when i turn the screen on in the morning, the wifi is off, then reconnects after a few seconds). I don't have any of the battery saving features turned on, and the wifi is set to "always on" in advanced wifi settings. I've searched Google and XDA and come up with nothing. I cant be the only person this is happening to. I have 3 other phones and 3 other tablets, none of which have the same issue. Has anyone run into this problem on their nexus 6? Any help or ideas/ opinions at all would be greatly appreciated. Thanks in advance.
Anyone?
ScumDroid said:
Anyone?
Click to expand...
Click to collapse
I've run into this exact issue. Even happens on 5.1.1
Did you ever end up figuring out the issue. I feel like it might be app related rather than an Android issue.
ArmoredCavalry said:
I've run into this exact issue. Even happens on 5.1.1
Did you ever end up figuring out the issue. I feel like it might be app related rather than an Android issue.
Click to expand...
Click to collapse
Never figured it out. Only happens on nexus6. I use wifi keepalive app, seems to do the job without impacting battery.

[Q] WiFi will not turn off

I have noticed that despite my Wifi sleep policy being set to keep on during sleep only when plugged in my WiFi is on absolutely all the time. I am sure that this is contributing to less than stellar battery life but I cannot for the life of me find an app or adb command that will simply tell me what the hell is keeping my Wifi on. I am rooted but my googling has led nowhere, so now I pose this question to XDA.
How do I figure out what is keeping my WiFi on/in general figure out what is draining my battery during standby?
HELP ME!
Thanks.
P.S. I find it hard to believe that this question has not been asked before, but all of the solutions I have found did not solve the issue for me or just did not work on my Droid turbo for whatever reason, sorry if this sounds stupid.
Post a screenshot of your settings screen please.
Wynnded said:
Post a screenshot of your settings screen please.
Click to expand...
Click to collapse
I posted four... I cannot think of any other pages that are relevant.
aka848 said:
I posted four... I cannot think of any other pages that are relevant.
Click to expand...
Click to collapse
Go to your app drawer, tap Settings, post that picture. It will be where you can turn on/off Airplane mode, Wi-Fi, and Bluetooth. We need to be certain that your Wi-Fi is indeed off.
Wynnded said:
Post a screenshot of your settings screen please.
Click to expand...
Click to collapse
Wynnded said:
Go to your app drawer, tap Settings, post that picture. It will be where you can turn on/off Airplane mode, Wi-Fi, and Bluetooth. We need to be certain that your Wi-Fi is indeed off.
Click to expand...
Click to collapse
Oh, Okay.
WiFi is on, my question is what keeps it from turning off when I am not using the phone despite the wake policy being set to "keep on only when plugged in"
For whatever it is worth advanced calling is off and network type is set to global.
Huh...
I've been playing with my settings trying to find an answer. I changed my settings to what you have shown in the screenshots. Additionally, I've turned off some others as well, Location in one case. It appears that if Wi-Fi is on, it's always on.
When I'm at home, or when I'm somewhere I trust the Wi-Fi network, I turn it on and leave it on with it set to stay on even while the device is asleep, because it's my understanding that the Wi-Fi radio uses less battery than the cellular radio. I would think that with your settings, once the device goes to sleep, it would disconnect from Wi-Fi and connect to the cell tower, using more battery and your data plan. I have my Wi-Fi set to Always on so that when my device is asleep I still get email, etc., and I can surf or whatnot. When I leave the house, I manually turn Wi-Fi off so that it's not searching for a network, that's gotta be a bit of a battery drain. I'm not a power user and I easily get a solid two full days from my device.
Had the same issue. Not sure of a permanent fix, but cycling airplane mode is a short term fix.
Sent from my XT1254 using XDA Free mobile app
papstar said:
Had the same issue. Not sure of a permanent fix, but cycling airplane mode is a short term fix.
Sent from my XT1254 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I'm going to see if that makes a difference on what my device shows.

Categories

Resources