Battery drain on WiFi due to incoming packets - Nexus 4 Q&A, Help & Troubleshooting

Hey everybody,
today I found the reason why my battery is dying so fast in the wireless network of my university and I'm wondering if there is something I can do.
So here the point: Charged my phone before going to sleep. Over night, I had a bettery drain of about 0.4%/hour beeing in my private WiFi (CM12 nightly, Matrix Kernel undervolted). Since alle other devices were off, not much was happening and the phone was in deep sleep for 97%. That's they it should be!
Went to work to the university where I am using the wireless lan, too. Since here are several thousand students, there is a lot network traffic going. Even per switch/router, there are about 50+ devices. Due to that, I got an incoming package count of about 33000 compared to 1000 outgoing packages within 4 hours (this can be seen in Options -> Battery -> Android OS)! Of course, my phone needs to check if the incoming package is indeed for my phone or not - which wakes the device up. So deep sleep went done to 60% within the same time and the battery drain increased to 6-7%/hour. So there is nothing about saving power beeing on wifi compared to beeing on 2G/3G/whatever.
Is there anything one can do to avoid this constant >> waking-up, checking package content, idling and going back to sleep much to late << ? Is there perhaps a way to tell the phone to collect a certain amount of packges before waking up and check them all at once? Are there any kernels that are intellegently programmed to do this? I really hate watching my battery burn at work without doing anything on the phone and having superior (for a N4) battery drain at home!
Glad about any advice or hint.

Related

What is killing my battery life?

My 8125 is suddenly running out of batteries very fast. I suspect this is because of some activity running - if I turn the unit off, and leave it on my desk overnight, it is exhausted by morning (I, on the other hand, am exhausted by morning only if I am turned on. Sorry.)
I have checked for:
alarms and notifcations that are set to go off - there seem to be none
mail and other internet access items - there seem to be none
programs (like SPB Weather) updating themselves too frequently - there seem to be none
My energy settings are normal; sleep in one minute, backlight down, etc.
Is there anything I'm missing? Any suggestions?
wifi, bluetooth. make sure they are turned off.
That's exactly, WiFi and BT even when active in standby really drain the battery quickly.
thanks so much, but.... Wifi and Bluetooth are off - I never turn Wifi on, and I almost always keep Bluetooth off (though I wish there was a way to quickly - or even automatically - turn it on or off, ie, whenever I use it in phone mode, BT would turn on, and when I hang up, it turns off.)
any other thoughts?
Battery Gone Bad
Hey I think your battery is gone bad.
BT Off
Wifi Off
Backlight Down
Sounds to me battery is ready to go to the recycle bin lol
Also check your MSN Msnger Is not onn all the time.
Bernie
maybe it is the battery. the unit is less than a month old, but I just bought a spare battery. I'll compare run-down times on both.
a related question: why would WiFi and Bluetooth consume battery power if the unit is asleep?
-thanks-
I started getting horrible life out of my battery as of last month, but then I upgraded the ROM on it and have been getting FANTASTIC battery life. Better than when I first got the device.
which Rom did you upgrade to?
Summter <sp?> 2.3 for Cingular
soulbarn said:
My 8125 is suddenly running out of batteries very fast. I suspect this is because of some activity running - if I turn the unit off, and leave it on my desk overnight, it is exhausted by morning (I, on the other hand, am exhausted by morning only if I am turned on. Sorry.)
I have checked for:
alarms and notifcations that are set to go off - there seem to be none
mail and other internet access items - there seem to be none
programs (like SPB Weather) updating themselves too frequently - there seem to be none
My energy settings are normal; sleep in one minute, backlight down, etc.
Is there anything I'm missing? Any suggestions?
Click to expand...
Click to collapse
Did you solve your battery problme?
when i am out in the country, where i might rarely get a signal, my battery drains real fast, prob to do with the constant searching for a signal to connect to.
I came upon this thread after my 8125 began having problems with the battery life last week. I'm wondering what kind of battery life people are getting and which settings they have.
For instance, before last week, I was getting little battery drainage during a 9 hour shift at work. Then this week, I was getting close to 55% battery drainage over the same duration. Just a few moments ago, I checked my battery settings and I found out that for some reason, my phone wasn't shut off after 2 minutes of idle time as it was originally set at. Okay, I'll test my battery usage tomorrow at work, but I suspect that was the problem.
Then it got me wondering how long other people have for battery life. With Bluetooth on, wifi off, lowest brightness setting and my auto shut off set at 2 minutes, I was able to last an entire 9 hour shift on standby with only about 4 - 5% drop in battery life. Hopefully, that is what I'll have tomorrow when I test it again with the auto shut off setting in place. What are others getting for battery life (please specify your settings).
I've forgotten to charge my phone at night before, and have had no problems making it through the second day of usage, though I'll usually get a low battery warning.
I keep Bluetooth and data connection on constantly. Don't use Wi-Fi unless I need something really quickly. Backlight is at the lowest active setting. I would say I use it moderately throughout the day. I use it to take important notes and make reminders for myself, along with surfing the internet without worry.
hi
Please check out activesync which drains the max battery..
make sure that activesync is not running in backround. once after disconnecting your mini-usb cable connectivity from PC please check for the activesync status.. if running turn it off.
--tux

A partial answer to the battery drain problem

I have been playing around with lots of Android builds in the last month but always ended up with a to high battery drain over time. Tried every tip in all of the threads but nothing seemed to help to get rid of a constant 50-60 mA drain when the phone was sleeping, got that disregarding which Android build I used and disregarding which WinMo Rom was underneath. This made Android practically unusable for me since i refuse to have to live with disabling everything (Wifi, BT, etc.) just to get a good enough battery life, it just kills usability.
After quite a chase I found the issue and more important the cure . Since i haven't come across this small detail in any of the other threads I think it is worth being shared.
The main reason for the drain in sleep mode is that Android likes to stay in touch with everything and has quite some communication going on which obviously causes Wifi to constantly suck the battery empty.
Go to Settings->Wi-Fi settings->Advanced Wi-Fi settings (you get these only by pressing the menu button on the phone) and change the WiFi sleep policy to 'After 15 minutes'). With this setting you should see the battery consumption in sleep decrease significantly without losing any comfort.....worked perfectly for me, the drain goes down to 3-5 mA as soon as the policy kicks in.

10 hours of standby time

I am really new to android devices.
I got a Rogers moto flipout MB511 (Canada) from my friend recently. The standby time is terribly short. Discharged within 10 hours just standby in an area with good signal strength (-69db, 2G only).
I have disabled background sync, wifi, 3G, used setcpu to use 125/125mhz when screen off, removed facebook account. (I do have gmail account setup) The standby could be even shorter if I don't do things mentioned above.
Tried different roms, like 0.18.4 (This is en.CN rom), U3_01.14.2 (This is a rom without Motoblur, is really fast!), no noticeable improvement. With Powertutor, I haven't found any suspect app consuming too much battery power.
I was expecting at least 2-3 days with phone standby in 2G.
Does anyone have the same issue with me. i am wondering if this is hardware related issue or software issue. I suspect this phone might have current leaking issue. Is there any software can accurately report current?
Any suggestions?
That also arrives at me that do I have to make?
the same trouble to me
I'm guessing it's just a standard effect of how the phone draws power. The guy i bought mine from on eBay included an extra battery with it, for that reason.
But this is definitely abnormal.
Using *#*#4636#*#*, I found the there is some problem with Android system, which holds partial wake lock most of the time. So the phone is not in sleeping state for most of the time.
I don't have data to prove this. I know some of the guys' flipout can last 2-3 days, and they all have data plan (not just something like unlimited browsing, with only 80 port available.). For some of the reasons, I feel this is caused by Moto blur. A lot of blur stuff is put into android system. They might try to communicate with the blur server, which requires SSL and 80 port available. Because my phone doesn't have data plan, communication will fail. During retry, the blur keeps partial wake lock and prevent phone from sleeping.
I got this issue with all firmwares that runs on my phone, including the deblur version. I think even the deblur version has a lot of blur stuff and try to pass back some user data back to moto server based on IMEI.
Try buying a new oem stock battery?
I am pretty sure it is not the fault of the battery. I have 2 stock batteries, standby time is proportional to their capacity.
The issue is obviously the partial lock.
Same here
Battery goes pretty fast even when not using the phone, even worse when using it.
Yeah I'm also experiencing same problems! I'm using the deblur version.
Battery drains like hell! I'm also on 2G, no wifi, no gps, no data sync!
I've checked my battery usage and this is what I got:
Voice calls: 32%
Cell standby: 22%
Phone idle: 18%
Android OS: 16%
Android System: 4%
ZDbox: 3%
Display: 2%
Cell standby, Phone idle and Android OS seem to be quite high. Anyone know why?
Thanks
Hi,
Same sh*t here...
I have better results if I am running the JuiceDefender (extreme profile: data on demand) and SetCPU (profile: on screen off: 125/125) . Note that on the SetCPU the profile options (on the top of the profiles) MUST be checked in order to be active... Unfortunatelly I am stuck to 3G only (feckin three-mobile-UK does not allow to fallback to 2G)
Also, I am running the "Quick Settings" in order to cut off quickly the GPS/data/wifi.
BTW, be sure that the Settings -> Data Manager -> Data Delivery -> Blur Applications is set to "Sync over Wi-Fi Only"
My results so far are :
mobile left the overnight charger arounf 7:30, then after 12hrs (19:00) the battery is around 60% .. all this time just some sms (no calls at all) plus around 10min email check..
cheers
reptakos said:
Hi,
Same sh*t here...
I have better results if I am running the JuiceDefender (extreme profile: data on demand) and SetCPU (profile: on screen off: 125/125) . Note that on the SetCPU the profile options (on the top of the profiles) MUST be checked in order to be active... Unfortunatelly I am stuck to 3G only (feckin three-mobile-UK does not allow to fallback to 2G)
Also, I am running the "Quick Settings" in order to cut off quickly the GPS/data/wifi.
BTW, be sure that the Settings -> Data Manager -> Data Delivery -> Blur Applications is set to "Sync over Wi-Fi Only"
My results so far are :
mobile left the overnight charger arounf 7:30, then after 12hrs (19:00) the battery is around 60% .. all this time just some sms (no calls at all) plus around 10min email check..
cheers
Click to expand...
Click to collapse
three uk are a 3g only network they have no 2g system
all of their handsets have been 3g from the start because of video calling
I´ve got 24h+ Standby time, Deblur + Juice defender + Never make/recive calls with this ****.
i had the same problem. only 6/7 hours tops with juice defender on!
i switched of 3g and now it does 20 percent a day!
must be a firmware issue.
i got deblurred rom, euro.
with rom deblur,setcpu with screenoff freq 125-250 (screenon 125-550mhz),juicedefender free (set screenoff no data,app update freq 30min),10 sms received,15 mins of call,internet navigation about 10min,my flipout is now at 50% of battery (the phone is on by 9.00AM)...
but with this setting and with a more intensive use (20-30 mins of call,10-15 sms,30-40 mins of internet) my flipout goes at 0% in about 12h
Hi,
Its almost 2 months after my last reply here..
My flipout now can stay 48h on standby, and on normal usage (around 50 sms send/receive and 30min of 3g data..) can be stay alive for 1.5 days ..
The applications that I find very usefull are:
SetCPU (I set the phone to be 125Mhz min/max when the Screen is OFF)
DataSwitch ( to kill any data connection)
Autorun manager (to avoid running some apps like Skype)
I also re-calibrated the battery a couple of times (I left it to be completely drained then recharged to 100% and used a util called Battery calibration)
Not bad anyway...
cheers

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.

Battery Drops to 81%, Only 3% Usage Detected

Hi everyone,
I performed a Factory Reset on my Samsung Galaxy S7 Edge as all of a sudden I was experiencing poor battery performance. Since the Factory Reset, I now only have the device's default apps installed, with the exception of me installing WhatsApp!
The features turn on are: WiFi, Location, Bluetooth, Mobile Data, Sync, NFC and Always On Display (Night Clock). This has always been the case since day one and I don't really want to start having to disable features as that becomes a nuisance.
Just before going to sleep, I charged my device to 100% and then unplugged it. On checking it this morning, the phone had been on battery for 7 hours 53 minutes (totally unused during this time) and it reports the following: Cell Standby at 2% (53 mAh) and Device Idle at 1% (41 mAh) and that's it.
For the first year, the phone would only drop by say... 3-5% for the whole night (with all my fancy apps installed!)
Why would the performance drop so significantly? How can I fix this? Could the Android OS be doing something in the background that it actually isn't aware of and is eating up my battery?
Any comments and tips would be greatly appreciated.
Kind regards,
X22
Welcome to my world...I have the same issue with my phone from the start. Could never understand how other people can get great battery life and I can't. When not using my phone, I loose 3-5 % per hour, more if I use it. My phone never goes to sleep/deep sleep. I tried all combinations to save battery life, but to no avail. I took my phone to Samsung as my display developed grey lines a month ago. I got my phone back and they informed me as part of their service I got a new battery free of charge. With the new battery I get 2% drop per hour, when not using the phone, still no deep sleep etc. We did have an update about 2 months ago and since then the battery life is a bit better when using the phone, it's not draining as quickly, but deep sleep is a big no no when not using the phone...
Hi @termdj
When I first got the phone it was absolutely solid. If you charged it before sleep, you could wake up the next morning and the phone was at a solid 90+% (easily!).
Now with everything turned off (WiFi, Location, Bluetooth, Sync and NFC) the battery is just not performing and loses 20% during the night.
However, I feel it may not necessarily be the battery, but an Android OTA Update which could be causing this. It's only been a short period of time since I noticed it and I haven't noticed a gradual decrease in performance.
Just hoping that some wizard says "you need to do X, Y and Z and all will be sorted"... here's hoping!
Regards,
X22
Look around on XDA and try some of the suggested battery saving tips. I tried some of them, but with a lot of them it's mostly turning of key functions/features....That's not why I bought the phone, so I use the relevant functions. I have made piece that my battery life isn't wow. I think that something is keeping your phone awake, preventing deep sleep, just as in my case...
I also have the same problem since updating to Nougat

Categories

Resources