suspend_backoff wakelock killing my battery since 4.3 - Nexus 4 Q&A, Help & Troubleshooting

I've had my N4 since the day it was released and the battery has been generally acceptable.....until I upgraded to 4.3 (stock, rooted).
BetterBatteryStats is indicating the suspend_backoff wakelock is rampant. WakelockDetector is showing I'm only getting 20% deep sleep on days I'm only lightly using my phone. On Android's Battery screen "Android OS" is listed as the top culprit, consuming 40% or more of the total battery.
Google/XDA searches indicate suspend_backoff is related to Chrome, but I'm convinced this is somehow a wifi connectivity problem as this wakelock ONLY happens when connected to my work wifi. On the weekends when not working my battery is fine and I don't see suspend_backoff. If I don't connect to my work wifi while at work suspend_backoff does not show up at all and I'm deep sleeping at 80%.
Unfortunately at work I don't have the capability of configuring/swapping wifi hardware/settings, so I'm limited to finding a solution on my end. Hopefully the solution isn't to have to sit on mobile data all day long instead of connecting to my work wifi.
Any suggestions?

hfuizo said:
I've had my N4 since the day it was released and the battery has been generally acceptable.....until I upgraded to 4.3 (stock, rooted).
BetterBatteryStats is indicating the suspend_backoff wakelock is rampant. WakelockDetector is showing I'm only getting 20% deep sleep on days I'm only lightly using my phone. On Android's Battery screen "Android OS" is listed as the top culprit, consuming 40% or more of the total battery.
Google/XDA searches indicate suspend_backoff is related to Chrome, but I'm convinced this is somehow a wifi connectivity problem as this wakelock ONLY happens when connected to my work wifi. On the weekends when not working my battery is fine and I don't see suspend_backoff. If I don't connect to my work wifi while at work suspend_backoff does not show up at all and I'm deep sleeping at 80%.
Unfortunately at work I don't have the capability of configuring/swapping wifi hardware/settings, so I'm limited to finding a solution on my end. Hopefully the solution isn't to have to sit on mobile data all day long instead of connecting to my work wifi.
Any suggestions?
Click to expand...
Click to collapse
In Settings, Wifi, Advanced Settings turn Network notification and Scanning always available off and see if it helps. Drainage can also be an issue when the Wifi signal is weak, but it can be Google Now! related among other things, Now! likes to give you fresh cards like traffic, news, nearby things and weather, turning Now! off entirely (voice search still works) could still be help. Also using other apps than Google. I know, hardly a real soluton but I replaced as many as I can.

No, wifi scanning is irrelevant since OP wants to use wifi.
What radio are you on OP? I'm assuming .84?

Yep, .84 radio, Google Now is disabled

Anybody?

rom kernel info? screenshots of the issue?

Back in the Galaxy S II days it was related to Google Chrome with the tilt scrolling. I always disable it though.
Sent from my Nexus 4 using Tapatalk

I am experiencing the same issue starting from yesterday, God knows why. The most common advice is to disable tilt-scrolling in Chrome but as far as I could see the Development Tools option has been removed from teh settings. Any other ideas?

could it be because you're using Touch Control for S2W or D2W?

Your work's wifi may have a combination of 2.4 and 5 GHz signals. I would get this wakelock if I allowed android to choose automatically which band to connect to, but if I forced either 2.4 or 5, the wakelock would let up.

Lookas a kernel bug, which has been fixed in teh latest Franco's release.

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.

msm_hsic_host wakelock and battery life

been struggling to get some "normal" battery life on my #nexus4 since 4.2.1 and now I heard from everyone about 4.2.2 gives improved battery life but not to me.
is there anyone that can help me with analyzing how I can improve my battery life?
the current 4.2.2 battery life shows no improvement at all comparing to my 4.2.1 battery life (was on MiNCO and Faux 123 kernel with the same kernel setup during 4.2.1)
Current 4.2.2 setup:
PA 3.0+
Faux 123, 07b1 (for 4.2.2), Intellidemand. Eco Mode off, Max1512 Min384, UV-150 across
battery dropped from 100% to 80%
7h50m (while I sleep) on battery on 3G data connection ONLY (screen cap attached, please ignore the subsequent charging time)
2 minutes screen on time
Deep sleep 86% as shown on CPU Spy (screen cap attached)
Partial wakelocks kind of minor as shown on BetterBatteryStat (screen cap attached)
Kernel wakelocks msm_hsic_host wakelock 42m, improved from 4.2.1 (screen cap attached)
Good signal (screen cap attached)
All Syncs on, Google Locations everything off except Location History
This is mainly a test comparing to previous 4.2.1 setup and battery consumption seems no improvement at all from 4.2.1 to now 4.2.2, as opposed to everyone's comment out there.
Anyone care to comment? Why I can't see any decent battery life as compared to 4.2.1? and as compared to users who have the same setup PA+Faux?
After comparing the CPU Spy screenshot (over 50m not sleeping) and Betterbatterystat (Other) screenshot (awake 59m), it seems like most of these wakelock came from msm_hsic_host (42m). Is it true that this msm_hsic_host wakelock will keep the phone awake independent from any app's wakelock? In other words, even if I have nothing installed, the phone will still wake up if I have this msm_hsic_host wakelock?
schizophrenia said:
been struggling to get some "normal" battery life on my #nexus4 since 4.2.1 and now I heard from everyone about 4.2.2 gives improved battery life but not to me.
is there anyone that can help me with analyzing how I can improve my battery life?
the current 4.2.2 battery life shows no improvement at all comparing to my 4.2.1 battery life (was on MiNCO and Faux 123 kernel with the same kernel setup during 4.2.1)
Current 4.2.2 setup:
PA 3.0+
Faux 123, 07b1 (for 4.2.2), Intellidemand. Eco Mode off, Max1512 Min384, UV-150 across
battery dropped from 100% to 80%
7h50m (while I sleep) on battery on 3G data connection ONLY (screen cap attached, please ignore the subsequent charging time)
2 minutes screen on time
Deep sleep 86% as shown on CPU Spy (screen cap attached)
Partial wakelocks kind of minor as shown on BetterBatteryStat (screen cap attached)
Kernel wakelocks msm_hsic_host wakelock 42m, improved from 4.2.1 (screen cap attached)
Good signal (screen cap attached)
All Syncs on, Google Locations everything off except Location History
This is mainly a test comparing to previous 4.2.1 setup and battery consumption seems no improvement at all from 4.2.1 to now 4.2.2, as opposed to everyone's comment out there.
Anyone care to comment? Why I can't see any decent battery life as compared to 4.2.1? and as compared to users who have the same setup PA+Faux?
After comparing the CPU Spy screenshot (over 50m not sleeping) and Betterbatterystat (Other) screenshot (awake 59m), it seems like most of these wakelock came from msm_hsic_host (42m). Is it true that this msm_hsic_host wakelock will keep the phone awake independent from any app's wakelock? In other words, even if I have nothing installed, the phone will still wake up if I have this msm_hsic_host wakelock?
Click to expand...
Click to collapse
Give Harsh's Kernel a try
It seems you have android apps running in the background. That could be your main battery life issue.
Sent from my Nexus 7 using Tapatalk HD
schizophrenia said:
Is it true that this msm_hsic_host wakelock will keep the phone awake independent from any app's wakelock? In other words, even if I have nothing installed, the phone will still wake up if I have this msm_hsic_host wakelock?
Click to expand...
Click to collapse
Yes, AFAIK it's a bug in the baseband (even with 4.2.2). That wakelock is much reduced when on wifi. My msm_hsic_host is often 20% when on 3G :/
as I said, after trying different roms and kernels, it's come down to almost a conclusion that my bad battery life comes from the darn msm_hsic_host wakelock which prevent my phone from sleeping.
Wifi battery life has been very reasonable.
thanks everyone.
Conclusion is, even if I uninstall all possible culprit apps, as long as I have such msm_hsic_host wakelock going on my phone won't deep sleep
I still haven't got a clue how to remove such wakelock.
battery drain investigation
did some testings with [email protected]
Test:
- ran both phones (under different carriers, different roms, same kernel) Nexus 4 on 3G data for a certain window of idle time and we both got around 2.4% an hour battery drain.
- we both got minimal app wakelocks (not 0, but negilgible) but our phones were not deep sleeping the whole time. Why? we both got 1/8 to 1/10 time of msm_hsic_host wakelock
preliminary conclusion:
- even if we install minimal amount of apps which do not cause anyway wakelock, the phone won't go 100% deep sleep as long as we have this signal/radio related kernel wakelock msm_hsic_host wakelock. we also do not know how to get rid of it
- unsolvable atm. seems like a radio/kernel issue that no one can fix (region specific?)
- so it was never about rogue apps that caused my battery drain.
Try others combo's with fresh installs
The msm_hsic_host wakelock is because the 3G modem is connected to the phone as an external USB device controlled by the hsic host controller. When the modem wakes up for any reason (apps sync, location, tower ping, etc...) the wakelock is requested. The problem is that the hsic host controller doesn't go back into suspend mode properly, this is a problem with the kernel. The result is that because the hsic host controller isn't asleep the phone wont enter deep sleep while it waits for the hsic host to suspend.
There is the additional issue that if your signal is poor the operations that caused the wakelock in the first place take longer to complete thus lengthening the time the wakelock is held.
The issue is significantly reduced on WiFi for obvious reasons, all the data is transmitted via WiFi so the 3G modem doesn't need to wake up nearly as often, it still wakes up to deal with tower checks and that sort of thing to ensure that it has voice connectivity, but those events are much rarer.
There are kernels available that attempt to solve this problem, Harsh kernel as suggested by another user has fixes in it along with a lot of other changes, the fixed kernel I'm working on is stock with these changes as well, either should help, it's not possible to eliminate this wakelock completely without shutting down the 3G modem which would of course prevent data and voice use of the phone, but they will reduce the wakelock and may help with your battery life.
thracemerin said:
The msm_hsic_host wakelock is because the 3G modem is connected to the phone as an external USB device controlled by the hsic host controller. When the modem wakes up for any reason (apps sync, location, tower ping, etc...) the wakelock is requested. The problem is that the hsic host controller doesn't go back into suspend mode properly, this is a problem with the kernel. The result is that because the hsic host controller isn't asleep the phone wont enter deep sleep while it waits for the hsic host to suspend.
There is the additional issue that if your signal is poor the operations that caused the wakelock in the first place take longer to complete thus lengthening the time the wakelock is held.
The issue is significantly reduced on WiFi for obvious reasons, all the data is transmitted via WiFi so the 3G modem doesn't need to wake up nearly as often, it still wakes up to deal with tower checks and that sort of thing to ensure that it has voice connectivity, but those events are much rarer.
There are kernels available that attempt to solve this problem, Harsh kernel as suggested by another user has fixes in it along with a lot of other changes, the fixed kernel I'm working on is stock with these changes as well, either should help, it's not possible to eliminate this wakelock completely without shutting down the 3G modem which would of course prevent data and voice use of the phone, but they will reduce the wakelock and may help with your battery life.
Click to expand...
Click to collapse
thanks a lot... these are really helpful information.
thracemerin said:
The msm_hsic_host wakelock is because the 3G modem is connected to the phone as an external USB device controlled by the hsic host controller. When the modem wakes up for any reason (apps sync, location, tower ping, etc...) the wakelock is requested. The problem is that the hsic host controller doesn't go back into suspend mode properly, this is a problem with the kernel. The result is that because the hsic host controller isn't asleep the phone wont enter deep sleep while it waits for the hsic host to suspend.
There is the additional issue that if your signal is poor the operations that caused the wakelock in the first place take longer to complete thus lengthening the time the wakelock is held.
The issue is significantly reduced on WiFi for obvious reasons, all the data is transmitted via WiFi so the 3G modem doesn't need to wake up nearly as often, it still wakes up to deal with tower checks and that sort of thing to ensure that it has voice connectivity, but those events are much rarer.
There are kernels available that attempt to solve this problem, Harsh kernel as suggested by another user has fixes in it along with a lot of other changes, the fixed kernel I'm working on is stock with these changes as well, either should help, it's not possible to eliminate this wakelock completely without shutting down the 3G modem which would of course prevent data and voice use of the phone, but they will reduce the wakelock and may help with your battery life.
Click to expand...
Click to collapse
by the way, would you happen to know if franco kernel has such fix?
I use his kernel because i do feel the fluidity and smoothness of the kernel plus I have his app for the customizations (including color controls).
I tried Faux but I just can't get the same speed.
EDIT: trying Harsh kernel at the moment
schizophrenia said:
I have tried removing almost all apps except the normal google ones ....
and coinciding with this, another user from US also reported that his hsic wakelocks are a lot higher when he travelled to Taiwan and Hong Kong and his thought is it may be due to the fact of highly congested data traffic
Click to expand...
Click to collapse
I decided to respond here instead of cluttering franco's kernel thread... because many of the possible culprits are not kernel related.
Unless congestion is causing re-transmissions, other ppl's traffic shouldn't affect your phone -- certainly not waking it up. Even with retransmits, you would think that there would only be one single but longer wakelock. (The phone really shouldn't wake every 12 seconds on average.)
However, you do have a high concentration of towers there. Perhaps there is more handshaking with towers? I use llama to automate tasks based on cell towers, and sometimes I see a -1:-1:-1 tower -- followed 1 second later by a real tower. So I assume that would have been 2 back to back wakelocks for me. (I'm going to try St. Murray Cell Connectivity Tracker to have a look.)
If it helps, I can tell you that I disable notification/checking on apps such as Play Store and I freeze many pre-loaded gapps -- currents, play books/mags etc., google+, network location, talk, news&weather and I don't use FB/xda apps. And I use gmail servers to poll my imap and then have any mail pushed to my phone.
From your prev screen caps, the one app I would freeze as a test is your VoIP / texting app (line.jp?)
schizophrenia said:
by the way, would you happen to know if franco kernel has such fix?
I use his kernel because i do feel the fluidity and smoothness of the kernel plus I have his app for the customizations (including color controls).
I tried Faux but I just can't get the same speed.
EDIT: trying Harsh kernel at the moment
Click to expand...
Click to collapse
hows harsh?
iammudd said:
I decided to respond here instead of cluttering franco's kernel thread... because many of the possible culprits are not kernel related.
Unless congestion is causing re-transmissions, other ppl's traffic shouldn't affect your phone -- certainly not waking it up. Even with retransmits, you would think that there would only be one single but longer wakelock. (The phone really shouldn't wake every 12 seconds on average.)
However, you do have a high concentration of towers there. Perhaps there is more handshaking with towers? I use llama to automate tasks based on cell towers, and sometimes I see a -1:-1:-1 tower -- followed 1 second later by a real tower. So I assume that would have been 2 back to back wakelocks for me. (I'm going to try St. Murray Cell Connectivity Tracker to have a look.)
If it helps, I can tell you that I disable notification/checking on apps such as Play Store and I freeze many pre-loaded gapps -- currents, play books/mags etc., google+, network location, talk, news&weather and I don't use FB/xda apps. And I use gmail servers to poll my imap and then have any mail pushed to my phone.
From your prev screen caps, the one app I would freeze as a test is your VoIP / texting app (line.jp?)
Click to expand...
Click to collapse
I did a very simple test about tower handshaking by turning off GPS and go to map and i can see my location, under 3G data, jumps back and forth every 10s to 20s. Does that mean the handshaking is not good?
LINE is one app that I have to live with even though it is one of the drainer because i need this app.
anyway I will revisit this later a bit as it's kind of late now. thanks a lot for your analysis and it's very beneficial to me
calanizzle said:
hows harsh?
Click to expand...
Click to collapse
Harsh yields low hsic wakelock
and after franco merged the fix, now r85/r86 yields as few as Harsh.
schizophrenia said:
I did a very simple test about tower handshaking by turning off GPS and go to map and i can see my location, under 3G data, jumps back and forth every 10s to 20s. Does that mean the handshaking is not good?
Click to expand...
Click to collapse
Unlikely that it indicated anything related to your battery.
Llama learned about 12 towers within my cell. I would expect much more in HK so I was only exploring what happens when you have so many towers within range -- whether the phone constantly have to handshake with every tower in range or only react to changes with the current tower. St Murray shows many changes (e.g. signal strength or location changes) but that doesn't cause an usually high wakelock count for me. So maybe there is only a wakelock on a handoff.
schizophrenia said:
LINE is one app that I have to live with even though it is one of the drainer because i need this app.
Click to expand...
Click to collapse
That's what I assumed... but it's worthwhile freezing it for 20 minutes and decide what to do if it turns out to be the culprit.
iammudd said:
Unlikely that it indicated anything related to your battery.
Llama learned about 12 towers within my cell. I would expect much more in HK so I was only exploring what happens when you have so many towers within range -- whether the phone constantly have to handshake with every tower in range or only react to changes with the current tower. St Murray shows many changes (e.g. signal strength or location changes) but that doesn't cause an usually high wakelock count for me. So maybe there is only a wakelock on a handoff.
That's what I assumed... but it's worthwhile freezing it for 20 minutes and decide what to do if it turns out to be the culprit.
Click to expand...
Click to collapse
i will try freezing a few apps and see
man. thanks a lot for the constant help.. although some of them i do not understand but i can see you are trying to help
appreciate it
schizophrenia said:
i will try freezing a few apps and see
man. thanks a lot for the constant help.. although some of them i do not understand but i can see you are trying to help
appreciate it
Click to expand...
Click to collapse
iammudd, check this out
freezed: LINE, Whatsapp, all Sync, Zooper Widget (different time frame as I did not have 7 hours for that)
Yes sure the battery got better a bit
it's quite likely it's LINE which caused the difference
let me try one more time by just freezing LINE maybe tomorrow or something
thoughts?
schizophrenia said:
freezed: LINE, Whatsapp, all Sync, Zooper Widget (different time frame as I did not have 7 hours for that)
Click to expand...
Click to collapse
Yes, those apps had some effect but not as much as I had hope. You're still getting 1357 msm_hsic (1 in 15 sec).
In the kernel wakelock screen, PowerManagerService shows you the total of partial wakelocks. You want to google the top items in partial wakelocks screen and see what's causing them. During sleep, I DON'T have sidekick_trafficintentservce, signalcollector nor rilj
Did a quick search and it seems like sidekick is related GoogleNow (which have been reported as a power hog since it uses gps and then keeps searching for nearby stores, etc.) The other 2 seem to be from location reporting. I don't have any of these 3 enabled if that helps so try disabling gps and location reporting in settings (and freezing gNow, latitude, fb reporting, etc)... You can decide what you want to keep later. (FB has also been reported to be bad for batt. Ppl use the web interface instead.)
You may also want to check out this tutorial on BBS http://www.alliance-rom.com/community/wiki/better-battery-stats-guide/ Also, I was referring to these apps to check cell towers:
https://play.google.com/store/search?q=llama and https://play.google.com/store/apps/details?id=org.stmurray.CellConnectivityTracker
iammudd said:
Yes, those apps had some effect but not as much as I had hope. You're still getting 1357 msm_hsic (1 in 15 sec).
In the kernel wakelock screen, PowerManagerService shows you the total of partial wakelocks. You want to google the top items in partial wakelocks screen and see what's causing them. During sleep, I DON'T have sidekick_trafficintentservce, signalcollector nor rilj
Did a quick search and it seems like sidekick is related GoogleNow (which have been reported as a power hog since it uses gps and then keeps searching for nearby stores, etc.) The other 2 seem to be from location reporting. I don't have any of these 3 enabled if that helps so try disabling gps and location reporting in settings (and freezing gNow, latitude, fb reporting, etc)... You can decide what you want to keep later. (FB has also been reported to be bad for batt. Ppl use the web interface instead.)
You may also want to check out this tutorial on BBS
http://www.alliance-rom.com/community/wiki/better-battery-stats-guide/
Click to expand...
Click to collapse
thanks for the info
I have freezed FB when screen off already. and I have turned off "all" location reporting/history etc. but I did have Google Now enabled.
Well, with you help at least I know I can achieve close to perfect idle drain IF I disable LINE and Google Now etc. But nevermind as I need these 2 apps to run. Still, as I assumed, my wakelocks would still be somewhat higher than in other countries.
i am undervolting 1 step at this moment. it helps a tiny bit. ha
Did you see a reduction in idle drain when you switched to Franco r85/86? I saw a reduction in msm_hsic_host wakelock but no reduction in battery drain (still 3%/hour).
zouden said:
Did you see a reduction in idle drain when you switched to Franco r85/86? I saw a reduction in msm_hsic_host wakelock but no reduction in battery drain (still 3%/hour).
Click to expand...
Click to collapse
on r85/86, for me personally, the hsic wakelock has been reduced together with battery drain.
but r90 the battery drain came back even though the hsic wakelock is still low

Battery drain on nexus 4 since yesterday

So, yesterday I noticed a sudden battery drain on my nexus 4. After checking battery it showed that AndroidOS takes over about 50% of the battery usage. It also showed that time awake was pretty much the same as the amount of time since I unplugged the phone, even though I kept my phone in sleep mode for the most of the day. After some research I downloaded better battery stats and it showed that from the moment I turn the screen off a process called suspend_backoff runs pretty much the entire time. Eventually I got it down to wifi. If I turn off wifi there are no processes running after the screen is turned off (or if there are they are 30 seconds tops), but the moment I turn wifi on suspend_backoff runs pretty much the entire time screen is off. I tried removing all of my apps, as well as doing factory reset but nothing helps. The moment I turn wifi ON this suspend_backoff consumes pretty much all the time during screen off period. Is anyone experiencing anything like this ? I have 4.2.2 on the phone and I havent' seen this extreme drain until just yesterday.
I experience the samething. Android OS would drain as much as the screen time.
I narrowed it down to the suspend_backoff. But the weird thing is that when i'm at home on my home wifi, suspend_backoff doesn't seem to drain anything at all. But when I'm at school, suspend_backoff kicks in.
Anyone help?
hihihoho said:
I experience the samething. Android OS would drain as much as the screen time.
I narrowed it down to the suspend_backoff. But the weird thing is that when i'm at home on my home wifi, suspend_backoff doesn't seem to drain anything at all. But when I'm at school, suspend_backoff kicks in.
Anyone help?
Click to expand...
Click to collapse
how did you narrow it down? Im having the same problem!
This is caused by a kernel wakelock. A bad mobile connection make battery drain worse... using WLAN nearly fixes this problem.
Thought this problem has got fixed in 4.2.2, at least battery life got improved and the wakelock reduced.
If it is appearing since yesterday, it is triggered by a app often waking the phone up using mobile data (that's why fixed with WLAN) and prevent the phone from getting into deep sleep as fast as it should.
hope i could help.
I use Greenify to hibernate every single user installed apps, then I release them one by one to see which one cause suspend backoff. But suspend backoff still occurs. So I think it's the kernel itself.
AW: Battery drain on nexus 4 since yesterday
hihihoho said:
I use Greenify to hibernate every single user installed apps, then I release them one by one to see which one cause suspend backoff. But suspend backoff still occurs. So I think it's the kernel itself.
Click to expand...
Click to collapse
as i said before, an app needs data, so it starts callung the kernel wakelock... this one causes tje drain, not the app itself
Sent from my Nexus 7 using xda app-developers app
hihihoho said:
I use Greenify to hibernate every single user installed apps, then I release them one by one to see which one cause suspend backoff. But suspend backoff still occurs. So I think it's the kernel itself.
Click to expand...
Click to collapse
Yeah, definitely not user apps. I did full reset on the phone to factory settings, no user apps. Even tried disabling Google Play and Google store after the reset. Still the same. The only thing that gets rid of it is disabling WiFi.
hihihoho said:
I experience the samething. Android OS would drain as much as the screen time.
I narrowed it down to the suspend_backoff. But the weird thing is that when i'm at home on my home wifi, suspend_backoff doesn't seem to drain anything at all. But when I'm at school, suspend_backoff kicks in.
Anyone help?
Click to expand...
Click to collapse
When did you start noticing this ? Has it been for a while or just recently ? I first noticed it yesterday (had the phone for a bit over a month now, didn't see any issues until just yesterday)
hihihoho said:
I use Greenify to hibernate every single user installed apps, then I release them one by one to see which one cause suspend backoff. But suspend backoff still occurs. So I think it's the kernel itself.
Click to expand...
Click to collapse
What is the difference between greenify and limit background apps in developers options?
AW: Battery drain on nexus 4 since yesterday
stop discussing, use search instead... http://forum.xda-developers.com/showthread.php?t=1999368
like i told you 3times now.... it's the wakelock
Sent from my Nexus 7 using xda app-developers app
indoh said:
stop discussing, use search instead... http://forum.xda-developers.com/showthread.php?t=1999368
like i told you 3times now.... it's the wakelock
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yeah, it's clear that it's the wakelock. What's not clear is why. Also it's not the msm_hsic_host that the forum link you sent refers to. I don't have a problem with msm_hsic, that one barely takes any time during the day (maybe 30 seconds during several hours of standby). The wakelock causing this particular issue is "suspend_backoff" wakelock which supposedly happens when there is a sequence of sleep/wake calls too close together so the system decides to keep it awake. I was unable to find what exactly is causing the issue, even after restoring to the factory settings I kept seeing the same problem.
Anyway, I was able to "resolve" it by installing JuiceGuard app and setting it so it disables wifi when the screen is off. wakelock is gone now and my battery usage is back to normal.
I only get the suspend backoff wake lock when I'm connected to the university Wifi. When I'm at home, everything is fine, no suspend backoff. So my guess is that the Wifi encryption at university is different and causing a succession of close "awake" and cause wake lock.
I did factory reset like 3 times and it still there.
I'll try disable Wifi on Monday and see how it goes.
Same here, when wifi disabled the wakelock doesn't occur.
I have tried almost all of the kernels and non of them seem to help.
hihihoho said:
I only get the suspend backoff wake lock when I'm connected to the university Wifi. When I'm at home, everything is fine, no suspend backoff. So my guess is that the Wifi encryption at university is different and causing a succession of close "awake" and cause wake lock.
I did factory reset like 3 times and it still there.
I'll try disable Wifi on Monday and see how it goes.
Click to expand...
Click to collapse
Interesting... Maybe it is encryption. One thing with my Wifi is that it doesn't use password, but MAC list instead. It may indeed be an issue with different wifi encryption types.
OP do you have maps 6.14 on your phone? Mine kept switching on location reporting for a while and it woke my phone 344 times last night. I've been struggling with the same wake lock issues. I'm going to recharge (again) with maps disabled and see if that helps.
Sent from my Nexus 4 using Tapatalk 2
Check your Google account sync settings... In settings
The clowns may have left you a lovely gift there without telling you or asking any kind of permission.
The latest Maps was giving me horrible battery drain, on WiFi. I'd sleep for six hours with a fully charged phone and wake up with 10% left. it even enabled itself when. I disabled it in settings. I converted it to a user app by moving it to /data/app and greenified it. Seemed to have solved all of my issues with the suspend back off wake lock.
Download greenify
Sent from my Nexus 7 using Tapatalk 2
For some weird reason, I was also having serious battery drain suddenly since yesterday.
Turned out it was maps, and disabling Google network locations hugely increased battery life
Sent from my Nexus 4

[Q] Stuck in 918MHz CPU usage, very little deep sleep, WiFi bouncing around

I'm having an issue where my S4 is just running hot all day long and my battery is getting thrashed. I've used CPU Spy and see that its mostly up in the 918MHz band and not much deep sleep. I thought I used to see it run mainly at 384MHz and deep sleep for the majority of the time.
I've used wakelock detector to try to find the culprit, but have had no luck. Reboots, clearing the cache, nothing seems to alleviate this. There is quite a bit of Sprint Network Vision going on in my area and my phone signals are bouncing around, but even on WiFi its terrible. Speaking of WiFi, I constantly connect and disconnect from WiFi Access points at my work. Eternally frustrating.....
so my two questions are:
1) please tell me what your phone sits at most of the time with CPU Spy
2) do you constantly see issues with disconnecting WiFi on your S4?
details: I'm running STOCK, NOT ROOTED with Nova Launcher, no mods.
mmark27 said:
I'm having an issue where my S4 is just running hot all day long and my battery is getting thrashed. I've used CPU Spy and see that its mostly up in the 918MHz band and not much deep sleep. I thought I used to see it run mainly at 384MHz and deep sleep for the majority of the time.
I've used wakelock detector to try to find the culprit, but have had no luck. Reboots, clearing the cache, nothing seems to alleviate this. There is quite a bit of Sprint Network Vision going on in my area and my phone signals are bouncing around, but even on WiFi its terrible. Speaking of WiFi, I constantly connect and disconnect from WiFi Access points at my work. Eternally frustrating.....
so my two questions are:
1) please tell me what your phone sits at most of the time with CPU Spy
2) do you constantly see issues with disconnecting WiFi on your S4?
details: I'm running STOCK, NOT ROOTED with Nova Launcher, no mods.
Click to expand...
Click to collapse
It's the WiFi at your work that causes the connecting/disconnecting issue. The WiFi at my school does this as well, I will be connected, then disconnected then connected, etc. But at my house, friend's houses, and anywhere else it will stay connected until I disconnect it.
As for the CPU Staying at 918mhz, try using BetterBatteryStats to see what is causing your issues. or even try GSam Battery Monitor.
Joe0113 said:
It's the WiFi at your work that causes the connecting/disconnecting issue. The WiFi at my school does this as well, I will be connected, then disconnected then connected, etc. But at my house, friend's houses, and anywhere else it will stay connected until I disconnect it.
As for the CPU Staying at 918mhz, try using BetterBatteryStats to see what is causing your issues. or even try GSam Battery Monitor.
Click to expand...
Click to collapse
Yes, I work at a University, but I'm on a network that uses typical WPA2 authentication and not the PEAP authentication, I had IT set that up for me so I could test it. The kicker is that this only happens on my S4. When I had the S3, this did not happen. Eitherway, I think it has to be AP related as you say, it works on my home WiFi just fine and any other single point WiFi.
I've tried BBS and haven't had luck tracking down the misfit application.
I'm going to factory reset this afternoon just because I'm probably due for one
mmark27 said:
Yes, I work at a University, but I'm on a network that uses typical WPA2 authentication and not the PEAP authentication, I had IT set that up for me so I could test it. The kicker is that this only happens on my S4. When I had the S3, this did not happen. Eitherway, I think it has to be AP related as you say, it works on my home WiFi just fine and any other single point WiFi.
I've tried BBS and haven't had luck tracking down the misfit application.
I'm going to factory reset this afternoon just because I'm probably due for one
Click to expand...
Click to collapse
Are you rooted? Highly recommend you wait it out and DL/flash Sac's ROM v7 (should be dropping before the end of the weekend!!).

[Q] Wifi staying connected

Recently my note 3's wifi won't turn off while asleep. Under battery usage it shows that the wifi is on the entire time. The android os also shows as being on for more than an hour (it's also the top app on battery usage). It's lead to a battery drain. Using wake lock detector and bbs I haven't seen any app that is causing the problem. I haven't changed any setting either. The wifi is set to never be on during sleep periods. I remember seeing a post with a problem about this but I can't seem to find it anymore. I really don't feel like resetting back to factory settings. Anyone experience this or know what's causing it.

Categories

Resources