[Q] Battery Drain Issue - HTC One X

Hi all,
I have been using ARHD ROM for a while now, version 5 for a few weeks and noticed the issue on there first and it still occurs after updating to 6.1 over the w/e. I was not aware of the issue before I went to ARHD but was not using/rebooting stock often enough to find out.
I don't think this is ROM related but am not really sure how to go about working out exactly what is causing it.
Normal working is excellent and battery drain is very low - seems to be about 2mA when idle with no WiFi or Data connections.
After a random amount of time - could be 3/4 days or less than 1 day the battery drain increases noticeably. For me it means that after an average days use the battery would be down to 20% or less rather than 40-50%.
I downloaded "better battery stats" to try and identify if possible what was causing it and it seems to be that the "LocationManagerService" is getting stuck with a "Partial Wake Lock". This prevents the phone from going into "Deep Sleep" so I can see on CPU Spy that the 51Mhz time starts increasing considerably and the Deep Sleep stops increasing completely.
A reboot solves the problem for another random amount of time.
After reboot under normal operation the "LocationManagerService" does not seem to register at all for several hours and when it does operate normally it stays towards the bottom of the "better battery stats" list with about 1s of use, even after a couple of days. When it gets stuck in partial wakelock it moves to the top of the list and refreshing shows constant updates indicating that it is maintaining a partial wakelock.
I have tried searching on Google but cannot see any mention of anyone experiencing a similar problem and as I am sure many applications use the "LocationManagerService" I am at a loss as to how I try and work out whether this is a bug in the service or an application that is causing it.
Apart from rebooting every time I notice this I am not sure how to troubleshoot any further, so was hoping one of you knowledgable guys/devs could perhaps make some suggestions as to how I can identify exactly what is causing this?
I would also be interested to find out if anyone else on any other ROM can see the same issue?
Thanks

Related

[Q] phone always awake?

Have read some other threads from other phones but can't get to the bottom of this:
When looking at the battery stats in the settings menu, it reports that the phone is almost always awake, and there is a very minimal difference between awake and up time in the battery statistics.
What could be causing this? A ROM problem? I'm on Leedroid 3.3.3 R5. This seems to be one of the only problems with my phone at the moment. Even though this problem persists, I can still get a day's work with the phone, so not all that critical at the moment, but it would be nice to solve it..
Thanks
Just out of curiosity I checked my awake time and it's on about 80%. I've no idea really. It might be awake due to background apps running. But would be nice to have some light shed upon this. I will look around for something similar.
http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=android+awake+time
http://www.nimdae.com/?p=396

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

phone gets warm on idle

hi friends, my HOX acts funny sometimes. in idle mode the battery drops by 30-40% and when i check the power consumption, android os is the main culprit, consuming 30-40% and sometimes up to 70%. Also when this happens the phone gets warm...i haven't rooted the phone. however after reboot the issue seems to resolve. this happens once a week. other wise the battery is performing good... i have watchdog lite but there aren't any rogue apps as such that it can detect...
any inputs would be appreciated...
No replies!!!
kartoonz said:
hi friends, my HOX acts funny sometimes. in idle mode the battery drops by 30-40% and when i check the power consumption, android os is the main culprit, consuming 30-40% and sometimes up to 70%. Also when this happens the phone gets warm...i haven't rooted the phone. however after reboot the issue seems to resolve. this happens once a week. other wise the battery is performing good... i have watchdog lite but there aren't any rogue apps as such that it can detect...
any inputs would be appreciated...
Click to expand...
Click to collapse
Its difficult to say what the exact problem is as 'Android OS' could be many things.
I don't know Watchdog Lite, but you might want to try Better battery Stats, it has many options and ways to find rogue and batteryg hungry apps. Perhaps this wil help you solve your problem.
It sure helped me solve some battery drain problems.
Otherwise, try disabling as many automatic syncs and try uninstalling/disabling apps one by one, you might find the culprit that way.
If nothing else helps a reset to factory defaults and restoring all apps and setting one by one after that migth help, but seeing your not rooted that might be a big pain in the ***.
Oh, and make sure all your apps and your phonesoftware are up to date

Strange battery usage behaviour

I have a strange issue with my 32G WiFi FLO that I was hoping the knowledgeable members of XDA could help me diagnose.
Since I got it at launch, it's been sucking the battery dry. But not consistently. I have no idea what or why, but here's what I know so far:
All details are with auto sync OFF. WiFi OFF on sleep, location services ON (but cannot use WiFi)
Not unlocked or rooted (stock)
- From boot, and for the first 20-40 hours after that, battery usage on standby averages out to around 0.13% per hour.
- After that, and for no reason I can discern, battery usage jumps to an average of 0.84% per hour, and keeps draining like this usually until I reboot or need to charge
- Stock battery app shows no apps draining, BBS shows no apps draining stuff or excessive wakelocks and indicates the tablet is spending most of its time in deep sleep.
- Life with screen usage seems to be around 7+ hours either way, so this is as expected.
- Sent to ASUS to diagnose & repair, received with note that front camera unit replaced and OS reloaded.
- Issue is still occurring after "repair"
- apps running at the time are usually Android Keyboard, Android Services, Settings. Sometimes Play Store, Currents (even though I don't use it and have never launched it), Google Play Services as well. These are the only apps that run regardless of state of battery drain.
Can anyone think of any reason this is occurring, or where else I can go to check for more info? I'd prefer to stay stock/unrooted.
I'm looking to send it back for RMA *again*, but I'd rather tell them where to look than try and trust that they'll know where to look to fix it this time.
Guess no-one else has this issue or any ideas on where to look for this, since there are no replies

[Q] 'loop' and 'flush' processes issue

First of all I apologize in advance if this is a common problem and I just couldn't locate it, but I have tried searching for this quite a bit now and can't seem to find anything that addresses the problem I have.
I am running my S3 rooted but otherwise pretty stock (4.1.1 - I just never got around to the updates and I am very much a novice at rooting). I have disabled a number of services, apps, etc (with TB) and never really noticed an issue until recently. My android system and kernel usage as shown in GSAM and the built-in stats are top of the list for app battery consumption (screen comes in at #1 overall). I am getting pretty decent battery life I think but I am in the process of breaking in a new battery so it is a little hard to tell. The thing that concerns me is the sheer amount of 'loop' and 'flush' processes showing up in my kernel stats. I am attaching a log with this post. Is this normal? I just have never seen anyone with stats showing that many loop and flush processes listed. For reference that 1 hr 44mins usage in the attached log is with about 61 hours of up time on the phone with moderate usage (hi-capacity battery). I get the same sort of level of activity whether I have Wifi and data on or off, screen on or off, syncing off, bluetooth, gps, rotation off, etc. I may try a factory reset but was hoping someone might know a culprit causing this before I had to take that step. Many thanks!

Categories

Resources