I have a question about wake lock and msm_hsic_host
I'm noticing that it definitely in my wakelock bbs. But it only goes up when I have the screen on and using it for the most part.* So my question is, is this ok?* Or should I have no wake lock or msm_hsic_host should not be on for that long?
I'm also curious because this wakelock is crazy high for me
noob4598 said:
I'm also curious because this wakelock is crazy high for me
Click to expand...
Click to collapse
Have you tried to go on plane mode and see if that wakelock goes off? Because when I do that it does go off. I believe is data related. But even when I use WiFi and turn mobile data off that still runs... Lmk
MadTechnique said:
I have a question about wake lock and msm_hsic_host
Click to expand...
Click to collapse
A quick Google search found this, posted at XDA: http://forum.xda-developers.com/nexus-4/help/msmhsichost-wakelock-battery-life-t2155461
"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."
Some kernels address the problem. Some don't. Just Google the wakelock. Lots of info on it.
Pinan said:
A quick Google search found this, posted at XDA: http://forum.xda-developers.com/nexus-4/help/msmhsichost-wakelock-battery-life-t2155461
"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."
Some kernels address the problem. Some don't. Just Google the wakelock. Lots of info on it.
Click to expand...
Click to collapse
I read that before posting and Google it. My question is that I see the wakelock running when the screen is on and used. But when I lock the Oh one it stops running. What I wanna know is. Is this how. It suppose to be? Because it goes on for hoursfor obvious reasons. Also I get the same. Result when I use WiFi. I also have 4g lte if that helps.
Related
I'm currently using Nik's Codename Jellybean ROM and am getting excellent battery life for the last week or so. I have used the kernel that has come along with it.
However, yesterday when I went out - I turned on GPS (turned on for a short period and then off) for the first time since flashing the ROM and since then, the GPSLocationProvider has been providing partial wakelocks every second whenever the phone is not on airplane mode and preventing deep sleep, killing my battery in the process.
I have attached a screenshot from BetterBatteryStats.
I have looked about in the forum and the only solution from a couple of old threads seem to be rebooting the phone so that the phone can go back into deep sleep mode, which is really not the best solution is it?
If there is any solution or a compatible kernel that prevents this, I'm happy to hear from you.
It may also due to your Google location services which is active. Take the dump again with all location, GPS turned off!!
Edit: Location wake lock dump shows its active for long time. Seems like its due to location service not GPS, which you turned on only for a short duration.
Cool - that may help isolate the problem. I will toggle Maps, Location Services, GPS and see what is causing the issue.
Many thanks
Happens to me also on other ROM and device. But only if i start some app, which is using GPS, but its not enabled yet.
In case I enable GPS, than start the app, use it, close app, disable GPS, then GpsLocationProvider is not running in background.
This RILJ wakelock on the dialer seems to be impossible to remove. I've tried everything from disabling all apps, turning off the phone and turning it back on with airplane mode, TWO factory resets, turning off all GPS and location services, and even shutting off my mobile data. I even did all of those steps at once and to no avail.
I'm running stock right now but I seriously can not use this phone when this wakelock is disrupting my phone every damn second. I don't know if this is the right section to post this, but is anyone else experiencing this issue? Is there even hope?
I've tried what feels like everything. I feel like this will drive me crazy to the point where I will just exchange the phone and claim battery problems. Again, sorry if this is the wrong section to post this in, and I feel like such a dirty leech making a help post as my first post. This is my first android phone and I have a lot of experience with java but I need to feel secure with my new phone before I start delving into development.
Are you talking about a wakelock you see in a battery monitoring program? Or an error that keeps popping up?
coobot said:
This RILJ wakelock on the dialer seems to be impossible to remove. I've tried everything from disabling all apps, turning off the phone and turning it back on with airplane mode, TWO factory resets, turning off all GPS and location services, and even shutting off my mobile data. I even did all of those steps at once and to no avail.
I'm running stock right now but I seriously can not use this phone when this wakelock is disrupting my phone every damn second. I don't know if this is the right section to post this, but is anyone else experiencing this issue? Is there even hope?
I've tried what feels like everything. I feel like this will drive me crazy to the point where I will just exchange the phone and claim battery problems. Again, sorry if this is the wrong section to post this in, and I feel like such a dirty leech making a help post as my first post. This is my first android phone and I have a lot of experience with java but I need to feel secure with my new phone before I start delving into development.
Click to expand...
Click to collapse
lampel said:
Are you talking about a wakelock you see in a battery monitoring program? Or an error that keeps popping up?
Click to expand...
Click to collapse
Yes I see the wakelock in both GSam battery monitor and wakelock detector.
coobot said:
Yes I see the wakelock in both GSam battery monitor and wakelock detector.
Click to expand...
Click to collapse
It's a normal wakelock? It's your radio. Turn on airplane mode, and you'll lose the 'wakelock'
MacHackz said:
It's a normal wakelock? It's your radio. Turn on airplane mode, and you'll lose the 'wakelock'
Click to expand...
Click to collapse
Yes I understand this, but the wakelock shouldn't be going off over 2000 times, right? I mean, I'm totally new to android but I've never seen this wakelock before. I'm in NYC and usually have great reception, right now I'm getting 4G LTE 3-5 bars constantly. Could it be a hardware issue with my radio?
coobot said:
Yes I understand this, but the wakelock shouldn't be going off over 2000 times, right? I mean, I'm totally new to android but I've never seen this wakelock before. I'm in NYC and usually have great reception, right now I'm getting 4G LTE 3-5 bars constantly. Could it be a hardware issue with my radio?
Click to expand...
Click to collapse
OK, so before I answer that, what sort of battery are you getting? What's your screen on time?
All android phones have this wakelock. It's not a hardware issue, 100%
Oh, I'm sorry but I also thought you meant a different wakelock xD RILJ wakelock is caused by having a lot of location services on, turn these off (Google Maps, Latitude, Weather constantly refreshing)
MacHackz said:
OK, so before I answer that, what sort of battery are you getting? What's your screen on time?
All android phones have this wakelock. It's not a hardware issue, 100%
Oh, I'm sorry but I also thought you meant a different wakelock xD RILJ wakelock is caused by having a lot of location services on, turn these off (Google Maps, Latitude, Weather constantly refreshing)
Click to expand...
Click to collapse
Here is the battery I was getting (can't post links yet, imgur is very safe): imgur_com/a/jCBG4 Thanks for the speedy responses btw.
I have essentially every single service off, only google's anonymous location service which is required for the weather app to work. All the sync stuff I can't turn off is set to refresh at the lowest intervals.
coobot said:
Here is the battery I was getting (can't post links yet, imgur is very safe): imgur_com/a/jCBG4 Thanks for the speedy responses btw.
I have essentially every single service off, only google's anonymous location service which is required for the weather app to work. All the sync stuff I can't turn off is set to refresh at the lowest intervals.
Click to expand...
Click to collapse
You're welcome. I have the same set up as you and I average about the same battery life, I think your device is fine. I would just stop looking at your wake locks and enjoy! Try flashing ARHD rom! The new base adds 2+ hours battery.
MacHackz said:
You're welcome. I have the same set up as you and I average about the same battery life, I think your device is fine. I would just stop looking at your wake locks and enjoy! Try flashing ARHD rom! The new base adds 2+ hours battery.
Click to expand...
Click to collapse
I didn't have this wakelock for those pictures. This thing is sapping my battery life causing an extra 1-2% drain an hour, which adds up quickly. It also doesn't let the phone enter deep sleep if I remember correctly.
Hi!
I just noticed that my phone does not go to deep sleep if I have wlan on. Though I do not have any long wakelocks according to BetterBatteryStats, just some minutes total while the device have been awake for much more.
Stock .534 unrooted, newly repaired with _only_ BetterBatteryStats and CPU Spy installed. No accounts added etc.
Wlan/Advanced: "Always on"
Location-based wlan: "on"
Low battery mode: "on"
STAMIN mode: "off"
Location based services "on" / "off" tested.
When I have wlan on CPU Spy reports as Deep sleep unused, and instead most of the time is spent in 300 MHz.
Any of you that can reproduce?
Have the same problem. Is that normal that it doesnt goes to deep sleep ?
muslim187 said:
Have the same problem. Is that normal that it doesnt goes to deep sleep ?
Click to expand...
Click to collapse
No, it's absolutely not normal. Something is keeping the device awake, probably a bug.
I left the device over night,
wlan kernel wakelock for 7h, but no long-standing partial wakelocks. I don't get it, how can something keep wifi awake without actually issuing a wakelock?
Bah I have suddenly been afflicted with this issue since yesterday. Noticed battery drain from 100% to 33% with minimal use between this morning and lunchtime while at work. Currently it is charging off my laptop but only holding its own, not increasing. Only had it a week, very little installed on it.
Battery life was fine for the first week of ownership, today it lost 75% with little or no use in 5 hours, then it did not charge when connected by USB to laptop it merely held the same charge, before quickly discharging again when disconnected.
No deep sleep all day
https://www.dropbox.com/s/b19ixx16dgnqrcb/2013-10-07 17.46.20.png
Inquitus said:
Battery life was fine for the first week of ownership, today it lost 75% with little or no use in 5 hours, then it did not charge when connected by USB to laptop it merely held the same charge, before quickly discharging again when disconnected.
No deep sleep all day
https://www.dropbox.com/s/b19ixx16dgnqrcb/2013-10-07 17.46.20.png
Click to expand...
Click to collapse
Hi, can you please verify that you indeed do not have any wakelocks caused by any other third-party programs you have installed? Just to knwo that we are in fact experiencing the same issue. You could also try to disable wlan (and mobile data (I haven't tested to turn that on, as I do not yet have a data plan).
The application needed to test that is Better Battery Stats, available here on XDA (or on Play): http://forum.xda-developers.com/showthread.php?t=1179809
Exry said:
Hi, can you please verify that you indeed do not have any wakelocks caused by any other third-party programs you have installed? Just to knwo that we are in fact experiencing the same issue. You could also try to disable wlan (and mobile data (I haven't tested to turn that on, as I do not yet have a data plan).
The application needed to test that is Better Battery Stats, available here on XDA (or on Play): http://forum.xda-developers.com/showthread.php?t=1179809
Click to expand...
Click to collapse
Today's issue on my phone was driven by several hours of a "bam_dmux wakelock."
edit: and no partial wakelocks so no idea of the driver.
Inquitus said:
Today's issue on my phone was driven by several hours of a "bam_dmux wakelock."
edit: and no partial wakelocks so no idea of the driver.
Click to expand...
Click to collapse
Ok. So it might be the same issue then, though I don't really know what the "bam_dmux" wakelock is.
FYI Mine is back to normal today. Lost 3% in 3 hours of light use. Only thing I have changed is I deleted a Wifi network from my preferred list that the phone was having trouble connecting to, may or may not be related.
I've played with many Roms and been with at least ten Android phones and this issue always come up from somewhere
Experiencing excessive battery drain with wifi on
I had both rx and ctrl wlan wake locks when connecting some routers(actually Creative brand, so to speak) but for a very long time I did not face this MUCH wlan wakelocks. Have you tried any kernels with wlan wakelock disable function or dividiers ?
And for Power manager service wakelocks, I think you know they are related to partial wakelocks.
For sometimes MI 5 battery was acting a bit weird time to time.
Clean flashing to LOS seemed to solve the battery issue, but I discovered another issue while checking up with ampere.
When wifi is on, battery drain is abnormally high. (-870 ma on average in ampere). Even in idle time, there can be 20-30% drain when the phone is virtually nothing. And in addition to that, the heating was a bit high too, with wifi on.
I tried everything I could to solve these. Tested different roms (Xiaomi.eu, LOS, RR, Paranoid), firmwares, tried wavelock blocking and all that.
Of course, I tested the battery drain on a fresh rom - and the issue persisted. So it's not some rouge 3rd party app, unless one of the Gapps is the culprit. But, of course, I even tried disabling some of the gapps like gp service and play store, just to be sure. Yes, the problem exists even with synch and location off, and those wifi scanning and other settings doesn't do anything either.
However, with wifi off, battery was quite good (-100 ma drain on average in ampere)
Recently the issue started escalating. Not only was there the abnormal high drain with wifi on, but toggling wifi crashed the device and started a reboot, after which the device connected.
The only major thing I had remaining to be done - is fastboot. I did even that. Fastbooted into official roms, older 6.0 Xiaomi.eu roms which worked fine in the past ....but the issue persisted. In fact it started to escalate further. More reboots when I try to switch on wifi. Sometimes got stuck in a reboot loop ...and so on.
Right now, wifi is not even connecting. It just stays at 'saved'. Oddly enough, enabling bluetooth and trying to reconnect seems to allow the connection to take place. The drain is still here. (The solutions in this thread: https://forum.xda-developers.com/mi-5/help/wifi-connectivity-problem-t3517777 isn't helping me either)
I don't think this is a router issue either. I did tweak router settings, channels, and all that. I rebooted it and all. No help. And, other devices are working fine with the same router. But, the most definitive evidence that it's not a router problem is that I faced the same issues when trying to connect (with wifi) to a hotspot created from a mobile network from another device.
Do you think it's the worst case scenario: a hardware malfunction?
JRC1995 said:
For sometimes MI 5 battery was acting a bit weird time to time.
Clean flashing to LOS seemed to solve the battery issue, but I discovered another issue while checking up with ampere.
When wifi is on, battery drain is abnormally high. (-870 ma on average in ampere). Even in idle time, there can be 20-30% drain when the phone is virtually nothing. And in addition to that, the heating was a bit high too, with wifi on.
I tried everything I could to solve these. Tested different roms (Xiaomi.eu, LOS, RR, Paranoid), firmwares, tried wavelock blocking and all that.
Of course, I tested the battery drain on a fresh rom - and the issue persisted. So it's not some rouge 3rd party app, unless one of the Gapps is the culprit. But, of course, I even tried disabling some of the gapps like gp service and play store, just to be sure. Yes, the problem exists even with synch and location off, and those wifi scanning and other settings doesn't do anything either.
However, with wifi off, battery was quite good (-100 ma drain on average in ampere)
Recently the issue started escalating. Not only was there the abnormal high drain with wifi on, but toggling wifi crashed the device and started a reboot, after which the device connected.
The only major thing I had remaining to be done - is fastboot. I did even that. Fastbooted into official roms, older 6.0 Xiaomi.eu roms which worked fine in the past ....but the issue persisted. In fact it started to escalate further. More reboots when I try to switch on wifi. Sometimes got stuck in a reboot loop ...and so on.
Right now, wifi is not even connecting. It just stays at 'saved'. Oddly enough, enabling bluetooth and trying to reconnect seems to allow the connection to take place. The drain is still here. (The solutions in this thread: https://forum.xda-developers.com/mi-5/help/wifi-connectivity-problem-t3517777 isn't helping me either)
I don't think this is a router issue either. I did tweak router settings, channels, and all that. I rebooted it and all. No help. And, other devices are working fine with the same router. But, the most definitive evidence that it's not a router problem is that I faced the same issues when trying to connect (with wifi) to a hotspot created from a mobile network from another device.
Do you think it's the worst case scenario: a hardware malfunction?
Click to expand...
Click to collapse
Could you provide battery apps and hardware usage stats and graph?
My prediction it caused by Google location service that try to lock location but was unable to get GPS lock, so it tried to used WIFI scanning to get location lock.
Try to disable WiFi and Bluetooth scanning option on Location - Tri dot menu on top right - scanning
Sent from my MI 5 using Tapatalk
masruri03 said:
Could you provide battery apps and hardware usage stats and graph?
My prediction it caused by Google location service that try to lock location but was unable to get GPS lock, so it tried to used WIFI scanning to get location lock.
Try to disable WiFi and Bluetooth scanning option on Location - Tri dot menu on top right - scanning
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
I can provide the stats later. My device has been offline (normal condition) for quite a while...so there's not much stat to share as of now. I will collect and share them later.
However, I have checked them before. There wasn't anything too interesting. The graph very vividly showed how it fell only when wifi is on...but other than that, most battery was taken by device, idle state or something like that. I didn't find anything interesting in betterbatterystats either. Other than that I did checked the frequencies with kernel auditor too. It seemed normal overall. Though once, I did notice high spike in CPU usage. IIRC, the phone was in deep sleep for most of the time too. Not sure, what the current state is, because new issues are coming up now. So I have to recheck the condition.
I always keep wifi scanning, bluetooth scanning off anyway. So that's not the issue. 'I will again check in the china rom (no gapps), this time more rigorously,....that should clear gapps out of suspicion, if they are innocent.
masruri03 said:
Could you provide battery apps and hardware usage stats and graph?
My prediction it caused by Google location service that try to lock location but was unable to get GPS lock, so it tried to used WIFI scanning to get location lock.
Try to disable WiFi and Bluetooth scanning option on Location - Tri dot menu on top right - scanning
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
Check the screenshot
In a freshly fastbooted MIUI global stable rom (with wifi scanning off, and wifi always on off), I got 1% battery drain (100% -> 99%) overnight (6 hours approx)
But, only in a few minutes battery went down to 91% when wifi was on.
The device was idle in both cases.
In past I have assured that it was in deep sleep. Similar rate drain in chinese rom (so no rouge Gapps), and same drain in custom roms.
The hardware usage was taken after I used the device for a while, which is why drain due to screen on is high. Anyway, even before using the device, the maximum drainage was attributed to 'idle phone' so there isn't really any interesting info. One thing to note, that the hardware battery drain states doesn't consider wifi to be the cause of high drain, however the drain is still clearly correlated with active wifi.