yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] jedisurfer:
I have no battery drain over 2g, 3g, 4g, lte. The only time it seems to act up on me is over wifi. Data in/out should be the same over mobile data or wifi, I can only think it's google's wifi location setting that keeps waking up my phone over wifi. I've tried disabling that option but it keeps coming back. Is there an apk or file I can delete to stop wifi network location.
[Nexus 4 Q&A, Help & Troubleshooting] brianbgrp:
In the BBS thread I was recommended to shut off location services and maps (in auto starts) and disable the Google search bar on home screen(I did in apex launcher options) over the last 3 hours its gone WAY down(12 minutes lock compared to quadruple that earlier).

Just an FYI to anyone else getting really heavy msm locks. Honestly wonder if it's that search bar thing.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] nyijedi:
Are you currently on wifi? I've noticed that mine goes way down when on wifi compared to hspa, even if hspa has a good signal.
[Nexus 4 Q&A, Help & Troubleshooting] brianbgrp:
Combination of the two today as I been running around. However I guess I got a random reboot bout half hour ago. But no last_msg in proc to check. Odd. Still strong battery today. Been off charger since 730am and its 430 still at 62%

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
Just tried this today and it does help. Down to about 4-5% of my total time on this wake lock from a high of like 30% (20 minutes out of every hour). I've had the search bar turned off since the beginning though... I hate that thing.

Unfortunately since it's not eliminated I feel like we're just treating symptoms rather than the disease. It goes down because known chatty services are reduced.
[Nexus 4 Q&A, Help & Troubleshooting] JJustin:
I left my location services on but disabled all the Google plus syncs and notifications under accounts and sync > Google> Google plus

So far, wake lock seems to have been improved, will continue testing.
[Nexus 4 Q&A, Help & Troubleshooting] GeneralRam:
I found this thread by Googling the process - on my first proper day of the Nexus 4 (after a weekend of playing about etc). I have 40 minutes of this wakelock - phone has been running on battery for 5hours, 40m. Current battery is 79% with 36minutes of screen on time.

Don't know if that is any good?
[Nexus 4 Q&A, Help & Troubleshooting] hallucynogenyc:
I've switched from BBS to GSAM, apparently it's all good here, the drain maximum responsible in my case is Whatsapp with facebook on the second place . Maybe it's just that BBS is generically labeling all the push notifications with this name and nothing is wrong?
[Nexus 4 Q&A, Help & Troubleshooting] CMNein:
I'd wondered if it was a catch-all type wakelock; I'm sure Chamonix will update BBS accordingly.
[Nexus 4 Q&A, Help & Troubleshooting] nyijedi:
Where did it say that Whatsapp was causing a big drain? I have Whatsapp installed, and it always shows minimal wakelocks, as well as minimal calls to the alarm system. Did you actually see a large wakelock directly attributable to Whatsapp?
[Nexus 4 Q&A, Help & Troubleshooting] hallucynogenyc:
It simply appeared on the top of the list on the app drain section. I'm liking this app much more than BBS, super intuitive and more detailed information.
[Nexus 4 Q&A, Help & Troubleshooting] nyijedi:
Thanks. Perhaps there are certain settings in WhatsApp that impact the battery life, as I've never had a problem with it (in fact, when I first started using it back on my Galaxy Nexus, I was extremely surprised with how the app didn't hurt my battery life).
[Nexus 4 Q&A, Help & Troubleshooting] hol17:
These are my battery stats on a stock ROM:

I've frozen every app I can think of and still the wakelock appears. This doesn't seem like a generic placeholder for locks. I've installed nothing and have actually uninstalled apps from the stock ROM yet this still happens.
[Nexus 4 Q&A, Help & Troubleshooting] brianbgrp:
Try disabling googlesewrchbox. After doing doing that the wake lock became more reasonable... I'm at 16 hours 1 hour 20 mins of msm wake lock and 2 hours screen ATM. 54% battery life. Full stock rooted

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] ibegary:
Subscribing to this thread. I installed GSAM and it shows Maps using a lot so I disabled latitude to see how well it plays. Currently at 20% with 10h on battery and only 1h27m on screen.
[Nexus 4 Q&A, Help & Troubleshooting] JJustin:
I went under the Google account settings, Google + under privacy, and disabled everything under Google plus. Also disable report from this device in maps.

That seemed to work for me. Wake lock at 6 %.
[Nexus 4 Q&A, Help & Troubleshooting] hol17:
Done both during my tests, not much difference in the wakelock percentages and battery stats. This is literally with all Google Services stopped/frozen/and sometimes deleted.

What I have noticed however is that this lock seems to happen when the screen is off. I actually left my screen on for 20 minutes and the lock never seemed to happen according to BBS. However, after turning my screen off for a mere 20 seconds, the lock happened for 7 seconds.
[Nexus 4 Q&A, Help & Troubleshooting] brianbgrp:
Hmmm I'm at one hour wake lock over 23+ hours off charger and four hours screen. Phones at 15% as I type this. This still seems odd...but I'll accept numbers like that I think.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
I think the problem here, is that we still don't know what "msm_hsic_host" is. I have the hTC DNA and have the same problem with this particular KWL. I'm not sure that the problem will be solved until we find out more about it.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
This. We've made entreaties to both faux and Franco in their kernel threads to check this out. Hopefully we'll get their recognized talents put into the effort.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
Just flashed 4.2.1. Going to give it while and see if there ate any changes.

---------- Post added at 12:42 PM ---------- Previous post was at 11:44 AM ----------

Nope. Seems the same.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
Bummer. I am really hoping it's not a hardware issue. But so far it seems to have something to do with the baseband modem's (MDM9615) high-speed interconnect to..something. The question is what, and why so frequent that it needs to force the phone awake for 10-30% of idle time.
[Nexus 4 Q&A, Help & Troubleshooting] mastibeta:
You realize a wake lock cannot occur when the device is awake, right?
[Nexus 4 Q&A, Help & Troubleshooting] NexUsandThem:
This may or may not be relevant but I have had a bunch of instability issues with my nexus4 . Generally if I leave it plugged in at night to charge the phone freezes. When I went to check the time on my phone last night the clock indicated 12:45 am I tried to lock the phone only to find out it rebooted itself. When the screen lock came on it was 6:15am. I guess it was frozen from 12:45 to 6:15. I was soooo bummed as thought I had several more hours of sleep. I did a bug report today and found a lot of wake lock errors. I also had my phone drain almost 20% with little to no usage. I have reported the problem to the google support team. I have since turned of google currents and goggle now. Lets see if my phone will make it through the night without freezing. 4.2 seems to be somewhat unreliable.

---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------

Actually hoping its software and not hardware at this point.
[Nexus 4 Q&A, Help & Troubleshooting] ghostdgnn:
I have looked at several this online about the wake lock issues. My phone has generally been at Deep Sleep for about 60% during a normal day. 30% wake lock and 10% usage. Those are generalities... I have tried freezing all different kinds of applications from Google with no luck. I also turned off many of the options in location for maps, latitude, and sync'ing of many programs. Still had the wake lock issues.

I have heard that it might have something to do with location based sharing and the use of the baseband to access wireless. So I tried turning everything back on... because that's how I normally would use my phone, but turned off just 1 feature last night then went to bed. Went to settings, Location Access, and turned off Wi-Fi & Mobile network location.

My phone now deep sleeps for 80%, wake lock for 12% and on for about 8% today. That is an improvement for me. My battery is normally about 50% is now at 73%...

Just wanted to share my results.
[Nexus 4 Q&A, Help & Troubleshooting] hol17:
A derp by me.
[Nexus 4 Q&A, Help & Troubleshooting] LOulOo:
i've solved the kernel lock problem with desactivated Google search and Google maps.

Now my battery life is nice
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
You solved the "msm_hsic_host wakelock" problem specifically? Because I tried the above and it did not fix the particular msm_hsic_host problem.
[Nexus 4 Q&A, Help & Troubleshooting] hallucynogenyc:
I think I've solved it: settings-accounts(google)-location and turn it off. I'm not sure what this does but this night it dropped 5%~ in 8 hours compared to 20-30% earlier.
[Nexus 4 Q&A, Help & Troubleshooting] LOulOo:
only 46 minutes (12% used time) of "msm_hsic_host wakelock" for 6 hours used since charged. (versus 50% of the used time before desactivated Google search and Google maps...)

i'm going to try : " turn off settings-accounts(google)-location" (thanks to hallucynogenyc)
[Nexus 4 Q&A, Help & Troubleshooting] LOulOo:
I confirm that this solved the kernel lock

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Q&A, Help & Troubleshooting] hol17:
Tried it, didn't solve the issue for me.
[Nexus 4 Q&A, Help & Troubleshooting] keepittidy:
I ditched IOS due to the lack of Google maps.. Now you're telling me to get my nexus 4 working well I've got to disable maps!! :(
[Nexus 4 Q&A, Help & Troubleshooting] Unconn:
No. Not 'disable maps'. Doing what he said will disable background location udpates for things like Local based search, Latitude, Google Now weather, etc.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
I've been running like that for a week. While it does cause a reduction in the affect of the lock, it does not eliminate it. It also disables some very useful android functionality. Might as well be on gingerbread....

Going to play with new kernels next.
[Nexus 4 Q&A, Help & Troubleshooting] hallucynogenyc:
Im not sure if this "eliminates" the wakelock, but it for sure stops the massive drain.

What functionality have I lost?
[Nexus 4 Q&A, Help & Troubleshooting] LOulOo:
i think the issue is solved with update 4.2.1

location activated, and no more kernel lock ;)
[Nexus 4 Q&A, Help & Troubleshooting] nyijedi:
Since people seem to be honing in on location services as the cause of this wakelock and battery drain, please check out this thread I started a few days ago, which relates specifically to Google Location Services and battery drain. In short, I think if you disable certain aspects of Google's location services, as opposed to turning them all off, you'll see improved battery life and less wakelocks.

http://xdaforums.com/showthread.php?p=34758544#post34758544
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
For me, acceptable total locks, both kernel and partial is no more than 10% and ideally 5% of total time since fully charged. Otherwise you're still getting a lot of extra drain. This was achievable without much effort in my galaxy nexus on ICS and eventually on 4.1.

With location turned off we miss out on Google now, location based searching, some other gapp features as well as third party apps that rely on these features turned off.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
This is spot on. I mean, seriously, we may as well use a flip phone. ;)
[Nexus 4 Q&A, Help & Troubleshooting] optimiss:
Did you do anything else? I am still getting it after the 4.2.1 update.
[Nexus 4 Q&A, Help & Troubleshooting] djkinetic:
the wakelock is still present in 4.2.1
[Nexus 4 Q&A, Help & Troubleshooting] KiNG OMaR:
Unfortunately this is still the case, it really bothers me that the wake lock drains my battery quicker than leaving the screen on. My battery drains slower with the screen actually on.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
Just set your screen to always on and you should be good to go! Lol, just kidding. :)
[Nexus 4 Q&A, Help & Troubleshooting] sona911:
Try this ROM guys, I am on it since yesterday and that wakelock seems to be under control. Check it and tell us the results

http://xdaforums.com/showthread.php?t=2009561
[Nexus 4 Q&A, Help & Troubleshooting] keepittidy:
I must be missing something, If i go into 'Settings' the down to accounts and choose 'Google' then 'Location settings' and switch it off i can no longer use google maps to display my location. :(
[Nexus 4 Q&A, Help & Troubleshooting] hallucynogenyc:
Had not used gmaps, just tried and you're right. I've turned it on back. It wasn't working that great to be honest.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
No change on faux123 build 005.

It does have UV controls so I'm going to pay with that for a bit.
[Nexus 4 Q&A, Help & Troubleshooting] dnlsmy:
Has anyone tried stock Cyanogenmod 10.1 without signing in to your Google Account or using the phone without being signed in? I think it's some Google app that's a bit sync happy, because without signing in on Cyanogenmod 10.1 I've gotten really good sleep times.
[Nexus 4 Q&A, Help & Troubleshooting] brianbgrp:
On aosp builds I've been getting good sleep time.. Still get thevwakelock its just not extremely high like it was... Still managing 3-4 hours of screen time

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
I waited to sign in for a couple of hours on stock 4.2 after a factory reset. It was better but not gone. Similar to having all location settings off and the Google search bar disabled. 5% or a little less. I can reduce the impact too the battery drain tip almost negligible levels.... but as mentioned before it's a bummer to disable so much.
[Nexus 4 Q&A, Help & Troubleshooting] dnlsmy:
Yeah, I'm just trying to figure out if its a buggy app or a messed up sync on a Google App/setting.
[Nexus 4 Q&A, Help & Troubleshooting] El Daddy:
This has been crushing my battery since the 4.2.1 update.

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] dwang:
For those of you getting high wake locks. Are you using HD widgets?

After uninstalling HD widgets, my msm_hsic_host wake lock percentage went down from 20% to about 6%.
[Nexus 4 Q&A, Help & Troubleshooting] phositadc:
Is it safe to assume that NOT all Nexus 4 suffer from this problem? I see screenshots of people with 36 hours off-charger + 5 hours screen-on. Presumably those people do not have the msm_hsic_host wakelock. Right?

But given all the reports in this thread of people disabling everything, doing factory resets, etc., and STILL having the wakelock, it would seem like everybody SHOULD have it. How can a freshly factory reset device with everything disabled have the wakelock, but some other Nexus 4 not have it?

I'm baffled.
[Nexus 4 Q&A, Help & Troubleshooting] ralexand:
I ended up uninstalling HD Widgets becasue BBStats was showing extremely high usage. Now, AccuWeather is the only app that seems to like to wakeup my phone a lot.

With that said, I still have high wakelocks after uninstalling HDWidgets, but I continue to use BeautifulWidgets & Accuweather - both are the only apps I have set to do a pull sync for weather refreshing. I will uninstall those and see what happens (Wish I could just disable them like stock apps so I don't have to go through settings if I choose to re-install).
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
So I did a test last night... Charged it to full, restored the default settings of location on and Google now on and Google search enabled. Took it off the charger.

Looking at battery drain alone it lost 12% per hour over 6 hours. Wtf Google?
[Nexus 4 Q&A, Help & Troubleshooting] ivanthec:
I must have changed something right because my battery life is now excellent. (Optimus G stock, unrooted)

In a different battery stats app I noticed google + popping up a lot. If anyone wants to try this and report back please do so.

1. Adjust Google+ app to where it doesn't required location etc

2. Go into App Settings in Android and clear your google + info and cache

3. do NOT go back and open google + as it will resync your account just leave it

I did a few other things mentioned in the thread along with the google + thing and now I get about 2-3 mins of wakelock per 1-2 hours and my battery lasts 10+ hours with my use. I think my avg now is 13 or so hours.
[Nexus 4 Q&A, Help & Troubleshooting] sona911:
As an electrical engineer I think that this might be a hardware issue. A chip which is poorly soldered or improperly fabricated can suck a lot of electrical power from the battery. Sometimes I don't have the msm wakelock and suddenly it is there. I have the same settings on both my GN and N4 but it is obvious that the N4 battery life is much worse because of this wakelock. Worth to mention also that my N4 rattles (something lose inside) and my earphone speaker buzzes even while the phone is asleep. Although it feels awesome and fast, still It is a cheap phone quality wise.
[Nexus 4 Q&A, Help & Troubleshooting] hol17:
Rattling is due to the camera sensor.
[Nexus 4 Q&A, Help & Troubleshooting] dwang:
I don't think its a hardware problem. This wakelock seems to be present in all snapdragon s4 pro SOCs.

People with htc droid dna have reported the same issue.

I think its just immature code.
[Nexus 4 Q&A, Help & Troubleshooting] sona911:
I hope so. But why isn't it a common issue. Why the kernel developers are not addressing it?
[Nexus 4 Q&A, Help & Troubleshooting] phositadc:
Right, if that were the case, then wouldn't 100% of Nexus 4 phones have it? Again, I'm guessing the people getting 36+ hours battery along with 5+ hours screen-on time do not have this bug.
[Nexus 4 Q&A, Help & Troubleshooting] hol17:
They could have disabled every application that requires background data and even turned off location services which for some, reduced the wakelock heavily. Most battery screenshots I see also include when the person sleeps and doesn't touch the phone.

There are always unknowns for battery life.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
This may be more of addressing the symptoms instead of the disease, but I have discovered what seems to be another trigger for this wakelock. When I am at home and on WiFi, I get the wlan_rx_wake wakelock almost the same amount as the msm_hsic_host wakelock - it is at a close 2nd, and way too high. So there seems to be a correlation. When I am at work connected to 4G (Verizon on my DNA) and I let my phone sit for an hour or so, I have no wlan_rx_wake wakelocks (obviously, since I'm running off of cellular), and much lower msm_hsic_host wakelock numbers - like 6% compared to 20% when on wifi. I have been able to lower my wlan_rx_wake numbers when at home by adjusting some settings in my router (DTIM and beacon), and now the msm wakelocks have decrease as well, although still higher than I would like. So I am guessing it is some high speed interconnect driver that is controlling communication between chips. For example, when my Wifi router sends a network message to my phone, it then wakes up to respond, and the msm_hsic_host driver is activated to control the communication between chips inside the phone. Maybe the Baseband (MDM9615) or other chip is talking to the CPU chip (APQ8064, the wifi is on this SOC too) and then the comm/data process is handled by msm_hsic_host. I'm sure I butchered most of the technical information - sorry in advance - but I think you get the idea.
[Nexus 4 Q&A, Help & Troubleshooting] sona911:
Thx for your explanation, but in my case i have only the msm-hsic-host wakelock, no such wlan wakelock
[Nexus 4 Q&A, Help & Troubleshooting] dwang:
I've noticed this too as well. When i'm at work connected to my works enterprise AP, my msm_hsic_host wakelocks are much much higher than when i'm at home connected to my linksys wifi AP.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
What other kernal and partial kernel wakelocks do you have? I'm wondering if there are other correlations.

---------- Post added at 04:50 PM ---------- Previous post was at 04:46 PM ----------

I read that low DTIM and Beacon settings can prevent mobile battery-powered devices from sleeping properly. Could you report what your AP's DTIM and/or beacon settings are? Also, does your home AP have a lot of associated devices like mine, or just one or two?
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
Yeah mine can look similar to that sometimes when running off cellular too (again on the DNA though). I was looking at the numbers, and it just makes me wonder if Msm_Hsic_host is activated anytime the phone is woken up during deep sleep. There may be no way around this "problem" then other than to reduce the other wakelocks.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
That's pretty interesting. I have two ap's using the same ssid. The linksys has a dtim of 1 and beacon of 100.

The buffalo ap is running a buffalo version ddwrt which doesn't have those settings unfortunately.

Maybe I can put them on different ssid names temporarily and increase the dtim a bit on the one I can change.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
I'd be interested to know if that helps. I read another person used an old wifi AP he had lying around to isolate his phone (and wife's) from the rest of his "chatty" network. He said that fixed his wlan_rx_wake issue.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
Also, FYI I installed aokp today. While the ROM itself is excellent, the msm_hsic_host wake lock is still there.

So far with my normal stuff turned on (location, Google now, Etc) the lock has been hovering around 7 to 12% with my usage so far. Definitely better than 20 to 30%.

Hard to tell what's the ROM and what's related to the full wipe I did.
[Nexus 4 Q&A, Help & Troubleshooting] jacklebott:
Just use

tags like I did in the quote
[Nexus 4 Q&A, Help & Troubleshooting] DarkenCypher:
Can someone give me insight into this new wake lock?
[Nexus 4 Q&A, Help & Troubleshooting] renna1992:
had this a few days ago. never occured again so i actually have no idea.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
I can find very little info on that particular wakelock. Maybe see if a specific app is triggering it.
[Nexus 4 Q&A, Help & Troubleshooting] sano614:
7 hours on battery and I have this wake lock for 39 minutes...

Aokp + matrix kernel.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
OK, spent most of the day on an isolated access point. The phone was the only device on it. Dtim was 1 and beacon at 100 ms (the defaults). I get about 3 to 6% wake lock. That's with all the fun Google services turned on. This is the best result I've had so far.

My read on this is that incoming wan packets triggers the wake lock and a lot of packets means a lot of locks which means a lot of drain.

I still think it's a driver bug which hopefully will get resolved soon. Instead of waking up for a moment and then going back to sleep it wakes up for WAY too long.
[Nexus 4 Q&A, Help & Troubleshooting] seeingwhite:
Sound good... Looks like we are making progress.
[Nexus 4 Q&A, Help & Troubleshooting] chasx003:
Hmm.. If I connect to wifi, this wakelock completely stops, and my battery is awesome.. I'm wondering if I should try and get a replacement, because it doesn't seem like every phone has this issue...
[Nexus 4 Q&A, Help & Troubleshooting] nyijedi:
I've noticed the same thing. I strongly advise against getting a replacement for this. I'm willing to bet just about everything that this is a software issue that does indeed affect ALL phones, it's just that many people aren't looking for it.
[Nexus 4 Q&A, Help & Troubleshooting] chasx003:
Yeah, I don't really wanna take the gamble of a replacement... I'm happy with the phone otherwise, but I don't have wifi at work so it just drains so fast.. I'll give it a few weeks and hope Google or some devs are able to fix it.