[Q] Have we found a solution to the MSM_OTG Wakelock? - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

So it seems that the msm_otg wakelock is still happening on 4.4.2 Stock ROM when unplugging the phone from a charger without waking it up first. Has anyone found another solution? Usually, I'm good about waking up the phone before unplugging it, but when I don't, it dies over night.

I never get wake locks and I'm on NE4. I even unplug the phone when it's done charging without waking it first. My battery lasts a good 24 hours if not longer. Then again, I am using the Greenify app too.

I use greenify, as well. This is an old Google wakelock that I've never seen a definitive solution for. Are you still using the stock charger?

Where did you get the info that waking up the phone before unplugging it prevents the MSM_OTG wakelock from happening?
Can't say I'm suffering from it really, but I can see it in BBS from time to time and been wonderring what causes it and how to get rid of it ever since I got my i747m. Never found much interesting infos on the subject either...

The info came from various postings around the web. It shows up on most android versions. I've had it on Touchwiz and Cyanogenmod 10 and 11. I've seen it on the Nexus, Sony phones, and others.

Related

[Q] htc desire wont turn off?!

Hi all, just visiting from the gnex forums. My wife has a desire running the official gingerbread rom. She has a recurring problem whereby she'll power off the phone and it appears to shut down but will still have a grey tint like the screen is still slightly lit. Last night from a full battery it had permanent screen on in the battery stats and was near empty in the morning showing a constant drain all through the night. Has anyone had this issue?, is it related to the gingerbread update or is it just a rogue app??
I've attached an image of the battery stats with the night period being the steep drop on the right...
Any tips or advise is greatly appreciated....
Probably a rogue app. Search for Better Battery Stats app here on XDA to help you see what's keeping it awake.
Furthermore, try disabling fastboot from settings, don't remember which settings, but it should be in there somewhere.
Thanks for the replies. I've got that better battery stats app and just need to read up a bit on how to use it then I'll give it a go tonight. From my searches I found multiple things suggesting it could be an app but it seemed odd to me that it was preventing the phone from powering off and not just preventing it from sleeping.
Regarding the fast boot option I've just found that and it was turned on - what is this option for and why could it cause this problem then? ....
On Better Battery Stats, I usually check Partial Wakelocks - Since Unplugged. Most processes should be below 1% from what I understand. But it will depend on how long you are using a certain app. If you see a process that's been running for so long but you've just used the app related to it for a relative short period of time, then you check that particular app. Maybe the sync option is too frequent or it's just really poorly coded app.
If it appears that a valid android process is the one eating the battery, then an app is probably keeping it awake and you may need to dig a little deeper to figure out what app is causing that.
Regarding the fast boot option, all I know is that it's a feature to reboot the phone without going through the main HTC logo animation. So it's really like rebooting the phone without actually killing the background processes. (Not sure about it though maybe someone can explain this.)
Basically, with the Fastboot option the phone never REALLY turns off, it's a little bit like it's on hibernate, that's why it can boot a lot quicker, as it skips the bootloader and goes straight to booting the system.
Thanks guys. With the fast boot turned off it didn't do it last night so I'll try with fast boot turned on tonight and see what happens - try to confirm what's happening......
Many thanks for your help!
I turned fast boot on again yesterday and the fault occurred again overnight. Went from 100% battery to 55% overnight. Pictures of the stats for useage during this period are attached.
Anyone know what this alarm manager and sleep broadcast are?

S3 Massive battery and "Android System" usage with and without charging

I'm having a problem with my Samsung Galaxy S3 (rooted, but no custom ROM) through AT&T where it's losing battery power at a much higher rate than normal every once in a while.
Specifically, today, I was using the GPS feature and charging it in my car, and yet, even though it said it was charging, the battery continued to lose charge. Also, in the past, the phone has lost charge very quickly, and when I check the battery usage, "Android System" is very high on the list, up to 60% (with "Screen" being at 11%, which is usually the biggest culprit for me since I leave the screen on a lot). One time, I went to bed at around midnight and had forgotten to plug in my phone. When I woke up it was off. I turned it back on and looked at the battery stats using 3c's Battery Monitor Widget and saw that it lost charge quite slowly until about 5am, when suddenly the usage went up dramatically, and the phone went from about 60% to 0% in the course of an hour and a half of non-use.
Because this is not a problem I can reproduce on command, I'm not sure exactly what application/process is causing it. Does anyone have any suggestions or has anyone else experienced things like this happening before? (Besides me having to pay for the "betterbatterystats" app?)
Edit: Also, "Android System" sometimes is sometimes listed as "gsiff_daemon" in the battery stats, and within 3c's Battery Monitor Widget, Android System is separate from "gsiff_daemon", where gsiff_daemon's usage is almost 15 times the usage of Android System.
Checkout this thread to see if the gsiff_daemon is your problem. tl;dr when the system is hot and tearing through the battery, go to system settings -> Developer options -> and check Show CPU usage. If gsiff_daemon is the top or second highest on the list, then that is your problem. To solve it for the moment, use system tuner, or something else, to kill gsiff_daemon. There is no permanent cure at the moment, other than to delete gsiff_daemon. Both of those fixes require root, the non-root fix is to reboot.
If gsiff_daemon is not on the list, then something else is the problem, but Show CPU Usage should give you an idea of what system process is running hard.
Samsung Push problem
J M L,
Thanks for the information. I'll do that if the problem arises again. However I also did something else that looks like it may have been the solution for my particular problem, which was disabling the "Samsung Push" service in the Application Manager. So far, my battery life has gone back down to very reasonable levels.
dansushi said:
J M L,
Thanks for the information. I'll do that if the problem arises again. However I also did something else that looks like it may have been the solution for my particular problem, which was disabling the "Samsung Push" service in the Application Manager. So far, my battery life has gone back down to very reasonable levels.
Click to expand...
Click to collapse
Interesting, I installed "micro cpu monitor" shows thin line at top of screen showing both cores.
I haven't had this happen for some time now but after playing with google play and maps downloading offline maps etc I noticed my 2nd core pegged out.
Having seen this in the past & ignoring it I now realize that majorly drains the battery as well as it getting warm.
A simple reboot seems to be the only thing that fixes it. Clearing ram and closing recent screens dies nothing to clear the "cpu jam".
If left alone, it always shows the culprit as "android system"
As to what part of "android system" I don't know.
But until we figure this out for good, that little micro cpu monitor. App is sweet for peace of mind to know all is well or whether a reboot is needed. For what it's worth, I also noticed that after the event, that my auto rotate to landscape was mysteriously unchecked?
If it jams again, I'll have to see if it gets unchecked again, unknown if there is a relation.
dansushi said:
I'm having a problem with my Samsung Galaxy S3 (rooted, but no custom ROM) through AT&T where it's losing battery power at a much higher rate than normal every once in a while.
Specifically, today, I was using the GPS feature and charging it in my car, and yet, even though it said it was charging, the battery continued to lose charge. Also, in the past, the phone has lost charge very quickly, and when I check the battery usage, "Android System" is very high on the list, up to 60% (with "Screen" being at 11%, which is usually the biggest culprit for me since I leave the screen on a lot). One time, I went to bed at around midnight and had forgotten to plug in my phone. When I woke up it was off. I turned it back on and looked at the battery stats using 3c's Battery Monitor Widget and saw that it lost charge quite slowly until about 5am, when suddenly the usage went up dramatically, and the phone went from about 60% to 0% in the course of an hour and a half of non-use.
Because this is not a problem I can reproduce on command, I'm not sure exactly what application/process is causing it. Does anyone have any suggestions or has anyone else experienced things like this happening before? (Besides me having to pay for the "betterbatterystats" app?)
Edit: Also, "Android System" sometimes is sometimes listed as "gsiff_daemon" in the battery stats, and within 3c's Battery Monitor Widget, Android System is separate from "gsiff_daemon", where gsiff_daemon's usage is almost 15 times the usage of Android System.
Click to expand...
Click to collapse
That happened to me too. But for me, flashing another rom fixed it.
Sent from my SAMSUNG-SGH-I747 using xda premium
Thread hijack! Lol. Anyways. Is cell standby supposed to use up a crap load of battery too?
Sent from my SAMSUNG-SGH-I747 using xda premium
Swaggernaut said:
Thread hijack! Lol. Anyways. Is cell standby supposed to use up a crap load of battery too?
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
No there is a cwm flashable fix floating around here for that
Galaxy SIII via XDA premium
do any of you guys have the "increase volume in pocket" setting on in phone-->settings?
also do any of you have motion settings enabled and/or autorotation on?
Seems it has to do with the gyro issue
also are you guys rooted or non-rooted?
Contact sync?
i noticed this today and while troubleshooting, noticed contact sync from google says "sync is currently experiencing problems..." maybe?
dansushi said:
I'm having a problem with my Samsung Galaxy S3 (rooted, but no custom ROM) through AT&T where it's losing battery power at a much higher rate than normal every once in a while.
Specifically, today, I was using the GPS feature and charging it in my car, and yet, even though it said it was charging, the battery continued to lose charge. Also, in the past, the phone has lost charge very quickly, and when I check the battery usage, "Android System" is very high on the list, up to 60% (with "Screen" being at 11%, which is usually the biggest culprit for me since I leave the screen on a lot). One time, I went to bed at around midnight and had forgotten to plug in my phone. When I woke up it was off. I turned it back on and looked at the battery stats using 3c's Battery Monitor Widget and saw that it lost charge quite slowly until about 5am, when suddenly the usage went up dramatically, and the phone went from about 60% to 0% in the course of an hour and a half of non-use.
Because this is not a problem I can reproduce on command, I'm not sure exactly what application/process is causing it. Does anyone have any suggestions or has anyone else experienced things like this happening before? (Besides me having to pay for the "betterbatterystats" app?)
Edit: Also, "Android System" sometimes is sometimes listed as "gsiff_daemon" in the battery stats, and within 3c's Battery Monitor Widget, Android System is separate from "gsiff_daemon", where gsiff_daemon's usage is almost 15 times the usage of Android System.
Click to expand...
Click to collapse
I read the thread about gsiff_daemon culprit. I had it listed as a possible battery drain culprit. The thread says the issue may happen after a hot reboot...which I did have. Killing gsiff_daemon was not immediately effective. I renamed the file so it wouldn't get used...like the thread recommended. I had to reboot to get normal battery drain back and have yet to see the issue again. But i wont know for some time...or maybe when/if i get a hot reboot...which is really rare. Do yourself a favor, and buy better battery stats. Its a must have tool...and it's not expensive.
I wonder if this problem has been solved with latest lj7 jellybean from sprint
Sent from my SPH-L710 using xda app-developers app
so with some trial and error i found some resolutions ..
first, i used Watchdog and it told me that the media services is killing battery too.
so doing a full wipe does not always fix this.. but what does, is reboot and wait about 1 hour charging and it will calm down. this was just something i noticed. so what i did is wipe out my SD cards, both of them, cleared them out 100% formatted the External SD, and used recovery to format the internal. From there it seem to work, i put my stuff back, and it seems ok.
problem is, when you install a lot of rom's and have bad reboots some files get messed up and you have to do it all over again..
problem was with AOPK, CM and TW roms.
eatonjb said:
so with some trial and error i found some resolutions ..
first, i used Watchdog and it told me that the media services is killing battery too.
so doing a full wipe does not always fix this.. but what does, is reboot and wait about 1 hour charging and it will calm down. this was just something i noticed. so what i did is wipe out my SD cards, both of them, cleared them out 100% formatted the External SD, and used recovery to format the internal. From there it seem to work, i put my stuff back, and it seems ok.
problem is, when you install a lot of rom's and have bad reboots some files get messed up and you have to do it all over again..
problem was with AOPK, CM and TW roms.
Click to expand...
Click to collapse
My experience with froyo/gb/ics is that things have been getting progressively better over the years. But with each so called UPGRADE of an OS or even APPS, we often have to deal with bugs or incompatibilities. I am eager to upgrade to a stock based JB soon, but wisdom says, for 20 things improved, there will be 5 things broken....or hurting in some way. Early adopters suffer the most as usually these issues get ironed out...most of them.
BUT...these stuck drains...wake locks etc., it seems they will happen when they do no matter how many issues get fixed. Over the years, I've had random standby drains caused by Maps/Nav. Maybe it's ok for months, then after a particular update, it's back...and unpredictable. The YES...a reboot, just like with a PC, is a quick short term workaround.
Finally, with the App CURRENT WIDGET, there is a provision to watch for high drain in standby. It watches MilliAmp (ma) readings over time..to determine if you have a rogue drain. That's different than monitoring the CPU. (Some drains do not cause much CPU activity) BUT UNFORTUNATELY, that app won't work with our S3's because of a lack of hardware support. Works great with HTC and many others. It's a bummer because I used to use it and have my HD2 reboot if a 15min consecutive high drain was recorded in standby....thereby saving the battery and usually killing the bug.
Crapppp
Jellybean didn’t solve it. Gsiff_daemon just popped up for me. Just renamed it AGAIN.
Hopefully it won't pop up again
Sent from my SPH-L710 using xda app-developers app

[TIP] Phone SODing after full night's charge? (Tasker Req)

Hello All,
As you can see I'm new here (Well, new to posting, I lurk quite a bit), but after tinkering around with a few JB ROMs, and experiencing this issue myself, I just wanted to share with you something I've used to stave off the "SOD after a full night's charge" issue I've seen a few people mention.
As stated in the thread title, this requires Tasker. This also requires Secure Settings. Both available in the Play Store.
I've created a very basic profile that wakes the CPU up every 2 minutes while connected to an AC power source. This has seemed to prevent SOD for me when waking up in the morning.
Context: Power -> AC
Time: Repeat 2 minutes
Task: Plugin -> Secure Settings -> Wake Device -> "CPU Awake Only" for "5 Seconds"
The reasons behind why I'm doing this:
1. Perhaps the phone is going into deep sleep? Maybe preventing the phone from doing this will prevent SOD.
2. My battery was dying very quickly. So I figured that perhaps after the phone completed charge was when the SOD started. Perhaps this prevented my phone from reading that it was still connected to the AC and allowed the battery to drain while showing 100% charge.
3. Well, why not? I couldn't find anything else to remedy this, might as well try something of my own.
Now, for context, my knowledge of Android is superficial and I know just enough to get myself out of a sticky situation, so my findings may be completely baseless/lucky. Please let me know if I'm incorrect in any of my assumptions or if this is working for you, I'm well aware I'm a noob so there's no need to point it out further
What rom are you running if AOSP why not just check off stay awake while charging? It actually gives me a better charge for my battery and been using it since back in my Evo days
I'm running erickwill's CM10, so this seemed the easiest way for me. Thanks for the info though.
Sent from my SAMSUNG-SGH-T989 using xda app-developers app

Android OS and System suddenly eating battery

Hey everyone,
So i have a stock HTC 10, no custom rom or whatsoever and the battery drain suddenly got very bad. Android OS is on 49% and Android system on 28%. Battery drained 8% over the last hour with 3 mins SOT. I've set back the phone to factory settings and didnt install anything back on it, turned stuff like the GPS location to power saving mode but nothing seems to help. Tons of forum posts also didn't help. I don't want to put a custom ROM on it for now, so i can always send it back to HTC.
One thing that i keep noticing is my CPU usage. Im checking this with the stock android CPU checker and the load is 12.13/13.28/13.68 with only the systemui active. I have forced all apps to stop once but there was no solution. This problem is occuring since mid august. Hopefully somebody is known with this problem.
Edit: running wakelock detector atm
blackjezzx said:
Hey everyone,
So i have a stock HTC 10, no custom rom or whatsoever and the battery drain suddenly got very bad. Android OS is on 49% and Android system on 28%. Battery drained 8% over the last hour with 3 mins SOT. I've set back the phone to factory settings and didnt install anything back on it, turned stuff like the GPS location to power saving mode but nothing seems to help. Tons of forum posts also didn't help. I don't want to put a custom ROM on it for now, so i can always send it back to HTC.
One thing that i keep noticing is my CPU usage. Im checking this with the stock android CPU checker and the load is 12.13/13.28/13.68 with only the systemui active. I have forced all apps to stop once but there was no solution. This problem is occuring since mid august. Hopefully somebody is known with this problem.
Edit: running wakelock detector atm
Click to expand...
Click to collapse
I experienced something similar, funnily enough it was the charger cable causing it. Not sure how or why but as soon as I swapped from the faulty HTC official cable to another cheaper cable the drain stopped. Worth a try
timbohobbs said:
I experienced something similar, funnily enough it was the charger cable causing it. Not sure how or why but as soon as I swapped from the faulty HTC official cable to another cheaper cable the drain stopped. Worth a try
Click to expand...
Click to collapse
I tried another cable, didnt solve the problem unfortunately.
I'm having a very similar issue. Battery drains way quicker in the last few months (20% in 30 minutes) just from web browsing. A factory reset didn't help me either.
I'm trying safe mode now to see what happens (hold the power button, then tap and hold the "power off" option).

kernel wakelock msm_otg & smbchg_wake

Hello guys,
I was wondering why I had 9h awake (screen off) while having only 1,5h screen on time (and like 17h deep sleep) and I found out that msm_otg and smbchg_wake kept my phone awake for about 7h.
Now, all I could find out on google is that waking the phone up before disconnecting it from the cable should stop the msm_otg. However, I dont remember seeing it any time before.
I tested it now, and I connected my phone to the computer to charge it, and after unplugging it it showed me that both wakelocks were active 4h.
I would like to know what they are, if I should disable them, and if they only appear while charging. Also I wonder why they even appear since I never saw them before.
I found this link here, its in german, but it basically says, that one should wake up the device before unplugging it from charging.
I dont know what happends when you dont, I will try that out, for now, i just unlocked my phone before disconnecting and its perfectly going to deepsleep as it should. But i still wonder why that wakelocks are even there..
Greetings,
7080

Categories

Resources