Nexus 7 wlan_rx_wake - causeing 50% battery drain - Nexus 7 Q&A, Help & Troubleshooting

I use Better Battery Stats and noticed that wlan_rx_wake is causing my N7 to wake up all the time. In 19 hours, it cause awake of 9.5 hours and the battery goes down by more than 45%.
Based on Google searches, it seems to be caused by the way the N7 Wifi card interact with the wifi router. Some suggested "fix" is to use static IP in the N7, but that's hardly a solution since I cannot do that when connecting to a Wifi router that I do NOT manage. I.e. office, school, Starbucks, etc.
So does anyone have any fix, or this is not fixable?

Do you have Wi-Fi set to turn off when the screen is off?
Sent from XDA app

gc84245 said:
Do you have Wi-Fi set to turn off when the screen is off?
Sent from XDA app
Click to expand...
Click to collapse
I have not, because:
1). I have GV app and if WiFi is PFF, then I won't be able to receive calls
2). My Galaxy Note have Wi-Fi ON even when screen is off and did not have this problem.

I also have it set to always keep wi-fi on during sleep in order to continue receiving notifications. I only lose 3 or 4% overnight, so I'm sure that is not the source of the problem. I don't use static ip. Have you tried using 'Wakelock Detect' to see which app is causing your wi-fi to keep activating? I think it is an app not your settings. Maybe trying to keep updating location services?

Groid said:
I also have it set to always keep wi-fi on during sleep in order to continue receiving notifications. I only lose 3 or 4% overnight, so I'm sure that is not the source of the problem. I don't use static ip. Have you tried using 'Wakelock Detect' to see which app is causing your wi-fi to keep activating? I think it is an app not your settings. Maybe trying to keep updating location services?
Click to expand...
Click to collapse
I do, but it's not accurate, showing only that Android Systems and Maps are using, say 10 minutes time but the "Awake" was for 3 hours. So I use BetterBatteryStats instead and that's where I saw the wlan_rx_wake taking 3 hours of the awake time.
I don't use static IP, I do use static DHCP, so it changes whenever I connect to a new Wifi AP.
Do you have the following running (these are CONSTANT background data sync)
- 4 GMail accounts (push)
- 2 Google Calendar sync
Just wondering if having too many Google accounts is actually the root cause of it.

lanwarrior said:
Just wondering if having too many Google accounts is actually the root cause of it.
Click to expand...
Click to collapse
I suppose that is possible. I just manually sync my Gmail, but have google voice set up for notifications. Try turning off auto-sync one night and see if it makes a difference. If you're sleeping, you don't really need it.

Groid said:
I suppose that is possible. I just manually sync my Gmail, but have google voice set up for notifications. Try turning off auto-sync one night and see if it makes a difference. If you're sleeping, you don't really need it.
Click to expand...
Click to collapse
Where do I change this? I use the Gmail app and don't see this in Gmail --> Settings. If I go to Settings --> Accounts, all I see is to enable or disable sync completely.

So i've had the same problem where my galaxy s3's battery has just gone to 0 in ~10 hours and i finally found the fix for it, this is what's causing it for me and might be what's causing it for you to, anyhow i'm gonna go step by step with what i did to find the culprit.
I downloaded an app called Network Log and let it log some of my traffic, i quickly found that packets where beeing sent by 192.168.1.74 wich is not any android device but my main computer and there i found the source of the problem, i was then searching around and stumbled across this post, http://forum.xda-developers.com/showpost.php?p=25876666&postcount=3
I found this line in the post,
Q: Wakelocks "wlan_rx_wake" wake up my device constantly what I can do about it?
A: The problem is neither Android nor the kernel, but the router and the (Windows7) network. In the network properties, uncheck "IPv6", disable the service "IP Helper", "Shell Hardware Detection" and "Windows Media Player Network Sharing Service", which provide ongoing Traffic. Then they scored again 98% of deep sleep.
Click to expand...
Click to collapse
and i decided to look in to it, i started the "run" command in windows and wrote "services.msc" wich then boots up you services that's started by windows, after that it's pretty simple.
Find the line called Ip Helper and stop it after that right click it and chose properties and decided the start method as inactive, after that look up the "Windows Media Player Network Sharing Service" and do the exact same thing there, this actually fixed it, my computer for some reason got stuck on sending useless packets over the network and was sending it to my galaxy s3 along with my mothers galaxy note 10.1 (no other android devices where seeing this thou for some reason) and after setting those 2 to disable i now have had my phone at 99% battery for over an hour with wifi active.
I do hope this helps and i'm gonna post this in the other wifi_rx_wake posts i can find.

Thanks for the info, really appreciated it! I will try that for my home computer, though I have a Mac (and a PC)
However, I think this won't fix the issue where I have my N7 connected to Wifi outside of my home. I.e. at work, I can't change other people's workstation settings.
I am curious what is it in N7 (or even Android OS) that makes it "respond" to certain network traffic generated by the router and/or workstation, causing it to keep waking up.

lanwarrior said:
Some suggested "fix" is to use static IP in the N7, but that's hardly a solution since I cannot do that when connecting to a Wifi router that I do NOT manage. I.e. office, school, Starbucks, etc.
Click to expand...
Click to collapse
I know this is an old post, but I thought I'd just mention that you can change your N7 from dynamic IP to static IP manually for each Wifi network, without any need to change anything from your office/school/starbucks' router side.
Just go to Wifi settings, long press the name of the network, select advanced, and setup your static IP. It will remember it for that Wifi network in the future.

prodigyX said:
I know this is an old post, but I thought I'd just mention that you can change your N7 from dynamic IP to static IP manually for each Wifi network, without any need to change anything from your office/school/starbucks' router side.
Just go to Wifi settings, long press the name of the network, select advanced, and setup your static IP. It will remember it for that Wifi network in the future.
Click to expand...
Click to collapse
I wish I could. The way the Wi-Fi setup at my workplace is that I authenticate first and then it assign an IP address based on my user account and Mac address AT THAT TIME. If I change it, it no longer works. Some sort of security feature.
But having to assign static IP for EACH location is not only a hassle, it beats the purpose of DHCP.
Unfortunately, Google had been ignoring this problem, even though there are countless post on Google's own product forum.

prodigyX said:
Just go to Wifi settings, long press the name of the network, select advanced, and setup your static IP. It will remember it for that Wifi network in the future.
Click to expand...
Click to collapse
Thank you, that works on the Nexus 5, too! Was looking for that.
Kusie

Related

Phone auto connecting to random Wifi access points

All,
My brother has a T-Mobile stock ROM HD 2 and he has the issue where device would just randomly connect to available access points, including a BT OpenZone and a Netgear home router. The worst thing is that if the device is connected to his home [preferred] router, it would all of a sudden connect to the BTOpenZone one and totally disable all activity and actually bring up their registration page, etc. It connects to this [random] Netgear one when he is at his in-laws place.
Just to say that these access points have never previously been added as a preferred network or otherwise.
I used to have a WM device (on to Android now) but never used the WiFi connection, so perhaps I'm missing something obvious (?!)
Any help would be greatly appreciated.
This is normal behaviour, if you leave your wifi on. It automatically searches for and tries to connect to any nearby wifi sources. All you have to do is turn wifi off. Just turn it on when you want to use it.
There's a toggle app in one of the stickied threads (cabs & tips)
Must go into the WIFI settings and after couple of Nexts, Uncheck the /Automaticaly Find The Key/ or something like that..also you can go into WIFI options and remove a certain routers setting,just play around a bit with the settings and you will find it.
johncmolyneux said:
This is normal behaviour, if you leave your wifi on. It automatically searches for and tries to connect to any nearby wifi sources. All you have to do is turn wifi off. Just turn it on when you want to use it.
There's a toggle app in one of the stickied threads (cabs & tips)
Click to expand...
Click to collapse
Surely it's not default behaviour? I vaguely remember that it automatically searches for wifi APs (if the WiFi is on) but never knew it automatcally connected without you asking it to do so, especially if you have never connected to that AP before or previously added it as a preferred network.
hagba said:
Must go into the WIFI settings and after couple of Nexts, Uncheck the /Automaticaly Find The Key/ or something like that..also you can go into WIFI options and remove a certain routers setting,just play around a bit with the settings and you will find it.
Click to expand...
Click to collapse
I shall have to give that a go and look for that setting.
I have the device in front of me now, but fail to find any settings to disable/prevent this behaviour.

Radio troubles

Hey guys great news on our own section! Do any of you notice wireless dropouts? I have the wifi on whenever I'm at home and it will drop out quite regularly probably once per hour. I also notice that the gsm meter will go to 0 bars when I turn the wifi on our off and on other occasions. does anyone else see this kind of behavior?
Sent from my u8800 using XDA App
Wifi Drop-outs
Yep, I also notice dropouts. Usually it's not a problem for web browsing but it is annoying when it stops youtube playback (which often happens).
From looking around I know that there are some others that also have this problem.
I thought there was something in "settings" to switch off wi-fi sleep, or am I thinking of my Xperia X8? Certainly my Ideos X5 shuts off its wifi after a few minutes, and yes, it is annoying.
Try installing a battery power manager app from market, there might be a "wi-fi stay on" in that ... maybe THAT's what I did to cure similar behavior on the Xperia.
some people (in chinese forum) mentioned it could be due the router's (i presume u r using one) incompatibility with the wifi module..
try changing to another router may help, if possible..
others hinted that flashing the malaysian 136 rom solved this problem..
u may try at ur own risk..
Wifi Sleep Policy/Static IP - possible solution??
I had this problem while at home on the network and this worked for me:
In the advanced settings Menu of Wireless/NW is WiFi Sleep Policy in which there are 3 options:
When screen turned off, Never when plugged in and Never. Mine was set to the first one so I chose Never.
Next, Use a Static Ip - enter settings and reboot
IP settings are also on this screen along with the MAC address.
This has solved the problem for me and have certainly noticed an improvement on battery usage, an added bonus for sure.
I don't use mobile data (or try not to!!) so not sure in what way a static IP would affect that.
Great to have a forum for the X5, many thanks XDA
I've noticed that if the GSM signal drops out it can lock up both the Wifi and Bluetooth as well.
advanced settings for wifi -> never sleep works like a charm
dibb_nz said:
I had this problem while at home on the network and this worked for me:
In the advanced settings Menu of Wireless/NW is WiFi Sleep Policy in which there are 3 options:
When screen turned off, Never when plugged in and Never. Mine was set to the first one so I chose Never.
Next, Use a Static Ip - enter settings and reboot
IP settings are also on this screen along with the MAC address.
This has solved the problem for me and have certainly noticed an improvement on battery usage, an added bonus for sure.
I don't use mobile data (or try not to!!) so not sure in what way a static IP would affect that.
Great to have a forum for the X5, many thanks XDA
Click to expand...
Click to collapse
Yep the static ip fix worked for me, thanks for that. I had done the Never sleep selection but did not notice an improvement. As @trk pointed out on Whirlpool, the static ip Fix is of limited use if you use several wifi access points regularly. I only use mine at home so it's great.
Did the OP get a result with this?
Now to tweak it so that annoying warning stops popping up about causing traffic etc.
GolfCranK said:
Yep the static ip fix worked for me, thanks for that. I had done the Never sleep selection but did not notice an improvement. As @trk pointed out on Whirlpool, the static ip Fix is of limited use if you use several wifi access points regularly. I only use mine at home so it's great.
Did the OP get a result with this?
Now to tweak it so that annoying warning stops popping up about causing traffic etc.
Click to expand...
Click to collapse
Take a look here to disable the annoying warning:
[MOD]How to get rid of the data usage reminder when Wifi is disabled
http://forum.xda-developers.com/showthread.php?t=1045855
大家好,在这里与大家真诚交流。
Don't know about wifi, cause I don't use it but 3G is doing it. It just can't connect to any network, even there is very good network available. When trying manually search it doesn't find any networks. Sometimes even rebooting doesn't help.
My two friends have same phone and they says that their units are also dropping connection. They have solved it by forcing device to 2G, but I live in area where is only 3G 900MHz available.
Hope this will be solved in future updates or by coocked rom.

3g fallback for internet on wifi?

So I'm having trouble with getting wifi how I want it on my phone. At work we have a unsecured WAP with a web based authentication page. Trouble if you ever use it, it remembers the WAP and wants to login, but unless you you goto the web page, you have no internet. This is particularly a problem when wifi sleeps and looses connection.
The big issue with this is that my phone assumes it has internet when it doesn't. It doesn't fall back to 3g on failure to connect. That means I will not get texts for hours, facebook won't update, etc, etc.
Is there a way to force the phone to fall back to 3g when it fails to connect via wifi? Alternately is there an app that will parse a wifi login page and auto login for me? I'm running clean GB right now.
Geekybiker said:
So I'm having trouble with getting wifi how I want it on my phone. At work we have a unsecured WAP with a web based authentication page. Trouble if you ever use it, it remembers the WAP and wants to login, but unless you you goto the web page, you have no internet. This is particularly a problem when wifi sleeps and looses connection.
The big issue with this is that my phone assumes it has internet when it doesn't. It doesn't fall back to 3g on failure to connect. That means I will not get texts for hours, facebook won't update, etc, etc.
Is there a way to force the phone to fall back to 3g when it fails to connect via wifi? Alternately is there an app that will parse a wifi login page and auto login for me? I'm running clean GB right now.
Click to expand...
Click to collapse
If wifi was active it should stay active there is an option to keep wifi on in the settings that way it wont go turn off/ go to sleep while its connected. Change the wifi sleep policy this will keep it from "disconnecting".
Settings>wireless & networks> wifi settings> press the menu button advanced> wifi sleep policy> Never
Geekybiker said:
So I'm having trouble with getting wifi how I want it on my phone. At work we have a unsecured WAP with a web based authentication page. Trouble if you ever use it, it remembers the WAP and wants to login, but unless you you goto the web page, you have no internet. This is particularly a problem when wifi sleeps and looses connection.
The big issue with this is that my phone assumes it has internet when it doesn't. It doesn't fall back to 3g on failure to connect. That means I will not get texts for hours, facebook won't update, etc, etc.
Is there a way to force the phone to fall back to 3g when it fails to connect via wifi? Alternately is there an app that will parse a wifi login page and auto login for me? I'm running clean GB right now.
Click to expand...
Click to collapse
Yep like Big Goron said and my School has that thing to web authentication
Big Goron said:
If wifi was active it should stay active there is an option to keep wifi on in the settings that way it wont go turn off/ go to sleep while its connected. Change the wifi sleep policy this will keep it from "disconnecting".
Settings>wireless & networks> wifi settings> press the menu button advanced> wifi sleep policy> Never
Click to expand...
Click to collapse
That's not the big problem though. If I lose connection (easy enough with out concrete walls and walking around) or simply don't login in first thing in the morning I still have the issue.
I either need a fallback to 3g or a way to auto login.
Geekybiker said:
That's not the big problem though. If I lose connection (easy enough with out concrete walls and walking around) or simply don't login in first thing in the morning I still have the issue.
I either need a fallback to 3g or a way to auto login.
Click to expand...
Click to collapse
well i can tell you what i use Juice Defender and When WiFi is once it goes off my data kicks in so yeah that's my fallback to 3G so you could give that ago if you want.
IMO
Juice Defender= Battery Drainer and waste of money when i can do what it does manually.
To the OP:
the phone should automatically go back to 3g when wifi disconnects i just tested this with my router i had it connected then pull the plug and it went to 3g.
Big Goron said:
IMO
Juice Defender= Battery Drainer and waste of money when i can do what it does manually.
To the OP:
the phone should automatically go back to 3g when wifi disconnects i just tested this with my router i had it connected then pull the plug and it went to 3g.
Click to expand...
Click to collapse
ive done some tests without JD also helps in other areas BTW, and to let you know i put JD on Extreme and let no apps get data unless i manually toggle data and i can tell that my battery lasts much longer by at least by a few hours but still helps rather than my data always being funny randomly connecting and disconnecting to 3G or even if it was off JD does help.
Big Goron said:
IMO
Juice Defender= Battery Drainer and waste of money when i can do what it does manually.
To the OP:
the phone should automatically go back to 3g when wifi disconnects i just tested this with my router i had it connected then pull the plug and it went to 3g.
Click to expand...
Click to collapse
It does when it disconnects, however since the wifi point is open it auto connects every time it picks it up again. Aside from manually forgetting the wifi point all the time, there doesn't appear to be a way to stop this. Connecting remembers it. Its not that I can't get around this manually, but its really annoying.
You could probably do something with a tasker profile. I don't know how to do it but they have a bunch of examples on their site that may help.
Geekybiker said:
It does when it disconnects, however since the wifi point is open it auto connects every time it picks it up again. Aside from manually forgetting the wifi point all the time, there doesn't appear to be a way to stop this. Connecting remembers it. Its not that I can't get around this manually, but its really annoying.
Click to expand...
Click to collapse
I see your problem. You may be able to do this using scripting. The closest thing I have ever done like this is write a script that logged into my cable modem admin page automatically and grabbed the signal strength to log it. I used PHP (command line interpreter) but I would think any language should be capable of submitting data via a post request. Mine was triggered by cron. You would need to trigger on a successful wifi connection, check the ssid, and go from there. I dont know enough details about how that part is done to be helpful, but I know there are some apps that do detect active wifi connections (samba comes to mind) so it must be possible.
Sent from my SPH-D700 using XDA App
Good suggestions so far, u could also try spare parts wifi sleep policy settings..
It might also be something where the connection on the wifi network's (not your phone's) end times out, in which case I'm not sure what to tell u.
Sent from my SPH-D700 using XDA
Geekybiker said:
It does when it disconnects, however since the wifi point is open it auto connects every time it picks it up again. Aside from manually forgetting the wifi point all the time, there doesn't appear to be a way to stop this. Connecting remembers it. Its not that I can't get around this manually, but its really annoying.
Click to expand...
Click to collapse
DON'T USE THEIR WIFI! Problem solved.

WiFi not working after extended periods of non use

So what I'm finding is that if my tab sits on the charger for a long time without using it, when I go to use it the wifi icon is gone. When I go into wifi settings, it says my network is not in range. To fix it, I have to toggle wifi off and then back on, and then it gets on my network just fine.
Anyone else have this problem?
Have you tried changing the wifi sleep setting? Worked for me, I believe it is under settings-asus customizedsettings- wifi sleep settings
bronzwarlock1225 said:
Have you tried changing the wifi sleep setting? Worked for me, I believe it is under settings-asus customizedsettings- wifi sleep settings
Click to expand...
Click to collapse
Yeah already checked and it's set to never.
EvoXOhio said:
Yeah already checked and it's set to never.
Click to expand...
Click to collapse
really odd. Outta ideas already lol. Good luck!
I had this issue with my TF101 after not having the issue for 2.5/3rds of the time I owned the TF101. Initially I thought it was the TF101 but I narrowed it down to the router.
A) I had implemented a policy on my router to restrict the number of IP addresses it can "assign" to connections. In this case it was set to then and there were more than ten devices connected to the router making it impossible to assign an IP address to the TF101.
B) It could have just been something with the router I wasn't aware of as resetting the router always fixed the issue. Though this could be explained by saying resetting the router resets all of the connections and opens up a spot for the TF.
In Android phones you can use the secret codes
If you have the phone apk installed perphas you can use this:
WLAN Test:
*#*#232339#*#*
*#*#526#*#*
*#*#528#*#*
EvoXOhio said:
So what I'm finding is that if my tab sits on the charger for a long time without using it, when I go to use it the wifi icon is gone.
When I go into wifi settings, it says my network is not in range. To fix it, I have to toggle wifi off and then back on, and then it gets on my network just fine.
Anyone else have this problem?
Click to expand...
Click to collapse
I have noticed that when my 300 is sleeping for a while, my email will not push/ sync. When I wake my tab up, Ive noticed the wifi icon is gone, but will come back in a second or two. Ive never had to toggle the wifi however.
And yes, Ive made sure the Battery Saving setting is unchecked to not suspend network connection while sleeping.

Stop auto-connecting to open wifi networks

I have a Nexus 4. I'm currently on 4.3. My phone auto-connects to every single open wifi network I walk past. Starbucks, McDonalds, Nordstroms, etc... every single one. I've tried both setting and not setting the "Notify me of open networks" option in the Wifi settings. No difference. Well there is, one setting just causes it to silently connect. I have NOT connected to these networks before. At the end of the day I have like 15 AP's queued up in my list that I have to delete.
This might be the most pants-on-head retarded design I have ever seen in a phone. I have only a few productivity apps on my phones. None of them meddle with wifi settings as far as I can tell. So, can anyone help me? Please don't offer me the advice of turning wifi off. I understand that is the kill-all for this, but it's akin to suggesting that longer battery life can be had by turning the phone off between charges. There has to be some option I am missing that is a never-connect-to-open option. I bounce between client offices all day and I need wifi to work smoothly.
Yup, same here. I've disabled the setting to notify me when an open notification is available, and it just connects to all and sundry, often causing me to lose connection with a server. Anybody aware of a fix for this? Do I need to root my Nexus 4 first?
WiFi 'scan/connects' with other networks.
Boyturtle said:
Yup, same here. I've disabled the setting to notify me when an open notification is available, and it just connects to all and sundry, often causing me to lose connection with a server. Anybody aware of a fix for this? Do I need to root my Nexus 4 first?
Click to expand...
Click to collapse
Set your WiFi to be active on your network only, uncheck open networks, and select manage networks to a single AP, yours.
I manage a single connection on my Droid X, and 'forget' all other networks, and do not store any network data from these either.
This is the only way I am certain my phone will not look for other networks, but then again, you can turn off 'Update over WiFi only' as well.
Deselect anything that will cause the phone to look for a WiFi AP, but also remember that once done, your apps such as Email and FB may still attempt to update via the phone's network and not WiFi.

Categories

Resources