Mediaserver killing battery (toro) - Samsung Galaxy Nexus

I've seen a number of other posts with similar issues, and most suggest that there may be some corrupted data that the media scanner is attempting to pick up on. I have done a complete system wipe, and am still experiencing the same issue. I will attach a couple of screenshots showing the issue, but as of right now, the phone being on for 1 hr 7 minutes, Mediaserver has kept the phone awake for 53 minutes. I have not opened any media playing applications (Play Music, etc) - it basically kicked off within a few seconds after bootup.
I am currently running PA 3.96, but with the bizarre issues I've been running into lately, I am considering reverting back to stock and giving up on the custom ROM thing entirely. If anybody has any suggestions on the Mediaserver thing, I'd be very interested.
Thanks!

[deleted]

Rodya234 said:
Is NFC on? That happens to me when I forget to turn it off.
Click to expand...
Click to collapse
Hi Rodya,
Yes, NFC is on, but there is absolutely no reason why having NFC on should cause that issue, otherwise it would be completely useless. I have always kept NFC on, and it's only in this most recent iteration of PA that I have started seeing this issue. If that's a legitimate issue within PA 3.96, then fine, I can revert to a different ROM and that's fine.
At some point after I originally posted this, Mediaserver stopped acting up, and my battery stabilized around the 77% mark without any intervention from me. I am extremely confused here, but more and more convinced it's time to go back to stock so that I can at least get back to a usable device again. Makes me a little sad because there are lots of very cool features in PA, particularly the per-app DPI, per-app color, and PIE / fullscreen mode.

Related

[Q] What is a good ratio of running vs "screen on" time?

I've been constantly battling sleep issues. I am on PRI/NV 1.77 and latest radio. I tried downgrading to 1.77 just recently to see if it would fix it and it hasn't, but I'm staying put.
Running latest MIUI and Savage 1.6 kernel.
Spare parts had been showing on average 50% running time even though my screen on time would be something like 5%. I had read that ideally these ratios should match, since it means your phone is properly sleeping.
Spare parts shows paltry wake locks of just a few seconds or minutes for Android System as the top app. I've killed all my widgets and even tried airplane mode and don't notice too much of a drop. After getting rid of all updating widgets (minimal text and the MIUI cal widget) and stopping google calendar sync I'm currently at 30% running vs 5% screen on. I've basically got everything that would run in the BG disabled -- set cpu, system monitor, etc. Is this a "good ratio"? Any other ideas on debugging what seems to be an obvious wake lock? I've looked at logcat and don't see a thing that looks interesting, hardly any activity. Am I just being crazy or does it seem like I still have a wake lock?
Thanks for reading
If you've constantly been battling sleep issues, I would start looking at rogue apps that may be causing Android System processes to act up.
For instance:
I was battling a sleep issue with before knowing about PRI 1.90 causing it. Went so far as to reinstall my ROM wipe wipe and wipe some more before finally figuring it out.
In another instance I was battling sleep issues because of HTC's Facebook for HTC Sense. It was causing constant sync and I didn't notice because the sync icon would eventually go away, even if it took around half an hour.
One more instance, constantly changing governors with SetCPU was causing Android System process to use up a lot of CPU and my phone would become sluggish, and only after opening SetCPU and closing it again would my phone return to normal.
I would definitely start out by figuring out what apps you may have running at all times that aren't native to Android, then go from there. It sucks but once you figure it out, good times!
freeza said:
If you've constantly been battling sleep issues, I would start looking at rogue apps that may be causing Android System processes to act up.
For instance:
I was battling a sleep issue with before knowing about PRI 1.90 causing it. Went so far as to reinstall my ROM wipe wipe and wipe some more before finally figuring it out.
In another instance I was battling sleep issues because of HTC's Facebook for HTC Sense. It was causing constant sync and I didn't notice because the sync icon would eventually go away, even if it took around half an hour.
One more instance, constantly changing governors with SetCPU was causing Android System process to use up a lot of CPU and my phone would become sluggish, and only after opening SetCPU and closing it again would my phone return to normal.
I would definitely start out by figuring out what apps you may have running at all times that aren't native to Android, then go from there. It sucks but once you figure it out, good times!
Click to expand...
Click to collapse
Thanks for the reply.
So, this is a bad ratio then, i'm not nuts?
I kill EVERYTHING then sleep and i'm still seeing the issues. Is there some more fool proof way I can guarantee nothing is running before sleeping? My guess would be something syncing more than it should have. Should I try toggling everything app's sync off and then sleeping?
Ok, turned off sync, slept and the top UID was 10018, which on my phone linked back to Google Service Framework. I'm clearing data, turning off sync and watching again to see if it has issues.
lil-dice said:
Ok, turned off sync, slept and the top UID was 10018, which on my phone linked back to Google Service Framework. I'm clearing data, turning off sync and watching again to see if it has issues.
Click to expand...
Click to collapse
Interesting, I had that UID 10018 problem before and I never figured it out. It maybe Google Talk, Gmail, or even the Calendar. You may have to try clearing caches of one or all three to really see.
Cleared data, sleeping didn't improve. I slept with sync off after clearing data...i'm at a loss. I have next to nothing starting up. The only thing I can think is that Spare parts is reporting wrong information. You'd think it would be fairly easy to determine why the phone is not sleeping. If i don't even have sync turned on and it's still not sleeping as much as I feel it should be, I'm at a bit of a loss :/
lil-dice said:
Cleared data, sleeping didn't improve. I slept with sync off after clearing data...i'm at a loss. I have next to nothing starting up. The only thing I can think is that Spare parts is reporting wrong information. You'd think it would be fairly easy to determine why the phone is not sleeping. If i don't even have sync turned on and it's still not sleeping as much as I feel it should be, I'm at a bit of a loss :/
Click to expand...
Click to collapse
Under battery........what are your Up Time and Awake Time looking like?
Identical? minutes apart? seconds?
freeza said:
Under battery........what are your Up Time and Awake Time looking like?
Identical? minutes apart? seconds?
Click to expand...
Click to collapse
I'm not sure how to get to that in MIUI, in battery settings i jut see my minutes since unplugged. No Awake time.
What's a good ratio for awake/screen on? I really wouldn't want my awake time to be more than %120 of the screen on time. This can change if you regularly use the phone while the screen is off (music playing, wifi stuff, etc). At least, I'm pretty sure having the wifi on will increase your awake time.
Saturn2K said:
What's a good ratio for awake/screen on? I really wouldn't want my awake time to be more than %120 of the screen on time. This can change if you regularly use the phone while the screen is off (music playing, wifi stuff, etc). At least, I'm pretty sure having the wifi on will increase your awake time.
Click to expand...
Click to collapse
hmm ding ding ding.
Turned off wifi, did a quick 15 minute test and now my awake/screen are right in line....so what gives? Why does wifi prevent my phone from sleeping? Since i'm running MIUI i have to have wifi set to never sleep otherwise you get random reboots...feel like i'm between a rock and a hard place now :/
lil-dice said:
hmm ding ding ding.
Turned off wifi, did a quick 15 minute test and now my awake/screen are right in line....so what gives? Why does wifi prevent my phone from sleeping? Since i'm running MIUI i have to have wifi set to never sleep otherwise you get random reboots...feel like i'm between a rock and a hard place now :/
Click to expand...
Click to collapse
That's just how it is for all AOSP kernel using roms. Their wifi sleep mode is absolutely terrible. On the plus side, it seems as though it doesn't use an absurd amount of battery to keep the wifi on.

List of known issues - confirmed on some phones

Can we put together a list of known issues with this phone for those of us who are thinking of switching so we can see everything in one place instead of having to sort through all the mess to find the issues and resolutions. Thanks
This list is just a copy and paste of the main points listed in the first 5 pages so far to save you some reading. Its just a summary, nothing more.
- vertical lines on some models with specific box date
- dead red pixel on some models
- some models has odd camera flash light, when powering off
- occasional errors when playing media on the sd card
- battery has stayed stuck at "100%"
- WiFi settings shows connected to the correct network but keeps scanning (Power saving mode problem.)
- lock screen locks up me sometimes
- wouldn't stay powered down while charging
- it takes quiet some time to charge up
- it's always warm even when not it use, but it gets super hot when charging
- screen lock bug
- take a pic, then tap the gallery button in the camera app, share to facebook, will not upload, says cannot locate pic. go to regular gallery, upload pic same way and it works fine.
- issue with the display staying on
- games freezing up and crashing after about 5- 10 mins of game play
- trouble with data when connected to wifi.
- wifi works but the 4g will not get internet access.
- music player other than orginal makes all kind of funny things skipping ,play not play or stock
- rebooting
this link was sent to me by jangst123 it should help us see how many people are experiencing each issue (poll link)
http://api.viglink.com/api/click?fo... issues Poll&jsonp=vglnk_jsonp_13203616807683
Results of poll:
http://api.viglink.com/api/click?fo...ults of Poll&jsonp=vglnk_jsonp_13203617040734
Just had my first random reboot today, other then that, I haven't had any issues. The phone is amazing
Sent from my SGH-T989 using Tapatalk
good idea, i stickied this topic
to keep track of all the known issues
brian6685 said:
Just had my first random reboot today, other then that, I haven't had any issues. The phone is amazing
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
Same here, rebooted on its own after about 2 days of up time. No other issues besides that.
so, off all the stuff i've read in the forum thus far:
the list is something like this:
- vertical lines on some models with specific box date
- dead red pixel on some models
- some models has odd camera flash light, when powering off
lags and some apps performance, or network speed stuff doesn't count
anything else missing?
minor heads up
lets keep this topic only for confirmed issues.
One thing to add- occasional errors when playing media on the sd card. I'm having a hell of a time with Doggcatcher & some music players saying that the media cannot be read.
kabuk1 said:
One thing to add- occasional errors when playing media on the sd card. I'm having a hell of a time with Doggcatcher & some music players saying that the media cannot be read.
Click to expand...
Click to collapse
that's a good one
and it sounds very familiar, back in the SGS1 days, there was similar problem.
using another media player should avoid that problem
AllGamer said:
that's a good one
and it sounds very familiar, back in the SGS1 days, there was similar problem.
using another media player should avoid that problem
Click to expand...
Click to collapse
Yeah it works fine with PlayerPro, but I'm still trying to find another podcatcher that I like. I'm kinda pissed that I paid almost $7 for Doggcatcher & now it barely works >:|
So far my only issue is that the battery has stayed stuck at "100%" twice now (only had the phone for a week obviously). Both times it was in the morning after the phone had charged all night, and then I take it with me for school/work. I used it for a few hours at school and it stayed at a 100% so I took it by T-mobile and they hadn't seen that before.
They did the same thing I did which was remove the battery and restart the phone. After that it read correctly (around 76% or something). Still I don't want to have to pull my battery every day after it gets a full charge. I'm going to see what it does tomorrow in the morning and go from there....anyone else have this issue?
please report that bug directly to samsung on the stickied link
Darmokk said:
So far my only issue is that the battery has stayed stuck at "100%" twice now (only had the phone for a week obviously). Both times it was in the morning after the phone had charged all night, and then I take it with me for school/work. I used it for a few hours at school and it stayed at a 100% so I took it by T-mobile and they hadn't seen that before.
They did the same thing I did which was remove the battery and restart the phone. After that it read correctly (around 76% or something). Still I don't want to have to pull my battery every day after it gets a full charge. I'm going to see what it does tomorrow in the morning and go from there....anyone else have this issue?
Click to expand...
Click to collapse
I can understand that the most embarrassing thing to do in public is a battery pull. I haven't done a battery pull since my blackberry days
AllGamer said:
please report that bug directly to samsung on the stickied link
Click to expand...
Click to collapse
Done!
Killbynature said:
I can understand that the most embarrassing thing to do in public is a battery pull. I haven't done a battery pull since my blackberry days
Click to expand...
Click to collapse
Haha yeah I can deal with it from time to time maybe, but I don't wanna be doing every freaking morning haha
I also have the 100% battery bug. I don't have to pull the battery though, just doing a reset by power off/on works to clear it. It *is* kind of annoying though...
I have seen this as well. It happened the last two mornings after charging overnight.
I have same issue. keep showing 100% battery indicator.
Wow lots of people having isSue wiTh the 100% battery thing hopefully that getS sorteD soon.
Edit: I HATE typing on this freaking iPad sometimes!
I saw the battery stuck at 100% as well on mine. Another thing i noticed that i have the WiFi ON all the time. So while i'm in office it is connected to the WiFi and the phone sits in my pocket for about an hour or more before i actually use it (using another phone at work), so after i wanna use it and it shows the WiFi connected symbol but no connection. Go to WiFi settings and shows connected to the correct network but keeps scanning. Turn Off WiFi and turn it back ON and its running again. Although i did not noticed this issue at home. Is it that at home my phone is always on table and not in my pocket....is it something to do with my my pocket
Power saving mode problem. When activated, it turns off gps, wifi, blue tooth etc.. (Whatever you choose) at specified battery level. However, when power is recharged past the set power saving mode point it doesn't turn these features back on. So annoying.
So when fully recharged, you have to go back and manually re-enable your gps, wifi, screen brightness etc..
This seems like a software issue, do the other brand gs2's have this problem?
**Also have the 100% battery bug.
My Galaxy S II wouldn't stay powered down while charging. Everytime I turned the device off while charging it would automatically power back on. I honestly wasn't sure if that was simply the way the phone was designed (which would be odd), but sure enough at the T-Mobile store today we opened up a brand new Galaxy to see if it would remain 'off' while charging. Sure enough, it could.
Long story short, I have the 100% battery malfunction, and an "unable to charge turned off" issue. Swapping out phones at T-mobile as we speak Another GSII btw, even with these annoying issues its a great phone. I think (hope) I just got a lemon?

PLEASE help me troubleshoot my ridiculous battery drain!

Before I begin, let me state that I have already factory reset countless times and reflashed my firmware at least 3 times in the past week. Neither of these have helped me at all, so PLEASE do not suggest this. I've been trying to solve this problem for a week or two and everyone has suggested this to me and of course I've already done it, so it hasn't helped me at all.
PHONE: E980
FIRMWARE: Stock 4.4.2 E98020g
BASEBAND: APQ8064/MDM9x15M
SYMPTOMS:
-Battery draining ridiculously fast (appx 10%/hr, but before my last reflash, it was draining 50%/2hrs!)
-Phone only lasts about 5hours.
-Android OS is consuming about 80-90% of battery, followed by Screen at around 10%
-Phone is constantly warm
-Phone rarely enters Deep Sleep (it stays awake 95% of the time).
TESTS DONE:
-As I said, I factory reset numerous times with the same exact problem
-I reflashed my firmware 3x, with same problems
-I usually keep auto-sync on, but the issue occurs whether it is on or not.
-There is supposably a Kitkat 4.4.2 (in general) issue where the camera will consume a ton of CPU resources and get stuck that way. I haven't used my camera much, but do use Smart Stay, so I disabled this. No positive result.
-Disabled the Google Now "OK Google" hotword detection. This helped reduce the drain, but didn't solve it. Drain went from like 15%/hr to 10%/hr.
-Took battery out of phone for 10 minutes and placed back in. Seemed to help at first, but after about an hour or so, it returned.
-"Recalibrated" the battery numerous times. This was done by draining the battery until the phone shut itself off. Then I charged the phone to 100% while the phone was still off. Once the phone read as having 100% charge, I let it charge for another 1 hour. Then I unplugged the phone and booted it up. Again, this appeared to help at first, but after a while, the phone began to drain rapidly again.
NARROWING THE ROOT PROBLEM:
-Both WakeLock Detector and BetterBatteryStats show "wlan_wake" and "wlan_wd_wake" as being the largest wakelocks.
-As previously mentioned, "Android OS" is consuming a huge amount of battery
-Problem only seems to happen when wifi is on, whether it is connected to an SSID or not.
OTHER:
I have narrowed the issue down to wifi but I can't seem to figure it out any more than this.
Both of the "wlan_" wakelocks are caused by wifi being on and I need wifi on whenever possible because I can't afford a huge data plan. My current one is 2GB/mo and it is shared between 3 people.
I noticed today that my phone drained 10% within 1 hour after taking the phone off the charger, and I was connected to my home wifi. I then went to work, but still had wifi turned on on my phone. At work, I was only connected to mobile data (but the phone was just sitting in my pocket). The battery drained another 15% within an 1hr 30min, and the phone was warm in my pocket (very uncomfortable!). I then turned wifi off completely, and the battery drain completely disappeared!!! The battery life was amazing in fact!
PICTURES:
I've provided some screenshots with notes. Please take a look at them.
I'm going to manually make the problem happen again and will upload new pictures afterwards. They will be of WLD and BBS. Any current info I have is tainted since I turned wifi off and the problem temporarily turned off too. I want to get only screenshots of what is going on when the problem is happening.
EDIT: BTW, the problem occurs whether my mods are installed or not (the mods used to remove the icons in statusbar, AdAway, etc)..
The issue seems to be pureply related to wifi and nothing else.
IDEAS:
Could adding a wifi supplement scan interval to the build.prop solve this problem?
Is Wifi bugged in this firmware? (This never happened on Jelly Bean!!!!)
Is maybe the "Battery Saving for Wifi" feature bugged?
Would maybe flashing the Jelly bean modem (e98010p) solve this issue (since it didn't happen on Jelly Bean)? If so, does anyone have a flashable version of this? <- I just did some research and it seems that the baseband (AKA modem) is the same in Kitkat as it was in Jelly Bean. Weird....
These pictures were taken shortly after making my first post. I already had wifi turned off, so I turned it back on and after a few minutes, the battery began to plummet. I went from roughly 77% to 66% in just an hour!!!!
Just to make sure that it is clear, I have both BBS and WLD set to start recording data after the phone has been unplugged from the charger. So to restart the data collection, I simply plugged the phone into my charger for a few seconds and then removed it. THEN I turned wifi on. The data seen in the pictures should only have occurred between the time when I unplugged the phone and the time I took the pictures.
EDIT: Also just to make sure it's clear: All the data shown in the System picture is actually since I unplugged the phone this morning. I only posted these pictures to show any changes from the similar ones posted earlier.
PLEASE! Can anyone help me solve this!?
Or is this a major Kitkat bug!? (or ATT bug, or modem bug, etc etc).
After a full week of this problem, I think I just made another breakthrough. Unfortunately, I think it IS one of my Xposed modules, which is weird because I didn't think any of them would have a need to constantly connect to the internet.
All I know is that I just completely uninstalled the Xposed Framework and the phone started to sleep like a baby... with wifi on!
Now I just need to pinpoint the module, which I can do myself.
MODS CAN CLOSE THIS THREAD.
Sorry I created it and (mostly) solved my own problem. This happens to me a lot. I have a problem, can't figure it out, ask for help, then solve it myself. :/
spexwood said:
MODS CAN CLOSE THIS THREAD.
Sorry I created it and (mostly) solved my own problem. This happens to me a lot. I have a problem, can't figure it out, ask for help, then solve it myself. :/
Click to expand...
Click to collapse
Please do not be sorry for this thread :good:
Someone else may have a similar issue so we will just leave it as it is
Glad your issue is fixed
Toledo_JAB said:
Please do not be sorry for this thread :good:
Someone else may have a similar issue so we will just leave it as it is
Glad your issue is fixed
Click to expand...
Click to collapse
In this case, I need to be more specific about my solution then.
The problem seems to be caused by the module, Xposed Torch. It's still usable, but you need to tap the overflow (3-dot) icon and disable ads (it's free to do this). The module requires internet access permissions, which I was not aware of, and it constantly connects to the internet to stream the ads. This in turn causes the wifi to constantly receive data (thus the wlan_wd_wake and wlan_wake). When wifi is on, but not connected to a network, I think it forces wifi to constantly scan in order to find a connection so that it can get that ad data. I'm not sure why it doesn't just use mobile data though... unless it does and it's just more power efficient.
So far, I have disabled the ads via module settings and the phone is now sleeping like it should.
So if anyone else is having wlan_wake wakelocks of any kind, especially followed by wlan_wd_wake or wlan_rx_wake, then this means that something on your phone is constantly accessing the internet via wifi. FIrst turn off auto-sync, and if this doesn't help, then you need to uninstall apps until the problem ceases.
My phone is currently icy cold in my hand and I've never been so happy to feel it like this!
Problem came back today. I've basically uninstalled every app now and the battery is still draining whenever wifi is turned on.
Under Better Battery Stats, there is a process (?) called dhc_dpc that's been running the entire time my phone has had wifi on. There are also the wlan_wakes too. (NOTE: IIm backing up my phone right now, so these names are coming from memory).
According to this thread (different phone and unknown Android version, but similar problem), the wifi driver may be bugged. They recommend doing a reinstall, but I've done this many times now and it doesn't seem to help:
http://forum.xda-developers.com/galaxy-s2/help/dhddpc-t1246190
EDIT: I think I've found the culprit and while it is definitely wifi-related, it's NOT an app. It's the actual Android system constantly pinging the internet. According to my research, it's constantly collecting location data by using either mobile data or wifi and will do this whether you have location services (gps) or Location Reporting enabled. This has been described as a "bug." It was introduced by Google as a cool new feature, but it's implementation was buggy.
I am currently testing a fix to resolve this issue, but want to be certain that it's fully working first.
Just an an FYI, this fix SHOULD help anyone running Android 4.4.2 and experiencing high battery drain caused by Android OS. Even better, the fix does not require root, so anyone can do it!
have you try a full factory reset using lg driver to bring full stock rom back and not just a factory wipe from the phone
3617 said:
have you try a full factory reset using lg driver to bring full stock rom back and not just a factory wipe from the phone
Click to expand...
Click to collapse
Not to be rude, but the first sentence of my first post says I did this several times.
I had those ridiculous battery drains on both stock ROMs with xposed, but never found a direct connection with it.. So first, (if you already haven't), try to disable xposed completely and try again. LG's stock ROM doesn't like that kind of modifications. Also, one of the biggest problems I had with Kit Kat was Location services, so you should check them too.
If that doesn't help, check your apps and download stats, maybe there is something downloading or trying to download stuff.
zamajalo said:
I had those ridiculous battery drains on both stock ROMs with xposed, but never found a direct connection with it.. So first, (if you already haven't), try to disable xposed completely and try again. LG's stock ROM doesn't like that kind of modifications. Also, one of the biggest problems I had with Kit Kat was Location services, so you should check them too.
If that doesn't help, check your apps and download stats, maybe there is something downloading or trying to download stuff.
Click to expand...
Click to collapse
It's definitely Xposed related I think.
I've disabled Xposed during some testing a day or two ago and yeah, battery definitely improved.
The only modules I have installed are:
App Settings
Enable BatteryStats Permission (just to allow me to track this issue. I installed this after problems had already begun)
Greenify (all Xposed settings checked)
YouTube AdAway
I have also been using G2 TweaksBox up until last night. I only used it to declutter my status bar and to enable the advanced reboot menu. (I hate all the icons in the status bar!!!). Last night I disabled G2 TB and battery life improved dramatically!
I can't explain why G2 TB would cause battery drain, but I did notice it doing something odd yesterday. I have the lockscreen off sound enabled in the system settings, so I hear the sound whenever I lock the screen. Well, I turned my phone on yesterday for some reason when in my car. I then turned the screen off, heard the lock sound, and started driving. 15 minutes (NOT seconds!) into my drive, I randomly heard my phone make the locking sound, but the screen was not turned on!! I wonder if G2 TB delays my lock somehow.
I switched to GravityBox[KK] today since so many people claim that it works perfectly on their OGP, and so far, battery drain is MUUUUUCH better than with G2 TB activated, but it still may not be as good as pure stock. I need more time to figure it out though. This morning, my battery dropped 5% in 40 minutes while connected to my home wifi. I then left my house for a few hours, but left wifi turned on on my phone (it's hard for me to remember to switch it off and on all the time!). The battery seemed to be pretty stable after that, but I can't explain the weird 5% drop, but I did receive 2 missed calls and a text during that time too. Should I lose 5% just from getting a text and having my phone ring?
It's now night time and I'm at 75% battery. This past week, I would be at about 10% by now or even DEAD, so I'm happy as heck right now.
I would LOVE to be able to keep using GB, but I now just need to figure out if it too is draining battery, or if everything is stable. I'm going to continue comparing stock VS GB tonight and tomorrow. I'll live with stock if needed, but I'm just very OCD about the statusbar clutter.
In GB, I only disabled some icons, centered the clock, enabled advanced reboot menu, and enabled the lockscreen torch.
Try with GB and post results, it looks like it doesn't drain that much... Unfortunately for me, I had problems with every xposed module ever tried, so I simply gave up and now I'm using another rom. I think that LG's ROM is problematic, especially if you use a lot of SystemUI customisations, like GravityBox does.
Are wakelocks from orginal post still active?
G2 Tweaks aren't even compatible with our phone (as much I understood), never managed to do anything with them. I assume that G2's SystemUI is too different from OGP's, so that may be one of the problem sources.
With my normal usage (1-2 hours of music, 2-3 hours of internet - wifi or mobile, K9 sync, viber, sometimes games, ~60 SMS and few longer calls per day), battery was holding up to 35, sometimes 45 hours. With xposed, barely a day, if I turn mobile data and sync off. I usually have a dilemma about putting it to a charger before sleep, there is alway around 60-50% of battery at the end of the day.
zamajalo said:
Try with GB and post results, it looks like it doesn't drain that much... Unfortunately for me, I had problems with every xposed module ever tried, so I simply gave up and now I'm using another rom. I think that LG's ROM is problematic, especially if you use a lot of SystemUI customisations, like GravityBox does.
Are wakelocks from orginal post still active?
G2 Tweaks aren't even compatible with our phone (as much I understood), never managed to do anything with them. I assume that G2's SystemUI is too different from OGP's, so that may be one of the problem sources.
With my normal usage (1-2 hours of music, 2-3 hours of internet - wifi or mobile, K9 sync, viber, sometimes games, ~60 SMS and few longer calls per day), battery was holding up to 35, sometimes 45 hours. With xposed, barely a day, if I turn mobile data and sync off. I usually have a dilemma about putting it to a charger before sleep, there is alway around 60-50% of battery at the end of the day.
Click to expand...
Click to collapse
OK, so I just got home from work and today I not only had GravityBox disabled, but I also had the ENTIRE Xposed Framework uninstalled.
My battery is now at 30% and I was only gone for 7 hours!!!!!!!!!!!!!!!!!! This is ridiculous!!!!!!!!!
*sigh* <- frustrated with this whole situation
Yes, the wakelocks are still active.
The top two Kernel Wakelocks are "wlan_wd_wake" (46.3%) and "wlan_wake" (46.2%) in that order. The next in line is "PowerManagerService.Wakelocks" (8.0%) and then "msm_hsic_host" (6.1%). This was since my last reboot, which was about 2 hours ago (I had to rebooted after removing an app that I thought was the culprit... apparently it wasn't).
Again, I keep Auto Sync on, but disablign it seems to not help in this matter at all.
I also keep wifi on. When at work, it isn't connected to a network, but I often forget to disable wifi when I leave the house, or I come home and forget to enable it and end up sucking my data plan dry. Nonetheless, I also did this while on Jelly Bean and had no issues whatsoever.
My phone is only staying in deep sleep less than 10% of the time and the time when it is awake, the CPU is running at full 1.7GHz! This is causing the phone to get warm in my pocket. It doesn't hurt, but it's enough to make things uncomfortable.
According to the battery stats (in system settings), Android OS is consuming 83% of the battery.
The biggest network drainers are "Google Play Services" (33.3%), something simply called "0" (14.8%), and a weather app. I had the weather app open manually not too long ago though, so that explains that one, but the other two I can't. I have no clue what "0" is and I have not opened Play at all today.
It's something to do with wifi itself I think, and maybe not a specific app accessing wifi. (?)
I turned wifi completely off about an hour ago and the battery drain has been stable. It's been like this for days too. If I turn off wifi, the drain is "normal." If wifi is on and connected, drain is higher than with wifi off, but barely. If wifi is on and not connected, the battery level plummets like a rock in a pond.
OH! One thing I just thought about and should mention:
Before I discovered that G2 TweaksBox was causing serious drain, I was on another battery-related thread in the OGP forum. Someone told me to delete the "libiq_client.so" file from System/lib. He assured me this would give me excellent battery life (which apparently it did not). So I did. Normally, I just rename system files so I can restore them if needed, but I guess I accidentally deleted this one.
Could this be causing the drain, and if so, can someone upload a copy of libiq_client.so so I can try it on my phone (after setting it's permissions correctly)?
Um, that's not good.
Check wireless settings, and disable "Scanning always available" if enabled.
You don't have a nand backup, do you? I have E988 variant so maybe my file isn't good, I don't know if there are big differences between them. I can upload it if you want.
It is possible that Google Services are messing things up since they are between top processes... have you tried clearing their cache/data? Also, if you have a custom recovery, clear cache/dalvik cache, maybe it helps. Also, if High precision location is enabled, try disabling it if you don't need that service, I had some problems with that in combination with weather widgets.
What partial wakelocks are active?
zamajalo said:
Um, that's not good.
Check wireless settings, and disable "Scanning always available" if enabled.
You don't have a nand backup, do you? I have E988 variant so maybe my file isn't good, I don't know if there are big differences between them. I can upload it if you want.
It is possible that Google Services are messing things up since they are between top processes... have you tried clearing their cache/data? Also, if you have a custom recovery, clear cache/dalvik cache, maybe it helps. Also, if High precision location is enabled, try disabling it if you don't need that service, I had some problems with that in combination with weather widgets.
What partial wakelocks are active?
Click to expand...
Click to collapse
"Scanning always available" has been disabled since day 1
The only nand backup I have is after I already deleted the file :/
I did try clearing Google Service's cahce/data at one point and I think it helped for a few hours. It may have been a placebo effect though. I also di the recovery cache wipe and dalvik wipe with same results.
I don't keep location on at all since I don't use it. It's always off, but at one point, I did enable it to select the battery mode and then turned it off again. I did this mainly so that if and when I do use location, it would always use Battery and not High Precision.
I'm currently backing up my rom, so all partial wakelocks were cleared for now. Sorry.
I'm trying to reflash the stock rom real quick and grab the libiq_client.so file, then restore the backup and insert the file back into system. Unfortunately, I may not be able to tell if it solves the problem until sometime tomorrow.
EDIT: BTW, the only reason why I won't just start all over again on the reflash is because 1) I want to figure out what's causing this problem so it won't happen again, and 2) I don't have the time to spend hours setting my phone up again
EDIT2: Oh and every time I reflashed my ROM, the first things I did was rename/delete that library file and installed G2 Tweaksbox. And every time I had horible battery drain, so i'm really hoping it's due to the lack of this library file.
spexwood said:
"Scanning always available" has been disabled since day 1
I'm trying to reflash the stock rom real quick and grab the libiq_client.so file, then restore the backup and insert the file back into system. Unfortunately, I may not be able to tell if it solves the problem until sometime tomorrow.
EDIT: BTW, the only reason why I won't just start all over again on the reflash is because 1) I want to figure out what's causing this problem so it won't happen again, and 2) I don't have the time to spend hours setting my phone up again
EDIT2: Oh and every time I reflashed my ROM, the first things I did was rename/delete that library file and installed G2 Tweaksbox. And every time I had horible battery drain, so i'm really hoping it's due to the lack of this library file.
Click to expand...
Click to collapse
Try it. I can upload file from my backup if you're willing to experiment with that, to save you from all that flashing.
Also, if you edited your build.prop and changed pm.sleep_mode and ro.ril.disable.power.collapse, undo that. It only disabled deep sleep state for me (had similar problems few days ago when flashed a new rom, mmc1_detect, suspend_backoff and some other weird things, so I even tried that)
Have you tried using another roms?
zamajalo said:
Try it. I can upload file from my backup if you're willing to experiment with that, to save you from all that flashing.
Also, if you edited your build.prop and changed pm.sleep_mode and ro.ril.disable.power.collapse, undo that. It only disabled deep sleep state for me (had similar problems few days ago when flashed a new rom, mmc1_detect, suspend_backoff and some other weird things, so I even tried that)
Have you tried using another roms?
Click to expand...
Click to collapse
It's OK, I'll get the file from the flashing. I know it'll be a pain, but this may be safer just in case there is some sort of difference between the E988 and E980 versions. I doubt there would be, but better safe than sorry I guess.
I did add those settings to my build.prop as a test, but I was smart there and backed up my stock build.prop first and ended up restoring it a few hours later. It was causing my screen to not always turn on when I pressed the power button.
I have not tried any other ROMs. I prefer to stick to stock ROMs (or modified versions of stock... basically anything stock-based and not CyanogenMod or AOSP). I had bad experiences with AOSP-based ROMs on my old phone.
If I tried a stock-based ROM though, it must have everything working though. I mean everything: calls, texts, LTE, bluetooth, speaker phone, etc etc.
EDIT: OH MY GOSH!!!!!!
I just found where the libiq_client file went. I moved it to my internal storage.
Well, good to know I wasn't totally stupid and knew not to completely delete the file! Unfortunately I was still dumb enough to misplace it....
spexwood said:
EDIT: OH MY GOSH!!!!!!
I just found where the libiq_client file went. I moved it to my internal storage.
Well, good to know I wasn't totally stupid and knew not to completely delete the file! Unfortunately I was still dumb enough to misplace it....
Click to expand...
Click to collapse
Better to misplace than to delete it, trust me
Post results.
zamajalo said:
Better to misplace than to delete it, trust me
Post results.
Click to expand...
Click to collapse
I can see that as being true LOL
I'll need some time to test this, but I'll definitely post results ASAP.
spexwood said:
I can see that as being true LOL
I'll need some time to test this, but I'll definitely post results ASAP.
Click to expand...
Click to collapse
Libiq.so enables carrier IQ, its removal should only help battery drain, not cause it.
Just to ask, have you tried adjuating wifi scan interval? You can try as well the xposed module, "wifi deep sleep". Helped minimize my wifi related drain

Frequent "GPS Signal Lost"

So weird Issue.
Using Google Maps on MaximusHD 6 with the latest t-mo firmware (2.11) I get constant "GPS SIGNAL LOST" when obviously driving and using it as my nav since I got it. I'm in southern California with a pretty good LTE signal almost everywhere. The highways are pretty open so trees, mountains, buildings etc are ruled out as a probable cost.
Now today I noticed that I normally keep the phone locked/screen off when driving since it's connected over BT so there's no real need to look at it. During a normal 15-20min drive I would get the signal lost alert a lot. Upwards of 10 or so times on that single drive. While with my M8 it never happened especially when literally not 5min after getting out of the parking lot doing maybe 20mph down the street. I first I thought i messed something up since I took the phone apart to apply thermal paste to keep it from overheating.
However today on a drive back I kept the phone with the screen on. Never did it lose signal while the screen was on, but a minute after I locked the phone (screen off) did it lose GPS signal. I turned it back on and after driving 20min or so the signal wasn't lost.
So overall has anyone experience a similar issue? Full cellular coverage with frequent google maps alerts that the GPS signal was lost. Maybe a background gps process being killed or another coming up and hindering it.
Gonna wait for the Thanksgiving break to mess around with stock/custom roms and see if it's just something that can be fixed with a reflash.
I'm having the same issue, have you figured anything out? Have you tried using a different app besides google maps to see if it's the actual app doing it's power save feature, or the background powersaving process being started by the phone being screen off? Really interested because my phone starts burning up to extreme temps...
On the backup I had with the issue I narrowed It down to possibly a background process cutting it off once the screen turns back. Power saving was off and all that would stick while screen was off was maps, Google service, and social apps.
As for the cause I couldn't figure it out. I went with a stock from without issues. Then went back to custom roms and haven't had the issue again. Also I drastically lowered my app count. Barely use any apps not needed for basic functionality.
As for the temp issue you're having. I noticed gets warm just like any other device when using GPS. I have opened up the phone and applied a new thermal coat following off a thread around here.
I have another issue came up where the phone would seek out a GPS signal while battery saving was selected to even location turned off. Killed my battery in a heart beat. Hasn't happened again.
I would suggest you make a full backup and either flash a stock rom or redownload whatever custom rom your using. Do a trial run for a day or two with minimal apps and see if it improves.
Here's where it gets interesting..
I used to own a galaxy s3 i9300 and custom kernels caused exactly the same issue. Flashing a stock rom solved it and a few other issues, one in particular was gps inaccurate coordinates.
Now I have moved to an m9. This has in the past run great. It is completely stock and untouched by curious fingers.. However, recently my gps has been running at random intervals even though it is completely off in all accessable settings. I can't find the culprit and it sapped 40% in a few minutes. It was literally a short face to face conversation, jumped back in the car and went for my phone for waze.. Dead as a dodo..
Confuzzled completely as to whether this is the actual rom doing it or an app..
I wish I stole my HTC M9.
shivadow said:
Here's where it gets interesting..
I used to own a galaxy s3 i9300 and custom kernels caused exactly the same issue. Flashing a stock rom solved it and a few other issues, one in particular was gps inaccurate coordinates.
Now I have moved to an m9. This has in the past run great. It is completely stock and untouched by curious fingers.. However, recently my gps has been running at random intervals even though it is completely off in all accessable settings. I can't find the culprit and it sapped 40% in a few minutes. It was literally a short face to face conversation, jumped back in the car and went for my phone for waze.. Dead as a dodo..
Confuzzled completely as to whether this is the actual rom doing it or an app..
I wish I stole my HTC M9.
Click to expand...
Click to collapse
Android 6 should be released around here soon so maybe that'll improve/fix these issues. I wouldn't be surprised if Google services is causing this since it has in the past drained batteries and causes similar issues. If the kernel is involved then the issue has been seen on both stock and custom.
well it may be a setting from the maximums HD, try using other Rom and tell us if problem is solved, try HD Revolution or ViperOne.
Hi all, I got a Moto G3 and having issues with the gps no signal message, it is on and off, but more the time that have no signal. So have heard that Android 6 could be the guilty one.. Do any of you know if there is a fix yet? ?
Enviado desde mi Nexus 7 mediante Tapatalk

Phone loses certain settings or apps if the battery dies suddenly

I have searched as much as I can, but can't find any info on this. It has happened on both mine and my wife's M8, but only after updating to Marshmallow. If the phone dies suddenly without being able to shut down fully most of the time it will lose certain settings, like sounds, data and Wi-Fi turned off, saved Wi-Fi networks gone, etc. If it happens while starting up it has lost whole apps, all contacts; mostly acting like a first boot but some installed apps, settings, call history, text messages, etc did remain. Any ideas?
zenisnotchosen said:
I have searched as much as I can, but can't find any info on this. It has happened on both mine and my wife's M8, but only after updating to Marshmallow. If the phone dies suddenly without being able to shut down fully most of the time it will lose certain settings, like sounds, data and Wi-Fi turned off, saved Wi-Fi networks gone, etc. If it happens while starting up it has lost whole apps, all contacts; mostly acting like a first boot but some installed apps, settings, call history, text messages, etc did remain. Any ideas?
Click to expand...
Click to collapse
I spend the same, and also turns off me having 20 % battery....google traslate, sorry.
I get the exact same issue, but no idea why it happens :/
Sent from my HTC One_M8 using Tapatalk
It's a glitch with HTC's Marshmallow version. It happens on stock as well as custom ROMs. Nothing to do but wait for an update from them, or always make sure your battery stays charged. It happens to me at 6%
Same Problem but phone dies at 20%-30%
zenisnotchosen said:
I have searched as much as I can, but can't find any info on this. It has happened on both mine and my wife's M8, but only after updating to Marshmallow. If the phone dies suddenly without being able to shut down fully most of the time it will lose certain settings, like sounds, data and Wi-Fi turned off, saved Wi-Fi networks gone, etc. If it happens while starting up it has lost whole apps, all contacts; mostly acting like a first boot but some installed apps, settings, call history, text messages, etc did remain. Any ideas?
Click to expand...
Click to collapse
I am having the same problem, heaps of settings change, including default keyboard, messaging app quick settings wifi etc
if my phone was dying at 5%i could deal with it but it is dying anywhere between 20 and 30% and often catches my unawares.
An update to fix this would be great.
Yup, I have the same problem only I don't lose saved wifi networks but I get signed out of every single app. I also get a google play services error which requires me to clear the apps data.
Snap!
I have been having these problems for the past 4 months (running Lollipop)
I thought that the Wifi passwords issue and app logouts was due to low system memory. (battery would die around 15%)
Since doing a factory reset and 2 weekends ago, the battery dies around 25% and I still experience app log outs etc.
My device is close to the 24month warranty limit and I need a fix urgently.
I also have Bluetooth call random clipping happening both on lollipop and Marshmallow.
This is killing me. Any fixes yet?
Lately it's been losing home screen icons and a couple settings even when I manually shut the phone down. Ironically yesterday when it died suddenly some previously missing icons I had yet to restore reappeared.
please!! any Fix ???
Any fix??? My phone does this too, and its becoming more often than a weekly thing now
A few times now manually shutting the phone down before the battery dies has led to all Google related icons (Chrome, YouTube, Play Music, etc.) being removed from my home screens and having to manually re-add them. When the battery dies it's a roll of the dice what, if anything, will be changed/lost.
In addition to almost everything already said RE: most customization is lost, apps and widgets disappear on restart, etc. I've noticed that all of the (mostly AT&T) apps that I disabled are enabled and updated when the phone comes back on! This is so annoying and is my first major problem with this phone! It's taking time to have to redo all my settings each time the phone dies!
Same problem here very annoying especially as I have to phone bank to reset my mobile banking app as it screws the settings in this. #leaveitoncharge
Yesterday mine died at 30%, and upon restarting it went through the "Optimizing Applications 1 of 261" then proceeded to come up with a warning that the phone had an internal error and might be unstable until doing a factory reset. After clearing the warning it was stuck in a "Sense Home has stopped working" loop until I could get into Settings and clear the data for Sense Home. This allowed me to at least make sure things were backed up before doing a factory reset, but more than half of my contacts were missing as well as many text, call history, etc. A similar thing happened with the wife's M8 last week and had to factory reset hers then too.
I had this problem and had my battery and main board replaced in the final month before 24 m warranty ran out.
Do a battery test *#*#3424#*#*
Then hit more, and select battery test.
Battery has to be 100% to complete teat which takes an hour. Do this when you don't need it.
My test would often show 91-94% but I had one that said 71% which I saved a screen shot.
Since the battery and main board replacement it's still my favourite phone.
solve the problem of battery and loss of settings , change the battery of my htc, now everything is fine , 3 days that the battery is discharged properly , I hope this information will help someone.
Not positive I've lost settings, though I'm fairly certain I have. I have lost app permissions many times. And my phone seems to die around 30% and won't let me boot unless I am plugged into charger. I was recently forced into a factory reset due to a message that popped up just like a somebody else a few posts back. This is a recently replaced phone (VZW replaced it as the prior had battery problems). The prior one did not do this. I hope HTC get's their act together and fixes the issue. Highly annoying.
Ive been having this issue since the beginning of the year and now it seems to happen every few days. I pretty much don't have a choice but to buy a new phone at this point, which sucks because I love my m8.
This is exactly the same issue I've been having. I'm at my wits end with having to re-do all of my settings and apps daily, and sometimes (randomly!) it won't hang onto a charge for more than a few hours even if I'm barely using it. I basically have to leave it on a charger all the time to keep it from shutting down and losing all my settings! I used to love my M8, but for the first time ever I'm considering swapping to a Samsung just to get away from these issues. I've had this phone for a little over two years and these problems only just started around March 2016 - but they've been an absolute constant since then, and only getting worse.

Categories

Resources