yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] liput_81:
My previous Galaxy S2 had the main wakelock from a process that was similar. Whenever it used data it kept alive for 5 seconds. I'm guessing this is a similar process on the N4, just with a different name
[Nexus 4 Q&A, Help & Troubleshooting] 3Shirts:
I have this but not as badly as you guys it seems.

I had 23 minutes in the last 4h 18m. I have now turned off the cell broadcasts so I'll see if that helps.

There is a thread on the AOSP about the random screen on: http://code.google.com/p/android/issues/detail?id=39625

EDIT: Turning those broadcasts off has made precisely zero difference for me. In the 4h 33m I have had kernel wakelocks from msm_hsic_host of 22m16s, almost exactly the same as before.

That said, my phone's been on battery for just under 9 hours and I have 62% left so I'm not that bothered.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
I don't have the screen on problem but just for fun I'm going to disable the background data app and see what happens.
[Nexus 4 Q&A, Help & Troubleshooting] hallucynogenyc:
I just discovered google latitude has been embedded into google maps under "location settings", and it was turned on in my device but I don't remember turning it on. I just changed it to "Do not update your location". If it was constantly monitoring my location it would explain a lot. I'll tell you if this solved it because right now from the last 6 hours it has been awake due to "msm_hsic_host" for 3h and 26 minutes, allowing for only 3 minutes and 55 seconds of deep sleep. This is seriously fcked up.
[Nexus 4 Q&A, Help & Troubleshooting] skielbasa:
In case you missed it, SwiftKey pushed an update for Flow that's supposed to shrink its battery usage. I know that this has been contributing to some of our wakelock issues, so if you hadn't given up on it you should update right away. http://www.swiftkey.net/flow/ Further, there is a new update for Fracno's kernel as well. http://xdaforums.com/showthread.php?t=2002782&page=471

Edit: Upgrading SK Flow and flashing from Franko's r23 to r27 has helped significantly. r23 brought me from ~25-30% to ~18-20%; with new SKF and r27 I'm at 4.4% right now.
[Nexus 4 Q&A, Help & Troubleshooting] ChrisHRocks:
Can anyone else confirm this? I'm running the latest cm nightly + faux latest beta but don't think its made much of an improvement.
[Nexus 4 Q&A, Help & Troubleshooting] Michealtbh:
Faux reverted the wakelock fix in the latest beta because it causes data drops for some, maybe try Franco kernel or Faux 4b02
[Nexus 4 Q&A, Help & Troubleshooting] Juduth:
Issue seems fixed for me with Franco latest beta kernel
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Not for me. Still 13.9% on BBS for me. r27 fixed it for me but caused data drops.
[Nexus 4 Q&A, Help & Troubleshooting] skielbasa:
I believe in r28 he reverted the wakelock fixes because they were causing a lot of people data drops.

Sent from my Pink Unicorn Powered nexus⁴
[Nexus 4 Q&A, Help & Troubleshooting] LOulOo:
Finaly, a few days after the factory restoration, the kernel waterlock came back....

Envoyé depuis mon Nexus 7 avec Tapatalk
[Nexus 4 Q&A, Help & Troubleshooting] K3yMaster:
I have been reading this thread and just want to confirm that the only way to fix the wakelock is to install custom kernel like Franco's r28. In other words for people like me who are not interested in unlocking bootloader, root etc. we just have to wait.

Is this correct?
[Nexus 4 Q&A, Help & Troubleshooting] webvictim:
Sounds about right. Google haven't released an update yet that contains the patches.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
Yep. But then again, you own a nexus. Roms and kernels are half the fun! Go for it!;)
[Nexus 4 Q&A, Help & Troubleshooting] K3yMaster:
True, but I have to run some corporate apps as well, which can't run on a rooted phone :mad:
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
You don't need root for get a custom recovery to flash kernels.
[Nexus 4 Q&A, Help & Troubleshooting] nbell13:
This. Just unlock your bootloader and flash away.
[Nexus 4 Q&A, Help & Troubleshooting] pedxing:
Yes. And also i believe certain su apps like supersu allow you to turn on and off su with a click so that root checks by apps show the phone to be non rooted.
[Nexus 4 Q&A, Help & Troubleshooting] K3yMaster:
True, but for apps that detect whether the su binary is present those solutions does not work. The only thing I need to try is the superuser ghost mode.

As others have said, there is no need to root and I have flashed Franco's r29 to get rid of the wakelock. It's a completely different phone lasting ages.
[Nexus 4 Q&A, Help & Troubleshooting] greyphil:
This Bug is really anoying me. Tried faux, franco and still the phone loses 50% battery in 8hs of standby.

If it doesn't get fixed within the next month I will send the phone back if possible. Obvioulsy faulty hard/software...
[Nexus 4 Q&A, Help & Troubleshooting] LOulOo:
A few days after, the kernel wake lock seems to be back... :p

running 30% of the time at 384mhz
[Nexus 4 Q&A, Help & Troubleshooting] floepie:
No way, how can that be? What % of the wakelock time does this occupy? With just about all Google services on, my device runs at about 20%. And even at that high rate, I get about 20 hours of usage with over 3 hours of screen on time and another 3 hours of screen-off awake time (6 hours of awake time).

You might have really poor coverage to get only 16 hours of standby and no usage.
[Nexus 4 Q&A, Help & Troubleshooting] greyphil:
I charged it again, but Better Battery Stats showed the hsic wakelog on the top, as usual. Device was in Deep sleep the entire 8hours, with Data turned off, Wifi on. Had full normal phone reception. Will keep an eye on this and make screenshots next time, had no time this morning and put it on the charger in the car.
[Nexus 4 Q&A, Help & Troubleshooting] floepie:
Well, either the device is in deep sleep or it's not. If there is a wakelock active, then it's not in deep sleep I'm quite sure.
[Nexus 4 Q&A, Help & Troubleshooting] greyphil:
Thats what confuses me too. The wakelock also never appears in the standard Android battery stats. It should show under "Awake" but it never does.
[Nexus 4 Q&A, Help & Troubleshooting] agalvin13:
after using better battery stats, you can see the wake lock name.

I was previously losing 15% overnight in about 7-8 hours. I disabled google now and turned my company email that uses active exchange to manual and it lost only 5%.

I know these are not ideal senarios, but if you are going to be unable to charge for a long time like on a friday night you can disable both of them and it will drastically cut down on the wake lock based on my findings. If nothing else this is a good work around until a patch is released
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Try wiping and installing bare minimum apps to see what's causing it. Franco r29 has gotten it ridiculously low for me. I used to be at 25% before the fix and would drain 15% overnight. Now draining only 5% overnight in battery and it's only 8% in BBS.
[Nexus 4 Q&A, Help & Troubleshooting] bartolo5:
Tried the Franco kernel here too, r28 and r29 and while it makes the 'mdm_hsic_host' wakelock show up less often I'm still having some serious battery drain while on idle. That, and the Franco kernel has all sort of issues like obvious graphics slowdown, weird touch behavior occasionally when using two fingers to settings, and data problems.

I'm back to stock because of the better performance and no obvious usage bugs because I couldn't live with all the quirks of Franco's kernel. Maybe it will get fixed in the next version, but what I'm really interested in is a official release from Google with this fixed. It sad that a Google branded phone is live out there with such severe issues with no action from Google.
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
How much less often? Show BBS screenshots. If you're having serious battery drain problems, it might just be your apps.
[Nexus 4 Q&A, Help & Troubleshooting] dj_jokke:
Could you guys take a look at this? I can't say I'm having huge battery drains, but the msm_hsic_host is always at the top of the list. Today I noticed "PowerManagerService" was eating big chunks of my battery. What does that mean? There's also a picture of the Partial Wakelocks tab in Better Battery Stats. Cheers

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
It would help to have battery usage and screen time from Android battery usage. PowerManagerService is the sum of partial wakelocks. It seems you have 30 min of audio playing. Since audio playing keeps the phone from sleeping that would drain a good bit. A better way to look at battery drain is to just record the usage when your phone is idle. Anything else is you using your phone.
[Nexus 4 Q&A, Help & Troubleshooting] dj_jokke:
Here's the battery statistics:

Screen time is about 2,5 hours.

I did that the other night, and this is what it looked like:

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
2.5 hours of screen time at 45%. You're fine. What are you worrying about?

The idle drain isn't that bad either. What kernel are you running?
[Nexus 4 Q&A, Help & Troubleshooting] dj_jokke:
I was beginning to worry when all of a sudden Android OS was showing up at the top of the stats of battery use, because it wasn't there before. And I actually did have pretty drastic battery drain for a couple of days, and what is there to say it won't show up again?

I'm not a noob, although it might seem like it ;) I just want some input from people (like you) who knows more about this stuff than I do.

I'm running completely stock.

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
How do you know it wasn't an app causing it? You would be able to save quite a bit of battery on the msm_hsic_wakelocks by switching to a custom kernel.
[Nexus 4 Q&A, Help & Troubleshooting] dj_jokke:
It most certainly could have been an app, I just have to wait and see if it comes back. Today has been pretty good though, I'm down to 30% with 15h uptime and 3,5h screen time.

Yeah I've heard a lot of positive stuff about Francos kernel. But I've also read a few posts saying it suffers from, some major and some minor, bugs. Which of course is completely normal. Is Franco the best one?

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
That's really good actually.

Bugs if you play games on your phone a lot. Normally? Not really. I didn't try any others but Franco has a good reputation for being a great kernel dev.
[Nexus 4 Q&A, Help & Troubleshooting] dj_jokke:
I see. Well, I'm gonna sit tight for now and see how it all progress, maybe I'll switch to Franco kernel if I'm having the drastic battery drains again.

Sometime you get paranoid and think there's all sorts of issues with your phone. When that happens its nice that communities like this one exist, and that people like you are willing to help out. So thank you :)

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 Q&A, Help & Troubleshooting] varma111:
I flashed the enhanced stock kernel from faux , msm_misc_host wakelock problem resolved its not a top of the list any more. But i am missing all the goodies from custom kernel.
[Nexus 4 Q&A, Help & Troubleshooting] floepie:
The only setting I have found to have any impact on this wakelock is the "wifi & mobile network location" in location settings. Disabling this, I went from 18-22% hsic wakelock to 6-10%. All other settings including turning off Google Now, turning off Maps background reporting of location, etc. have no effect whatsoever on this wakelock.

The only drawback is of course that because Google Now relies only on network reporting and not GPS location data, you lose location-based card info. But. you would retain search history of places, times, etc. if you have Search History enabled .
[Nexus 4 Q&A, Help & Troubleshooting] qrn:
Franco r33 doesn't contain the hsic fixes anymore.
[Nexus 4 Q&A, Help & Troubleshooting] cocchiararo:
R29 had made it less "fixy" to try to prevent the data drops (it modified the Qualcomm fix), I never got to try any of his kernels, and now the fix is gone :p

If we are lucky, Google gets around releasing 4.2.2 soon with a proper fix

--

Tapatalk2
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Actually r29 was one of the kernels where I got the lowest wakelock time.
[Nexus 4 Q&A, Help & Troubleshooting] Karlo666:
Hi there people im new here.

So im gonna try explain my issue whit Nexus 4.

From first day i had battery drain issues it sucked battery like mad so i reseted device.

Second time i was going to job and turned phone off until i came back home(i dont bring my smarthphone to my workplace becasuse my job is pretty nasty and i could easly break my phone).

I came back,turned my phone ON and chaged it to full then after 4 hours of sleep time Mediaserver was on top whit 85%.

Again i reseted device then was okay for some time,again i turned it off (that nasty job)came back from my job powered it up and gone whit my friend to shopping mall.(Location services > ON GPS > OFF) and found after 1 hour of full sleep time that Android OS was on top of battery usage and Mediaserver was okay.

Turned off completly Location services and battery went okay.

Today also back from job thing,charged phone to full,gone whit my friends on drink for 3 hours(not even touching phone of turning screen on).

Found that Mediaserver was on top whit 85% usage whit 97% battery left.

I think i found a fix and it seems it works for me go check my post(http://xdaforums.com/showthread.php?t=2088080&page=2)

if this can help you.

I will post screenshot in morning for my battery stats.

Phone will be full sleep till 6AM

Services ATM:

Mobile data > OFF

Location services > ON

GPS > OFF

Wireless > OFF
[Nexus 4 Q&A, Help & Troubleshooting] frozndevl:
He has most (if not all) of the prior versions still hosted on his download link.
[Nexus 4 Q&A, Help & Troubleshooting] agalvin13:
your solution is to turn the phone off for several hours?? :eek:

I do not think anything besides an OTA is going to fix this issue unfortunately. it is really a shame since i have to disable GPS and google now in order to mitigate the problem.
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
This has nothing to do with msm_hsic_host wakelock. Plus, with the stuff you have on, you might as well just get a dumbphone.

I found r30 the best in terms of battery life.

GPS isn't even used unless you have apps actually using it. I have Google Now and Latitude on and with franco kernel, the issue is mostly gone.
[Nexus 4 Q&A, Help & Troubleshooting] Karlo666:
Well see the screenshot below i think i have problem is here.

Sorry for Croatian
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Show BBS.
[Nexus 4 Q&A, Help & Troubleshooting] Haomuch:
contains in the latest r34 again. Check it.
[Nexus 4 Q&A, Help & Troubleshooting] agalvin13:
sadly i get work emails on my phone and cannot root or unlock or it will disable my email access. I must wait for the official OTA ;(
[Nexus 4 Q&A, Help & Troubleshooting] kaiser_tytnii:
Unlock bootloader, flash kernel, relock bootloader, reboot, profit!

---------- Post added at 03:11 PM ---------- Previous post was at 03:10 PM ----------

Didn't see it in the change log, please advise where you saw it thanks!
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
They only check root for that stuff. You can still have unlocked bootloader and recovery. You don't need root to flash kernel.

Ninja change--he didn't put it in the changelog. If you look at the github commits, two HSIC patches are in r34.
[Nexus 4 Q&A, Help & Troubleshooting] Karlo666:
Here is update on my battery for this current day.
[Nexus 4 Q&A, Help & Troubleshooting] agalvin13:
as I am currently not unlocked, doing that would wipe my device and cause me to have to re-encrypt and have IT reset my mobileiron profile so i can authenticate.

not so sure about that. If you read through this post it claims that the device was detected after awhile as being "unlocked / rooted / jailbroken" .. i know he was detected for the root but the description makes me think it make be able to tell if you are unlocked

http://xdaforums.com/showpost.php?p=34030763&postcount=26

with that being said, if I was already unlocked i would definitely flash it but dont want to go through the hassel of restoring my entire phone just to flash a third party kernel that may not fix the issue entirely.
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
You're fine. That's not much in wakelocks. Your Android OS thing is due to something else. Probably one of your apps.

You can use adb backup and restore to backup and restore after unlocking the bootloader.

I don't think you can detect unlocked bootloader from the OS. Root is detectable. Android can't be jailbroken so they probably lumped them all in the same category for rooted.
[Nexus 4 Q&A, Help & Troubleshooting] kaiser_tytnii:
If he was on WiFi most of the time... then we wouldn't have expected that much of that wakelock

Yeah I agree with this but I think he's trying to save the troubles from backing up and restoring...
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Either way, I don't know what he's complaining up since his wakelocks are under control. His previous screenshots show him losing only 8% over 16 hours. That's ridiculously good.

Adb backup and restore isn't bad at all. It's way better than having to do a wipe and restoring via titanium backup. It's like doing a nandroid which is basically painless.
[Nexus 4 Q&A, Help & Troubleshooting] kaiser_tytnii:
Thought he was on 7hours according to BBS screenshot, but regardless, don't think this wakelock is much of an issue for people on WiFi all the time...

Yep if you are doing full restore then definitely it is a better option
[Nexus 4 Q&A, Help & Troubleshooting] refertech:
This has worked for me.

I was having this wake lock issue. Flashed faux's b5,2 yesterday night it was perfect (no drain) then went to work. (45 miles) Wake lock up the wazoo still. I believe it has to do with switching towers or something. While at work I did the *#*#4636#*#* and set to wcdma only from preferred. Charged, then went home no wake lock. I will test tomorrow morning to make sure. The wake lock went from 45% to 11% so it did improve. My 2¢.
[Nexus 4 Q&A, Help & Troubleshooting] chrone:
Having bad signal reception make this wakelock even worse. Hehe

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] refertech:
update

Used WiFi last night charged and went to work...wake lock again. Went back in and cycle radio off then back on. It works. Will try no more WiFi and get back.
[Nexus 4 Q&A, Help & Troubleshooting] Karlo666:
That 16 hrs was full from 100% to 92% and phone was all time in sleepmode.

I left my phone home to test it out so you know.
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Yes I know. I can tell from the screenshot. And that's an amazingly good sleep time. If you were getting a lot of wakelocks, it would be way worse.
[Nexus 4 Q&A, Help & Troubleshooting] agalvin13:
Let me see if I understand what you are saying.

1) Boot phone into recovery

2) adb backup –apk –shared –all –f /backup/mybackup.ab

3) fastboot oem unlock

4) boot CWM but do not flash

5) adb restore C:\backup\mybackup.ab (this would restore my system to its previous state similar to a nandroid, including apps such as mobileiron and touch down configured? I would like to avoid the IT at my company knowing I have done anything to my phone)

6) flash franco kernel with fix

7) oem relock

8) profit?

not sure on the order of 5 and 6, but if once you adb restore if your apps still work as they did before and do not reset then I will do this tonight after work.
[Nexus 4 Q&A, Help & Troubleshooting] ubl:
Possible fix

I searched the thread for "wi-fi optimization" and didn't find anyone mention it, so maybe this setting might help? You can access it from android settings -> wifi -> menu (...) -> advanced -> wi-fi optimization.

I say this because I was having the same battery problems, with "android os" as the top battery eater with "wake" time usage close to the phone uptime, and tried turning off wifi over night and have much better battery life. I so far got 15h 10m on battery with "screen" as the top battery user (with 52m screen being on) and the battery is at 75% full now :)

I am now going to try turning on that wi-fi optimization setting and turning on wi-fi signal and see how my battery usage goes.
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
I'm not sure of the exact commands for adb backup as I don't use it. It sounds okay as long as oem lock doesn't wipe. My understanding of adb backup is that it backs up all of your apps and settings. If anything messes up, it's not my fault :p

I tried it before and it made no difference to me.
[Nexus 4 Q&A, Help & Troubleshooting] refertech:
works for me

No wifi no wake lock this has worked for me.
[Nexus 4 Q&A, Help & Troubleshooting] floepie:
What on earth are you talking about?

Sent from my Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] kaiser_tytnii:
you do realize that you show 1% battery usage right?

---------- Post added at 11:20 AM ---------- Previous post was at 11:20 AM ----------

yeah i've never used adb backup as well, but do some research on it and see if it could be done in recovery or just activate developer option under setting will do
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
How did you manage to get 615% deep sleep? Many people including myself have all experienced lower wakelocks under wifi versus data.

I checked and adb does work in recovery.
[Nexus 4 Q&A, Help & Troubleshooting] thracemerin:
I may have solved the issue with data drops related to the CAF patches, if you want to try this for yourself see here: http://xdaforums.com/showthread.php?t=2102986
[Nexus 4 Q&A, Help & Troubleshooting] refertech:
That has been since the last boot. To combine my last few post wifi off, used *#*#4636#*#* cycled off the radio then back on. Then went 1 day not using wifi. My wakelock stayed at or around 10% instead of up to 45%. 615% must be from the one full charge since boot 24hrs ago. Basically my wakelocks are coming from using wifi at night then turning it off on my way to work. Sorry for the confusion.
[Nexus 4 Q&A, Help & Troubleshooting] Karlo666:
I hope Google will do same fix. Thanks for posting this awesome news!
[Nexus 4 Q&A, Help & Troubleshooting] Chuck4197:
I have just tried this. I dialed the number, went into phone information, turned off the radio and turned it back on, and disabled my wifi. I hope it helps.

What i dont understand is that before i moved back to college last week, i was able to get around 4 hours of screen on time while on wifi, with screen being my top battery drain. Since moving back i have noticed that under the same circumstances, my android os has become my top drain. I get worse reception up here than at home, but that shouldnt justify such a huge spike in android os battery drain, should it?

for example, todays battery stats as of now:

35% - 9h 29m 47s on battery

--Android OS 42% (keep awake at 5h 22m 45s)

--Screen 20% (time on 1h 36m 44s)

--Cell Standby 6% (time without signal 38%) ---- usually not that high but i had a 4hr class in a room with awful reception. Its usually in the-teens. this did not have a direct impact on Android OS though, that is always around 40%

--Everything else is 6% and under.

its just frustrating since i came from getting 3-4 hour screen on time for over two weeks at home, to half that since i moved back to school. And i probably use it less here with all the work i have to do lol
[Nexus 4 Q&A, Help & Troubleshooting] yokuyuki:
Being on cellular data worsens the wakelock.
[Nexus 4 Q&A, Help & Troubleshooting] derlotse:
AW: [Q] msm_hsic_host wakelock

Far too high.. When did you reboot the last time?

Gesendet von meinem Nexus 4 mit Tapatalk 2