Ok, I've been lurking and searching around for a while trying to find any info, but haven't found an answer yet to this problem.
I've got Fresh 1.0.1 installed on my evo as of this last weekend. On Sunday, i had very low Awake time vs. Up time (something like 8:00 hrs to 2:00 hrs at one point), but once I install an app (really any app) that it doesn't like, then my awake time goes to 100%, and regardless if I uninstall it or reboot the phone, the Awake time will still continue to have 100%. I wiped all cache's and did factory resets a couple of times, and after painstakingly reinstalled all of my apps one by one, but each time i've done that, a differet app causes the issue, so i haven't figured out which one isn't playing nice. Also, I unmounted the SD card, thinking there may be a rogue file on it, but no dice.
At this point I'm stuck. I don't want to go back to stock, but I 've gotta find out whats going on, because it's killing my battery. Below is a list of the downloaded apps i've got on the phone(just for ref.)
Abduction World Attack, Barcode Scanner, ChompSMS, Do Not Disturbe, eBay, ES File Explorer, Facebook, FandangoFresh Updater, MyBackup Pro,Opera Mini, Pandora, Quick Boot, Shazam, Where, Wireless Tether.
Thanks for any help you all can give.
I have seen Pandora cause me some grief in the past.
What is "Do not disturb" I would remove that and check.
Also, how are you checking your awake time?
Do Not Disturb simply shuts off the ringer or puts on vibrate when certain conditions are met(i.e. specific time/date). Its a poor (Wo)man's Locale-type app. I've been checking the Awake time by going to Settings->About Phone->Battery. I've only noticed this issue in the last couple of days. I doubt it's because of Fresh 1.0.1. I'm thinking of trying Damage control to see if it helps.
Related
I know there have been multiple threads on sleep issues but I haven't found one like this one.
My phone is able to sleep but only for a certain amount of time. It seems that after I reboot my phone, it can sleep appropriately for the first 8-12 hours and the battery life is amazing during this time and only drops about 20-30%. Up time verses awake time also reflects this. However, after about 8-12 hours, the phone stops going to sleep and the awake timer never stops running. This will drain the remainder of the battery in about 10 hours. After a reboot, the phone is able to sleep again until it develops insomnia once more. Does anyone know what could be causing the phone to stay awake only after being on for several hours? I'm rooted on the stock firmware with the latest OTA. Only extra programs are Google Voice, ePocrates, and Slacker Radio.
*#*#4636#*#* was no help in tracking down the culprit. Spare Parts contributed pretty much nothing either.
Mine did this for the first time yesterday. It's hasn't done it since, but it was very weird. I checked the sleep settings and it was still set to 1 minute, but the phone would not turn itself off.
Probably an app
Same Problem...
I have tried every thing to solve this issue. Change phones; problem return. No apps other than Stock; problem returns. Syncing Exchange, Facebook, and HTC Facebook. Custom Ringtones seem to increase the speed of the error occurrence. Tried leaving them off, but the problem returned. I have changed SD cards. reformated the card, and started it fresh. I have done a factory reset between each test (at least 8 at this point). I have a suspicious that it is the contacts that are getting corrupted, but I have not been able to verify that theory.
Mine has only done it on one evening and not since.
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.
I've got the One X for about a month now, but I keep getting this issue now and then, and it's really really annoying.
It always happens in morning, and I only notice it when my low-battery signal goes off (this morning at 10:00 already). The phone feels very warm, and it's already depleted to 10%. When checking battery usage, it says "Mediaserver" used 85% of the energy!
Now this morning, I didn't play any music or watch any photo or video. On the tram to work, I only used a coupe apps (Engadget, Tweakers, Nu.nl (news site), "volvo ocean race game", autoblog.nl and a soccer app (voetbal international)). But I've used these same sites on my Desire and never had a problem with them.
It's a really annoying problem, and I don't seem to be able to turn of "mediaserver" untill my battery dies before lunch! I don't have a desk job (doctor in hospital) so I don't have any means to recharge during the day...
Now this doesn't happen every day, but 4 times already (that's once every week!).
Please help!
i have had it once, seems it gets locked in with you play sounds. have you tried a factory reset might help.
Try clearing data of all media applications (gallery, music etc...).
I guess your media index got corrupted, this happened to me before and this is how I solved it. I actually saw the reason in logs.
Install OS Monitor from the market and take a look at the logs of mediaserver
No haven't tried a factory reset, wish it wouldn't have to come to that. But a normal reset did solve the problem sometimes. And I haven't played any sounds this morning, however only when muting the phone with the volume rockers i do get a sounds...
The date I noticed my battery issues coincides with when the update went live. I've tried tinkering as much as I can to disable wake lock permissions in all sorts of apps and using wake lock detector, but I can't really find the culprit.
I'm rooted, on 4.6.3. Is there a way to turn off the OTA check, or fool it into thinking I have 4.6.3.
Is it something else? I have a lot of apps, but the only thing wake lock can tell me about the sheer number of wakes is google play services, which has had it's permission to wake disabled but still is somehow the cause. That and system are about equal. Awake time is 91% since my last full charge and unplug. Not good.
Thanks for any help.
Just to maybe assist you in finding the culprit I'm on 4.6.3 with google apps but no root. I've not experienced any wake locks. Perhaps clearing Google's cache and data?
Sorry I meant I was on 4.6.1 still. Will clear data and see.
adam.nox said:
The date I noticed my battery issues coincides with when the update went live. I've tried tinkering as much as I can to disable wake lock permissions in all sorts of apps and using wake lock detector, but I can't really find the culprit.
I'm rooted, on 4.6.3. Is there a way to turn off the OTA check, or fool it into thinking I have 4.6.3.
Is it something else? I have a lot of apps, but the only thing wake lock can tell me about the sheer number of wakes is google play services, which has had it's permission to wake disabled but still is somehow the cause. That and system are about equal. Awake time is 91% since my last full charge and unplug. Not good.
Thanks for any help.
Click to expand...
Click to collapse
Probably one of those glitches that can be solved by a reboot. However, you can disable updates using hdxposed module for xposed if you want.
Done both of those things plus much more. Anyone else having this issue?
try taking a titanium backup of everything and then factory reset.. with everything backed up to your PC. then root and start restoring everything gradually.. start by social apps and call log and messages.. then your essential apps.. and see.. then add the rest of the apps bit by bit till you find the offending application or maybe something just got screwed will be fixed when the data clears..
just make sure there is nothing out of the norm in your essential apps, meaning they are all tried and tested by everyone.. facebook, whatsapp, keep, launcher.. that stuff. and also make sure in these apps to limit their ability to check every X minutes as they can really drain your battery.
I've disabled wakelock on anything that has reported to use it by wake lock detector that I don't absolutely need to have it. I've uninstalled any non-essential apps. I've done too much tinkering and have too much important app data to risk doing a reset when it may not work.
I need a way to actually get to the bottom of it first.
Why is google play services waking the phone 2000+ times per day? Wake lock detector says the phone has been awake 5 hours out of 10, but then the list of times for each app only adds up to 20 minutes. How do I find out what was keeping it awake the rest of the time?
Possibly some kind of location based frippery. Try removing location access from troublesome app. And turn off auto sync if it's on
Location services are completely disabled. Auto sync is off. Both have been since this started happening.
Used app quarantine to disable almost every app I put on here, and Fire OS is still 51%.
Possible culprits, though I'm not sure if I find it likely: Ultimate dynamic navbar, lightning chat, foscam viewer, google apps, xposed mods (have a few). greenify (that would be ironic), flixter, es file explorer, buildprop editor, calculator, jellybean keyboard, multi timer, skana battery alerts, nova launcher, power toggles, slacker radio, bank app, super user, terminal emulator, outlook, wakelock detector.
Get better battery stats from xda, it gives a better breakdown of wake locks.
Alright what should I look for in there?
Ok here is what I believe I have found out, using network log along with better battery stats.
The phone is waking up constantly due to netbios pings (I know not technically pings), from various computers on my network, mostly my main PC. I don't know why it's doing this. Could be one of many background processes. In my opinion, it shouldn't matter. The phone shouldn't be that stupid.
I was able to... I think, mitigate a lot of this by doing a few things.
The first is editing qcom's ini inside etc/wifi so that if it says offload, I put a 0, I assume it's offloading to the cpu, which causes it to wake for pointless crap. The second thing I did was re-enable optimized wifi. This is probably already on, on everyone else's phone. I turned it off because I was trying to figure out how to tether while connected to a vpn through the phone. Still can't get that to work. And I know how to, because I did it on my nexus prime, but something in the fire OS is f'ing that method up (iptable configs).
I'm considering seeking an app to turn off wifi when the phone sleeps, because better battery shows wifi on 100%, and even with the changes above, I was still responding to some netbios pings in the network (about 1/5th as many). I imagine most networks will have noise like this.
However, even after all this, fire OS is still the main battery draw. Better Battery doesn't account for all the wake time, not even by half.
For now I've put enough time into this.
Hello.
I've bought a G4 in March and only 20 days ago I've started to notice a odd and big battery drain. Android tells me it's "Android SO" consumption. What once drained like up to 5%, now drains more than screen. 20 days ago, battery lasted like 34h. With same usage now, turned 12h.
I've uninstalled the apps I've installed meanwhile, used it in battery eco mode and even on airplane mode, without any luck.
4-5 days ago I've installed Wake Lock Detector (no root, but with the right permissions) and Better Battery Stats. From what I understand from the reports, they don't blame any specific app but show thousands of wakelocks on Android SO. I believe sometimes it can be normal (for instance, when I run with GPS and music). Anyway, maybe the issue lies here.
What I find really odd is that those 2 apps say that the phone is awake more than 90% of the time. Like 1h of deep sleep only per full battery.
I could understand if someone says that it's the battery that had a great use already, but not only has 7 months of use, but also the phone behaviour changed (Android SO was never so high before, at least constantly).
Thanks in advance for any advice!
JoaoAfonso said:
Hello.
I've bought a G4 in March and only 20 days ago I've started to notice a odd and big battery drain. Android tells me it's "Android SO" consumption. What once drained like up to 5%, now drains more than screen. 20 days ago, battery lasted like 34h. With same usage now, turned 12h.
I've uninstalled the apps I've installed meanwhile, used it in battery eco mode and even on airplane mode, without any luck.
4-5 days ago I've installed Wake Lock Detector (no root, but with the right permissions) and Better Battery Stats. From what I understand from the reports, they don't blame any specific app but show thousands of wakelocks on Android SO. I believe sometimes it can be normal (for instance, when I run with GPS and music). Anyway, maybe the issue lies here.
What I find really odd is that those 2 apps say that the phone is awake more than 90% of the time. Like 1h of deep sleep only per full battery.
I could understand if someone says that it's the battery that had a great use already, but not only has 7 months of use, but also the phone behaviour changed (Android SO was never so high before, at least constantly).
Thanks in advance for any advice!
Click to expand...
Click to collapse
Suggest you check out and install the apps recommended apps on ✭[GUIDE][26-07-2016]Extreme Battery Life Thread(Greenify+Amplify+Power Nap)✭ at https://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
Read the OP thoroughly for each app discussed. The wakelock situation can be helped a good deal with Amplify and Greenify in particular - the paid versions - but I would also install AppOppsXposed - all require Xposed which requires root in order to be installed and I would also check out Power Nap to see if any incremental improvement.
You may a also want to run a malware scan ...
Thanks for the info. I checked it earlier, but most of those apps only run in root phones. I'm waiting for official Nougat in G4, mostly because haven't saw yet a Nougat image for this device without any problems, like camera not working, or such. I wouldn't mind to pay for apps that could work on this, but I want to avoid rooting. I guess I rather put Android 7, that has a bigger chance to even solve this problem, than root at this time.
Haven't said earlier but did a factory reset yesterday and device kept the behavior... I believe a hard reset would reduce almost to 0 the eventual malware problem.
No obvious alternatives for not rooted phones? Haven't this happened to someone else and been solved?
Thanks!
I had the same problem a few weeks ago...i was loosing ~30% of the battery at night with no wifi/data/gps etc. I tried everything...factory resets, different roms, greenfy & those kind of apps but the phone would not sleep. The last thing i tried was a factory reset and after i logged into my gmail account i set the phone as a new device...so no restoring apps and backups from my gmail account. Now everything is ok, my phone sleeps like a baby. I've read somewhere that it might be related with the syncing & backups....i don't really know, but you can give it a try.
uzadragos said:
I had the same problem a few weeks ago...i was loosing ~30% of the battery at night with no wifi/data/gps etc. I tried everything...factory resets, different roms, greenfy & those kind of apps but the phone would not sleep. The last thing i tried was a factory reset and after i logged into my gmail account i set the phone as a new device...so no restoring apps and backups from my gmail account. Now everything is ok, my phone sleeps like a baby. I've read somewhere that it might be related with the syncing & backups....i don't really know, but you can give it a try.
Click to expand...
Click to collapse
Haven't tried that yet. I'll try to remove and add the device again, to avoid the pain of a new hard reset.
To have a reference, it was good to know an average percentage of other G4 deep sleep. If everyone has around 90%... maybe it's not a problem at all. The "sleep like a baby" is which percentage? Also, there are plenty babies that wake up hourly crying for a period of time...
Thanks for the tip!
JoaoAfonso said:
Haven't tried that yet. I'll try to remove and add the device again, to avoid the pain of a new hard reset.
To have a reference, it was good to know an average percentage of other G4 deep sleep. If everyone has around 90%... maybe it's not a problem at all. The "sleep like a baby" is which percentage? Also, there are plenty babies that wake up hourly crying for a period of time...
Thanks for the tip!
Click to expand...
Click to collapse
My phone was awake >90% of the time(when screen was off), even in flight mode, when it had "the problem". Now things are back to normal...~2% awake when the screen is off.
Hello again.
Tried to reset a couple more times, tried to remove old phone register in my gmail account, but I wasnt successful.
How you did the
"The last thing i tried was a factory reset and after i logged into my gmail account i set the phone as a new device..."
?
Once it asks for my account, I'm not able to set it's a new device. I also did no restores... Is there a way to disconnect devices from Google account? I was only able to do so in devices I connected like one month, or more, ago, but not able to do so in the device I'm using at the moment.
One thing I did not try but that would confirm your thesis is to register device with a new account.
Anyone with an alternative?
I'm hoping LG really releases Nougat for G4 in 2017...
Today, the device returned to normality without any intervention. I can only imagine the following: since last factory reset I've disabled some apps I didn't used, like Google books, or Google music, but only yesterday I did a normal reboot (due to huge battery drain...). Eventually, some updates just took place after this reset. Anyway, even having imagined this theory, I don't believe in it. Wizardry, I bet.