wlan_rx_wake (battery drain while in sleep on certain wifi) - Nexus 6P Q&A, Help & Troubleshooting

Anyone having this problem and with a solution?
For me it's happening only at home: I have a wifi 2.4GHz router connected to a network cable coming from an adsl modem, and a 2.4GHz range extender that I use only to catch signal in the living room and is connected with a network cable to my satelite receiver.
It seems that something is keeping my phone on continuously during sleep, causing a constant discharge of 2% in 6h. I spent 3 night in the hotel and it didn't happened there.
I'll try to sort out if it's the router or the extender, but it'll take 3 nights to test.
In the meantime I'd like to know if someone else has had the same problem with wlan_rx_wake wake locks and how it got soloved?
Thanks

Let's all play nice and use this thread to help solve the problem, please don't however cross post this else where looking for further help. Let's keep it in here. Seem fair?
Have a good day all.
Forum moderator,
Matt

Matt, sorry if I post crossed, but I am desperate and was trying to find help in any possible thread that had battery drain as a subject. Been in this forum for years and never did this before, and if I did it it's cos I'm really puzzled.
I have also tried contacting Nexus support and have provided them with a bug report to look at with battery historian, but they came back to me asking for screenshots!!!!!
BTW, the bug report can be found here
https://www.dropbox.com/s/35l80fq9x...ight, during sleep-2016-08-12--06-00.zip?dl=0
in case someone is willing to have a look and let me known what the real problem is, as I can only guess it's wlan_rx_wake but I'm not even sure.
Anyhow, I am rooted now and will check what better battery stats says yonight.

found the problem: the wifi range extender. Maybe it is sending packets on the net that is keeping wifi alive and preventing phone to sleep well, causing a 2% per hour drainage. Tonight I kept it off and lost 2% in 9h.
My 3 Samsung devices (A3, S6 and Tab S2) are not experiencing this problem, so it must be a bug in nexus 6p kernel.

Related

Battery Drain from WiFi

I'm sure there are others who have experienced this problem. Even though I show no wake locks my phone drains at an unacceptable rate while on my Wifi at home. My phone can have a 60% battery when I go to bed, and be almost dead by the time I get up. The only clue that shows up in Android System Info or Spare Parts is network usage by '0' which is something with root access.
This is happening regardless of Rom. I've tried stock, Syndicate Frozen, Urban Fury, Bonsai, Stock Plus, and maybe another I'm forgetting. They all drain the crap out of my battery with wifi on at home so obviously this isn't a rom issue.
This leaves me to believe that either something on my network is forcing data to my phone keeping it from deep sleep, or the router itself is the cause. Turning on my phone to 3G, my battery life is spectacular overnight. It deep sleeps like it's had a case of beer with a bottle of nyquil as a chaser before bed. 1% an hour.
So, I've ordered a different router to see if that's the issue. I've googled my current router which is a D-Link DIR-655 and seems like others have had similar battery drains using that router but no one can emphatically say it for sure is the router. Guess we'll see when the new router arrives if it is indeed the DIR-655. Otherwise the next step is disconnecting everything else that is connected to my network (3 computers, 2 printers, XBox, Wii and a Blu-Ray player. I just wanted to point out to anyone else having issues with wifi and weird battery drain, that it may not be the phone that is the problem.
I too have massive battery drain when using Wifi. It doesn't matter what Wifi network I'm attached to (work/home/friends/etc), I burn about 10% + per hour on idle; whereas on 3G is burning only ~2%/hour on idle. On stock, Wifi was my battery saving grace.
I've just given up on using Wifi for daily use. I use 3G for everything now.
I hope the newest version of SFR (whatever the new one will be called) will remedy this problem I have. I haven't posted about it in the rom thread since I had a feeling it was just my phone or another bad flash in CWM.
I've been using that OS Monitor app to try and find the problem. On 3G all the network interfaces have static receive and send amounts as long as I'm not doing anything that requires data. Connected to my home wifi, there is a constant trickle of data.
When I let the phone sit overnight, there was over 4mb of data received, even if I turn off any kind of auto syncs on the phone.
wifi settings
Don't know if this will work for you but you can try. In the wifi settings click the menu button and select advanced then set the wifi to never sleep. I know it's counter intuitive but I went to sleep last night at 61% and woke to 57%. Wifi has been fine for me since changing that policy in the wifi advanced settings.
android_mp99 said:
Don't know if this will work for you but you can try. In the wifi settings click the menu button and select advanced then set the wifi to never sleep. I know it's counter intuitive but I went to sleep last night at 61% and woke to 57%. Wifi has been fine for me since changing that policy in the wifi advanced settings.
Click to expand...
Click to collapse
Mine has been set at never sleep since I got the Epic in September, and I double-check after each custom rom flash. Good looking out though.
nikon120 said:
Mine has been set at never sleep since I got the Epic in September, and I double-check after each custom rom flash. Good looking out though.
Click to expand...
Click to collapse
Same here. Mines always been set to never sleep.
Edit: I just tested my phone on my work's wifi network. CPU Spy says it's going into deep sleep just fine. OS monitor shows a static data received/sent number once I was connected. Obviously something about my home network is the problem.
android_mp99 said:
Don't know if this will work for you but you can try. In the wifi settings click the menu button and select advanced then set the wifi to never sleep. I know it's counter intuitive but I went to sleep last night at 61% and woke to 57%. Wifi has been fine for me since changing that policy in the wifi advanced settings.
Click to expand...
Click to collapse
That is my general experience, too. These settings usually keep my WiFi usage low overnight.
But some nights, inexeplicably, I will wake up to find a large battery hit from WiFi. I don't think it is my WiFi router's problem, unless there is some outage duirng the night I am unaware of. Come to think of it, I had that problem last night but did not investigate early this morning before I left. When I get home, I will check with my laptop to make sure my router is running.
I have noticed this too and in particular over the past few days. I'm on the latest bonsai build which does have amazing battery life on 3G but now wifi does draithe battery much more than 3G. This never happened before. I have had my wifi set to never sleep. Any other suggestions?
Obviously haven't tested it overnight yet, but I shut down my one laptop and the constant data trickle immediately stopped. Right now it's looking like something my computer is running might be the culprit. Going to leave it sit overnight to see how it goes.
I found the cause of my drain! Narrowed it down to something from my laptop as when I shut my computer down at night, the drain would go away. The culprit was the HP Printer software for my wireless printer. Once I uninstalled it, the drain went away. Noticed in resource monitor that HPZinw12 was sending a constant stream of data from my computer. Why in the hell it would be also sending to my phone keeping it from sleeping seems pretty odd, but I recommend if anyone else who is having battery problems over wifi and happen to also have an HP printer, you might want to look into this as well.
I'd also add that my solution to getting rid of the problem and still being able to use my printer was just to uninstall the crappy HP software that came with the printer and add the printer through the control panel and let windows 7 install it. It doesn't throw on that HPZinw12 file that apparently polls the entire network constantly.
CapsLockKey said:
I found the cause of my drain! Narrowed it down to something from my laptop as when I shut my computer down at night, the drain would go away. The culprit was the HP Printer software for my wireless printer. Once I uninstalled it, the drain went away. Noticed in resource monitor that HPZinw12 was sending a constant stream of data from my computer. Why in the hell it would be also sending to my phone keeping it from sleeping seems pretty odd, but I recommend if anyone else who is having battery problems over wifi and happen to also have an HP printer, you might want to look into this as well.
Click to expand...
Click to collapse
Since I have been experiencing similar symptoms intermittently and I also have a WiFi printer, I have tried to eliminate this as a potential cause. (I don't run an HP control app on my laptop, but already map the printer directly in Windows 7 like you suggest.)
In my case, I still get the excessive WiFi battery drain, and low battery level upon waking, sometimes overnight. But other nights the problem does not occur. So lately I have made sure that my laptop and printer are powered down before bedtime. And like you, a always have my WiFi sleep policy set to "never" and have a strong WiFi signal. But last night I still had the problem, and awoke to find the battery drained to 45 percent instad of its typical 90 percent.
Interestingly, I noticed not only high WiFi battery usage but also high "Cell standby" usage attributable to the well-known Time Without Signal problem -- and this despite my habitual use of the Airplane toggle workaround, which usually works.
Somehow, something caused both WiFi and cell radios to go crazy overnight.
BTW, I run a stock, unrooted Epic.
So far with SRF v1.1.1, my Wifi is back to normal.
On my work network, I've dropped 4% in 3.5hours with my work email syncing every 15mins. So that's pretty good usage given that sync interval.
I also do not have a printer at home, so the printer bit wouldn't have been a cause for me.
While the printer thing took care of the biggest problem for me, I still don't get as good of battery life overnight leaving my phone on WiFi rather than 3G. There is still something my computer is doing that wakes my phone up occasionally, but at least I'm not going to bed with a 70% battery then waking up to a dead phone. At least I have it narrowed down to one computer (total of 3 on my network), as when I shut that particular one down battery life for my phone is back to 1% an hour while sleeping. If I had to take a guess at this point, might be something with media sharing as I use that one as my primary location for music/videos to stream via Windows Media Center.
CapsLockKey said:
While the printer thing took care of the biggest problem for me, I still don't get as good of battery life overnight leaving my phone on WiFi rather than 3G. There is still something my computer is doing that wakes my phone up occasionally, but at least I'm not going to bed with a 70% battery then waking up to a dead phone.
Click to expand...
Click to collapse
How do you know it is your computer? Have you tried just turning it all the way off?
Do you watch the services running on your phone? I routinely stop the DRM service, for example.
Except for the mysterious episodes when I experience this intermittent problem, my overnight battery usage is typically about 1 percent per hour.
boomerbubba said:
How do you know it is your computer? Have you tried just turning it all the way off?
Do you watch the services running on your phone? I routinely stop the DRM service, for example.
Except for the mysterious episodes when I experience this intermittent problem, my overnight battery usage is typically about 1 percent per hour.
Click to expand...
Click to collapse
I've tested over a few nights with a mostly full battery off the charger and reset the timer on CPU Spy. The nights I shut that computer completely off, I get very little battery drain and the phone is mostly in deep sleep according to CPU spy. When it's on, the phone shows a good chunk of CPU at 800mhz and more battery drain.

[Q] Weird wakelock mmc0:0001:2

Under kernel wakelocks in better battery stats. Is anyone getting the mmc0:0001:2 wakelock? It has some serious counts an I think it's a culprit of some deep sleep issues. I tried with factory reset and not restoring anything, just installing bbs and its still there. I'm attaching a pic of insane 1.9 million counts. Anyone got any idea what this is?
EDIT: okay, so I did notice it was ticking like insane when I was downloading some games. And figured I would try turning off Wi-Fi, look and behold, it stopped ticking. Even when I turned it back on it back on it didn't tick up either. But if I turned if screen and later checked it was ticking again. My router had been acting weird lately so I made it forget it and put up a hot spot on my other phone. Now it doesn't tick up either, so must be my router D-Link DIR-655 with latest firmware. Good thing in getting a new router next week. Will update if it's better (going to buy a DIR-865L). Please do report if you are having same problem and find other solution though.
EDIT2: I left it using hot spot and awake time went up like 2 min and deep sleep 1.5 hours. Now it sleeps like a baby. Will update with new router next week. Hope this helps someone.
EDIT3: After a restart it started ticking up again for some reason even when connected to hot spot.
wargreymon89 said:
Under kernel wakelocks in better battery stats. Is anyone getting the mmc0:0001:2 wakelock? It has some serious counts an I think it's a culprit of some deep sleep issues. I tried with factory reset and not restoring anything, just installing bbs and its still there. I'm attaching a pic of insane 1.9 million counts. Anyone got any idea what this is?
EDIT: okay, so I did notice it was ticking like insane when I was downloading some games. And figured I would try turning off Wi-Fi, look and behold, it stopped ticking. Even when I turned it back on it back on it didn't tick up either. But if I turned if screen and later checked it was ticking again. My router had been acting weird lately so I made it forget it and put up a hot spot on my other phone. Now it doesn't tick up either, so must be my router D-Link DIR-655 with latest firmware. Good thing in getting a new router next week. Will update if it's better (going to buy a DIR-865L). Please do report if you are having same problem and find other solution though.
EDIT2: I left it using hot spot and awake time went up like 2 min and deep sleep 1.5 hours. Now it sleeps like a baby. Will update with new router next week. Hope this helps someone.
EDIT3: After a restart it started ticking up again for some reason even when connected to hot spot.
Click to expand...
Click to collapse
Galaxy Note 3 here. I'm getting the same thing, it's causing my phone to stay awake 100% of the time. I turned off my wifi and now the problem is done, but that is a huge hassle as I want to be connected to wifi all day if possible.
Will see if it's a router/modem issue or if it's a wifi on the phone issue.
Niviac said:
Galaxy Note 3 here. I'm getting the same thing, it's causing my phone to stay awake 100% of the time. I turned off my wifi and now the problem is done, but that is a huge hassle as I want to be connected to wifi all day if possible.
Will see if it's a router/modem issue or if it's a wifi on the phone issue.
Click to expand...
Click to collapse
Okay so, kinda forgot to update this thread, forgive me, Im a human I got my new router DIR-865L and I keep getting the same wakelock, however, this doesnt seem to make my phone to wake anymore, so I guess it was my old router, DIR-655 that gave the wakelocks. If you can try with a new router or at least another.
My Galaxy S4 LTE-A has the same problem. It occurs only when I connected to wifi.
Mmc0:0001:2 seems related to sd card, so I removed my external sd card.. but it did no trick.
And it is thought to lead to battery drain.
When connected wifi, battery decreases about 3% per hour, which is nearly three times to LTE.
Sent from my SHV-E330S using Tapatalk
Any updates/solutions? I have the same problem, it started after i rooted my LG G2. Unrooting/changing firmware/factroy reset or changing my router gave no effect
Same problem guys, I have this wakelock always.
Anyone has any solution for it?
send from my N9005 with tapatalk
I have the same thing now, wakelock detector app is showing it running hundreds of thousands of times with the phone only on for a few hours.

Cell Standby Battery Drain

Hey everyone,
I picked up a T2 on Thursday morning coming from a Maxx, and after the first day I felt I wasn't getting quite the battery life I should. After watching the battery stats and doing some research, the issue seems to be due to Lollipop's well-documented cell standby bug. Coming from KitKat I have been pretty frustrated by this, as my T2 will sometimes drain 5% or more in an hour of idling if WiFi (or possibly Bluetooth) is on, and seems to drain much faster with use if WiFi is on. (Note that all of this is taking place in areas with very strong 4g and WiFi signal).
When WiFi is turned on, Cell Standby tops the battery consumption chart by a large margin and my unscientific eyeball test suggests that the battery drains much faster.
Is anyone else having this issue? I'm considering taking the T2 back, but honestly there aren't any other new phones with comparable battery life, and it would be hard to give up the shatterproof display. Other than this I'm loving the phone and Lollipop.
Thanks!
I'm not having that issue at all and I leave my WiFi on pretty much all the time. I just checked mine and in 13 hrs my cell standby was 8%. Honestly idk if that's good or bad.
I guess I'll just keep an eye on it. Over this past night Cell Standby was on for 10 hours and had the Mobile Radio on for 8 hours while the phone was idle. Not sure if this is intended or not. My battery woes could just be in my head.
cell standby has been near or at the top of all 3 of my Verizon Lollipop phones so dont believe its a Turbo 2 direct issue.
I guess I'll just be patiently awaiting marshmallow then!
Try this, idk if it'll help or not but under WiFi settings under keep WiFi on during sleep, choose only when charging.
gfrrt said:
Try this, idk if it'll help or not but under WiFi settings under keep WiFi on during sleep, choose only when charging.
Click to expand...
Click to collapse
Thanks, I'll give it a shot!
I've also read this cell standby time is related to WiFi and possible fixes are as follows. Turn off allow Google to scan for networks even if off, keep WiFi on during sleep charge only, LTE instead of global, and then go into recovery and clear cache. This is what I did and my cell drain is very low. Hope it helps.
gfrrt said:
I've also read this cell standby time is related to WiFi and possible fixes are as follows. Turn off allow Google to scan for networks even if off, keep WiFi on during sleep charge only, LTE instead of global, and then go into recovery and clear cache. This is what I did and my cell drain is very low. Hope it helps.
Click to expand...
Click to collapse
Thanks for the tips - I changed all the settings but I'm having trouble getting into recover. When I try to launch from the bootloader I just get the dead Android with "No Command" displayed below it. Is there something I'm missing? FWIW I have dev mode on and unlock oem bootloader on.
I wouldn't turn on unlock boot loader this disables some security features and unless we have a way to truly unlock it. It's better to leave on. Dev mode doesn't affect drain issue at all. Here's link for booting into recovery.
http://androiding.how/download-droid-turbo-android-5-1-lollipop-ota-update/
gfrrt said:
I wouldn't turn on unlock boot loader this disables some security features and unless we have a way to truly unlock it. It's better to leave on. Dev mode doesn't affect drain issue at all. Here's link for booting into recovery.
http://androiding.how/download-droid-turbo-android-5-1-lollipop-ota-update/
Click to expand...
Click to collapse
Got it. Thanks for the help!
Mine drains fast while sleeping at home. In my case, the signal is poor so the phone has to crank up the radio power, draining the battery.
UPDATE: For anyone interested, the fixes suggested in this thread seem to have done the trick for me. After changing settings and wiping cache I am getting even better battery life (7-8 hours of screen on time up from 5-6 in similar conditions). This could, of course, be due to other factors - but hey, it's worth a shot if your battery is draining quickly!
gfrrt said:
I've also read this cell standby time is related to WiFi and possible fixes are as follows. Turn off allow Google to scan for networks even if off, keep WiFi on during sleep charge only, LTE instead of global, and then go into recovery and clear cache. This is what I did and my cell drain is very low. Hope it helps.
Click to expand...
Click to collapse
Which lte did you pick? There is 2 options. Also how do you get into recovery? Thanks
LTE/CDMA
I personally have noticed that turning off mobile data when connected to WiFi helps. I have done this with previous phones
I experienced this the other day after spending the weekend in an area with spotty service. To fix all I did was reboot the phone.
Ajbeattie said:
UPDATE: For anyone interested, the fixes suggested in this thread seem to have done the trick for me. After changing settings and wiping cache I am getting even better battery life (7-8 hours of screen on time up from 5-6 in similar conditions). This could, of course, be due to other factors - but hey, it's worth a shot if your battery is draining quickly!
Click to expand...
Click to collapse
Hey sorry but could you give a bit of a walkthrough for all the processes you took? Bit of a newbie here and my moto x force doesn't seem to be doing very well with the drain
Giving this a shot now...hopefully this works for me as well
Changing those settings helped immediately

Strange Wifi behavior

I've noticed for the past few days that when i look at my phone in the morning, the wifi is disabled (greyed out). I usually leave the phone on streaming spotify while charging. I can't remember off the top of my head whether this happened when I first had it but I definitely know it has been doing this for the past week. I'm using the Canadian version of the Samsung 7 Edge. Has anyone else noticed this behavior? Any advice would be appreciated since i'm trying to figure out whether this is a software bug or whether something is wrong with my wifi chip. Thanks in advance.
5GHz
I Had similar issues it was because i was connected to 5GHz on my Asus router, I had constant disconnects the the wifi icon was greyed out. I had to switch to 2.4GHz and everything is working smooth. Don't know if it's just me having issues with 5GHz.
At work, I have it connected to 5Ghz for at least 8 hrs a day and leave it on streaming music and wifi never disables itself. I tested the phone last night again but instead of having it plugged in, i just left it on battery, connected to wifi and streaming music. This morning when I woke up, wifi was still on and connected. I've come to a possible conclusion that in my specific case, it could be the fact that it is getting too hot while charging so it turns off the service perhaps ? Does anyone know whether this is a normal behavior ?
Do you have Keep Wifi on during sleep turned off?
meyerweb said:
Do you have Keep Wifi on during sleep turned off?
Click to expand...
Click to collapse
That option is most definitely have that option on. I suppose it could be the router I'm using as it is also an Asus model but that a bit of a stretch. I have since factory resetted it and the issue still persists.

Marshmallow wifi battery drain bug..

After installing marshmallow to note 4 910F, I found out to much battery consumption.. It was more obvius when i left phone at night, connected with my wifi router. It had 20-30% battery consumption at 7 hours. Phone on, wifi on, rest off.
If i turn off wifi, no battery drain.. I loose 3%.
Even with 4G on, and wifi off, i loose much less!!
I tried more than 4 roms 6.01, factory erased everything, even safe mode. Always wifi drain.
In lolipop i had about 3% drain with the same.
Searching in net, i found out same problems mostly with nexus (probably because they had first of all marshmallow and they find it first..). I also found the same for note 5.
Many say to set router to 2.4 gihahz, set static ip, turn off something like v6 ip protocol? I don't remember well.
Also i read, mostly problem exists if router have huawei chip.
Checked mine, and it did had huawei chip..
Anyway i didn't found a solution for this. Tried better battery stats and found out tha alarms was for long time. Sleep was 85%, when normal would be 97%.
I also have a photo showing bigger drain in wifi than 4G.
Anyway how problem solved? I changed router and with everything same, i loose 3%....
But when i connect to other routers coffe, etc, if they have the same chip i still have drain there.
I probably find out the problem in note 4 first of all, as i dont read anything searching so, i inform others here.
note marshmellow battery drain
hope this helps. had the same problem of battery drain and not being able to put phone in power saving mode. i stumbled upon things that the update cuts on and you have no idea, anyway, it seems that the update has the search for other devices running 24/7 and you have to go in and switch it off. since then power mode has been enabled and stays on and battery life is back.
hello , guys .. beezyb can you explain with steps ?! you said that it seems that the update has the search for other devices running 24 hours / 7 days and i have to go in and switch it off ... bla bla .. what you mean with that ? !! can you help me ? !

Categories

Resources