[HELP] Something is demolishing my battery life... - Nexus 5X Q&A, Help & Troubleshooting

Background:
So last night I went to bed and left my phone on my dresser with 30% battery. The phone normally drains a few % overnight. WiFi on, Location on (high accuracy), Mobile Data On, etc. I wake up this morning to find that my phone is completely dead. I thought it was pretty strange so I connected the phone to the charger for an hour or so and charged to about 96%. I disconnected my N5X from the charger and put it on my computer desk and sat down to play The Division for a little while. After about an hour, I noticed that my phone was still very warm and that my battery had sank down to 88%... I've never had this problem before, even on my current ROM and kernel setup, which I've been running for about a week now.
Problem: Insane battery drain. CPU is Awake 100% of the time, even when the screen is off. No Deep Sleep and No Doze.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I did notice, however, that the phone reported WiFi being on for a large portion of the day where I actually had turned the WiFi off. The gym I go to every day has horrible WiFi and I prefer to use LTE. I usually forget to turn WiFi back on after leaving to go back home and shower. So there's at least a 2-3 hour segment there where WiFi was absolutely not enabled, and yet the battery graph shows that it was....
Culprit:
This mother****er right here. com.google.android.gms. Specifically two alarms: ALARM_WAKEUP_LOCATOR and ALARM_WAKEUP_ACTIVITY_DETECTION. I'm not so sure about the latter, but the Alarm_wakeup_locator is actually waking the phone up at least twice a minute, which is insane. It's massacring my battery life as well.
Solution?
I've never had a battery drain problem like this before. In fact, I haven't had a drain problem like this in at least a year or two. I have no idea what to do to fix this. I've Googled this issue and there doesn't really seem to be a straight answer.
I think it has something to do with Google Now or Google Play Services, perhaps a location setting, but I've tried disabling Location for 2 hours now and it has not fixed this issue. I have considered perhaps disabling a service but I can't identify which service exactly is causing the issue.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update! - March 22nd, 2016
After a second clean wipe and a switch to Pico Gapps, the problem was resolved. This gave me a barebones operating system in which the CPU was sleeping just fine when the screen was off. No wild wakelocks or alarms to report. One by one I reinstalled my favorite apps, avoiding almost anything by Google -- No drain / keep awake issue reoccurred. My phone is now back to normal with only one thing missing. Google Now. The Google app and Google Now Launcher are both NOT on my device and my phone is achieving some seriously sick battery life and SOT. I am confident that if anyone else is facing these issues that the culprit is Google Now and the Google Search app. Those experiencing this issue should try removing these apps if possible or clean wipe and install with a very minimal Gapps package, just as I did.

I get similar Google alarms too, but it shouldn't cause any drastic drain.

I recently had a massive battery drain but couldn't work out the cause. Was going down 30%+ overnight and nothing had really changed on the system (few new apps which I removed).
The only thing showing any high battery drain was Google play services but even that was only at 4-5% (104 ish mah in the battery stats from memory) which didn't tally with the massive drain I was showing.
Ended up having to do a full reset to sort it out and all fine now.
This was pre the March update and fixes, I did flash the fixes while I had the issue and nothing improved.

roofrider said:
I get similar Google alarms too, but it shouldn't cause any drastic drain.
Click to expand...
Click to collapse
Yes but does your phone enter deep sleep? The only reason why I'm even looking at the alarms is because something is keeping this phone awake constantly.

Alcolawl said:
Yes but does your phone enter deep sleep? The only reason why I'm even looking at the alarms is because something is keeping this phone awake constantly.
Click to expand...
Click to collapse
Yes mine does go to sleep. Attaching some of my battery (mediocre) screenshots.
I would suggest turning off wifi and bluetooth scanning in location settings. I found it kept my wifi always active (even if wifi was turned off) when GPS was set to high accuracy. Sometime even if you change from high accuracy to battery saving, the wifi continued running til the phone is rebooted (at least in my case). Bad network will also cause drain, but none of these should keep the CPU firing always. Have you checked the CPU states? Is Google Service keeping you mobile radio active? How about Android OS?

roofrider said:
Yes mine does go to sleep. Attaching some of my battery (mediocre) screenshots.
I would suggest turning off wifi and bluetooth scanning in location settings. I found it kept my wifi always active (even if wifi was turned off) when GPS was set to high accuracy. Sometime even if you change from high accuracy to battery saving, the wifi continued running til the phone is rebooted (at least in my case). Bad network will also cause drain, but none of these should keep the CPU firing always. Have you checked the CPU states? Is Google Service keeping you mobile radio active? How about Android OS?
Click to expand...
Click to collapse
Mobile signal is excellent. Full bars of LTE at work (which is where I am now). The top battery users (besides the screen) are Android System and Google Play Services. Attached are some screenshots of the keep awake times.. Something very strange is happening here. Bluetooth and WiFi scanning are both off I. Location settings.

Just factory wipes for the second time but went with a Pico Gapps package and the drain is gone. The cpu sleeps now whwn the screen is off. I haven't logged into Google yet, so I'm not sure of the cause yet.

Alcolawl said:
Just factory wipes for the second time but went with a Pico Gapps package and the drain is gone. The cpu sleeps now whwn the screen is off. I haven't logged into Google yet, so I'm not sure of the cause yet.
Click to expand...
Click to collapse
i got the exact same problem with you.
Phone was idle overnight, WiFi on, Location set on High.
Forgot to install BBS so i cannot see what's causing it but i think it is the same thing that causes your battery to die.

mflow said:
i got the exact same problem with you.
Phone was idle overnight, WiFi on, Location set on High.
Forgot to install BBS so i cannot see what's causing it but i think it is the same thing that causes your battery to die.
Click to expand...
Click to collapse
Factory resetting and reinstalling my ROM with the smallest gapps package possible (Pico Gapps) fixed the issue for me. I'm starting to think it was Google Now. Shame, I really liked Google Now too, but I've signed in and installed some of my favorite apps already and there's no drain and the CPU is sleeping like a baby with the screen off.

Alcolawl said:
Factory resetting and reinstalling my ROM with the smallest gapps package possible (Pico Gapps) fixed the issue for me. I'm starting to think it was Google Now. Shame, I really liked Google Now too, but I've signed in and installed some of my favorite apps already and there's no drain and the CPU is sleeping like a baby with the screen off.
Click to expand...
Click to collapse
is Pico Gapps refers to Open Gapps Pico Package? or something else?
ps. i don't use Google Now..
==
update :
clean flashed Latest pure nexus, using latest Open Gapps Pico Package.
*fingers crossed* hope that the problem is gone..

mflow said:
is Pico Gapps refers to Open Gapps Pico Package? or something else?
ps. i don't use Google Now..
==
update :
clean flashed Latest pure nexus, using latest Open Gapps Pico Package.
*fingers crossed* hope that the problem is gone..
Click to expand...
Click to collapse
Yep. That's exactly what I did. Just keep an eye on the battery graph and reset the stats. I put the phone down, walked away and then came back 5 minutes later. I checked the graph and the phone went to sleep after a minute or two so I knew it was fixed. Just remember to let the ROM settle for a little while before doing this. After flashing a ROM lots of stuff needs to settle in the background.

Alcolawl said:
Yep. That's exactly what I did. Just keep an eye on the battery graph and reset the stats. I put the phone down, walked away and then came back 5 minutes later. I checked the graph and the phone went to sleep after a minute or two so I knew it was fixed. Just remember to let the ROM settle for a little while before doing this. After flashing a ROM lots of stuff needs to settle in the background.
Click to expand...
Click to collapse
Okay, done the exact same steps *fingers crossed*
By any chance, do you use any battery saving apps such as Amplify or Greenify?

mflow said:
Okay, done the exact same steps *fingers crossed*
By any chance, do you use any battery saving apps such as Amplify or Greenify?
Click to expand...
Click to collapse
Nice, the screenshots look promising.
Also, no, I prefer not to use apps like that and let the Operating System do its thing. I did almost consider using one of those if I couldn't figure out how to fix this problem but you can get into trouble pretty fast with those apps if you disable/slowdown/restrict/greenify the wrong thing.

Alcolawl said:
Nice, the screenshots look promising.
Also, no, I prefer not to use apps like that and let the Operating System do its thing. I did almost consider using one of those if I couldn't figure out how to fix this problem but you can get into trouble pretty fast with those apps if you disable/slowdown/restrict/greenify the wrong thing.
Click to expand...
Click to collapse
yeah Right, almost installed Xposed only to use Amplify to reduce the Play Service wakelock.
will fully charge this device tonight, and leave it on idle till morning.

I do have Amplify installed to tame play services, but now I'm being tempted to do a clean flash (maybe this is all that is required? Not everyone using the same GApps package seems to be reporting such issues) and try a different GApps packages. Currently on PN GApps. Lets see how long the thought of wiping the data and reinstalling all the apps continue to put me off.

Made the mistake of firing up Google Opinion Rewards today and it asked me if I wanted to use my Location History. I declined and it somehow started destroying my battery life anyways. CPU is being held awake again. Can Google design a single ****ing app correctly?

Alcolawl said:
Made the mistake of firing up Google Opinion Rewards today and it asked me if I wanted to use my Location History. I declined and it somehow started destroying my battery life anyways. CPU is being held awake again. Can Google design a single ****ing app correctly?
Click to expand...
Click to collapse
Are you sure it doesn't have anything to do with any custom software you're using? I'm on a stock device (no root) and have no such issues, I've got just about every Google app installed and use Google now regularly.

bblzd said:
Are you sure it doesn't have anything to do with any custom software you're using? I'm on a stock device (no root) and have no such issues, I've got just about every Google app installed and use Google now regularly.
Click to expand...
Click to collapse
I actually wiped the phone and reinstalled apps one by one until the issue came back and it stemmed from ElementalX's Kernel Management app somehow. I haven't contacted Flar2 about it yet because I'm not sure if it's from a setting that I touched or just the app itself.

Alcolawl said:
I actually wiped the phone and reinstalled apps one by one until the issue came back and it stemmed from ElementalX's Kernel Management app somehow. I haven't contacted Flar2 about it yet because I'm not sure if it's from a setting that I touched or just the app itself.
Click to expand...
Click to collapse
What is EXKM causing? I thought previously Google Services was the problem.
How did you narrow it down to that app? I have it too, maybe i can test.

roofrider said:
What is EXKM causing? I thought previously Google Services was the problem.
How did you narrow it down to that app? I have it too, maybe i can test.
Click to expand...
Click to collapse
I installed the apps I like one by one and recorded them on a list on my computer. After each app install I wiped the battery graph and let it sit with the screen off for a minute or two and checked to see if the CPU was being held awake. I installed like 15 apps before I got to Google Keyboard and EXKM. I installed both at the same time and repeated the procedure. When I looked at my phone, it was being held awake so I knew the culprit was either Google Keyboard or EXKM. I uninstalled Google Keyboard and did a reboot. Phone was still being held awake. I uninstalled EXKM and did a reboot, phone went into deep sleep. I reinstalled Google Keyboard, CPU still wasn't being held awake. I installed EXKM again after a few minutes and the awake issue came back. I uninstalled EXKM and proceeded to install more apps and the phone functions completely normally. I have no idea how EXKM can hold the phone awake like that but I'm guessing its a setting in there that is broken? I installed Kernel Adiutor and applied the same settings and tweaks that I normally would with EXKM and there was still no CPU awake issue so it's gotta be that app.

Related

Battery is dying at fast rate

For the past 3 days my battery is dropping at an incredibly fast rate. Even if its idle it will drop about 20 % every half hour with little to no use. I rooted my phone and am now running fresh with kings kernel but no change. I an even dropping in airplane mode. What can it be? I left it at 90% connected to wifi with the sync off and when I woke up 6 hours later it was at 20%. Any solutions?
Sounds like mine, just turning on the screen drops the batter 1-2%.
Hit menu and click on settings. From there, go to About Phone and then to Battery. Note the awake time and turn the screen off for thirty seconds or so. Turn the screen back on and check the awake time again. If it's not within five to ten seconds of the time you noted before you turned the screen off, something is keeping your phone awake, which does a number on the battery.
square parts or system panel might give a better idea of what specifically is draining your battery, or preventing it from sleeping correctly.
It seems fine, about 15 seconds difference. The weird thing is this only started happening about 3 days ago, I rooted yesterday, and its still doing it.
Go for what Fachadick said. Download and install Spare Parts from the Android Market. Go to Battery History and click on the dropdown box where it says "other usage" and click on "partial wake usage". If anything is taking up one of those bars, that's your problem.
If there's nothing notable there, it could be damn near any of your applications. When you root, you lose settings for you apps (depending on how you rooted), so your autosyncs could be going crazy. Might wanna check those.
TheMagicalSock said:
Go for what Fachadick said. Download and install Spare Parts from the Android Market. Go to Battery History and click on the dropdown box where it says "other usage" and click on "partial wake usage". If anything is taking up one of those bars, that's your problem.
If there's nothing notable there, it could be damn near any of your applications. When you root, you lose settings for you apps (depending on how you rooted), so your autosyncs could be going crazy. Might wanna check those.
Click to expand...
Click to collapse
What he said Rooting won't fix battery issues. Rooting and installing a new ROM is just like reinstalling your OS. It can fix things or not depending on how it is configured. Likewise it won't fix your phone if hardware is bad.
does it drop steadily or just the first 5-10% or so? There is a well documented issue where the trickle charge stops at 100% and then shuts off so the phone actually drains a bit before it kicks in again. When you first unplug it, the reading may drop quickly until it reaches the real level.
Likewise depending on what you have installed and how it is set up, there may be something keeping your phone from sleeping. Check for partial wake use like the previous poster said and that will tell you what process/application is keeping your phone awake and draining battery.
i had this same problem about the battery before i rooted my phone. after i rooted it i got overclock widget and i get through the day with so much more battery left. i make sure my battery is full right before i go to bed, i put it on airplane mode and go to bed wake up around 7 a.m.(my battery is always at 98 when i get up in the morning so 2% in about 8 hrs) and i get home around 8:30 and my battery is at 48%. and no i dont leave it lying around with the screen off. i constantly go on, text, internet etc.
hope it works for you too!
your friend.
Ninja25
I am having this same problem and it started about 2 days ago. I downloaded Spare parts and looked up the partial usage (screenshots attached). I'm not sure what I'm suppose to determine from this. Mail is showing with more fill-in than any other program, when I click on it, I get the details. Can someone help?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
trhonda2000 said:
I am having this same problem and it started about 2 days ago. I downloaded Spare parts and looked up the partial usage (screenshots attached). I'm not sure what I'm suppose to determine from this. Mail is showing with more fill-in than any other program, when I click on it, I get the details. Can someone help?
Click to expand...
Click to collapse
It doesn't appear (to me anyway) that you're having any issues with partial wake time. You may have a runaway app draining your battery and cpu - system panel is invaluable for hunting those down. It will show you each running process with exacly how much cpu it's used. It gets even better and gives evenmore detail if you let it monitor your system over time.
turn off latitude
kthejoker20 said:
turn off latitude
Click to expand...
Click to collapse
How did you get that from his screens? Not doubting you, but where do you see that?
Sent from my blah blah blah blah
Thanks for the help fachadick, where would I get "System Panel" from? Couldn't find in the market.
P.S. - I'm a lady LOL
trhonda2000 said:
Thanks for the help fachadick, where would I get "System Panel" from? Couldn't find in the market.
P.S. - I'm a lady LOL
Click to expand...
Click to collapse
There I go, letting my prejudices get ahead of me again, sorry about that. I think in the market it’s called systempanel – one word.
So will the free version pinpoint the problem, or would I need to do the paid version?
trhonda2000 said:
So will the free version pinpoint the problem, or would I need to do the paid version?
Click to expand...
Click to collapse
to be honest, I'm not sure - I don't remember what kind of detail it gives you in the free version, but the app is so useful to monitor cpu and battery, as well as for hunting down rougue apps, I would recommend the paid version as a "required" app for all rooters.
when you load it up, the default screen is essentially a taskkiller - but more importantly, you can go into settings and have it show ALL processes, and if you select one of the apps or processes from that main screen, it tells you when it was started, how much cpu it used, how much memory its used, and at least in the paid version, a historical graph of cpu usage - so you can see exactly when it used the cpu over the past 2 hours, 8 hours, 1 day, 3 days, or over the past week.
Me Too - "Android System" extremely high - Stock 2.2
This is also happening to me from 4 days ago. I haven't installed any new apps in the last 15 days or so, and for good measure, i uninstalled the last 10 apps i installed before that. When i check battery usage, the "Android System" takes up between 60 and 70 percent. When i open it, it lists like this:
HTC Checkin Service
Settings
Upgrade Setup
Rosie Utility
Android System
Setup
Accounts & Sync
HTC Widget Download Manager
VPN Services
Network Location
com.android.qxdmlog
BrcmBluetoothServices
Settings Storage
Click to expand...
Click to collapse
Bluetooth is off, 4g is off (when's cincinnati going live already!??! Just the heart of downtown and the mall)
Wifi is off, and I've been turning off gps now, but i always used to leave it on and made it through the day.
"Cell Standby" is next with 8%, everything else below that.
I kill everything with task manager now and it doesn't seem to help at all.
It is not possible to exaggerate how fast the battery is being drained. It drops by 1-2% each 45 seconds or so. I've done the Charge-for-8-hours-turn-off-charge-trickle-charge-unplug-trickle-charge-unplug-etc thing last night and no help. This is with no widgets installed, no live wallpaper, no music, when for months i can make it through the day with a little pandora, bluetooth while driving, a game or two, internet, maps, and several other apps throughout the day. I've stopped everything but messaging and phone calls and it still drains just as fast.
PLEASE HELP!
I don't know if this applies to anyone in this thread, but after installing a new rom sometimes I forget that the Gtalk/Gchat app resets itself to automatically sign in, and drains the battery while running in the background.
Changing it to not run automatically helps out for me, although I feel that I may have gotten slightly better battery life out of the rooted stock rom than running the King kernel I'm using right now. At least in terms of percentage drop. I never really reset my battery stats or recalibrate after installing a new rom, don't know how much that has an effect on the readings.
This is turning into a deal breaker
Its not latitude, off. Not ANYTHING as it still happens with everything off and all apps killed in task manager.
No background, no live wallpaper (even though i used to have one all day). No music (even though i used to have pandora on a couple hours a day). screen brightness is always low (even though i used to leave it above medium, and would turn it up to high to watch video or a game, and still made it most of the day before).
The phone's battery use thing swears its "Android System" thats taking by far the most, not even cell standby got larger when i unplugged it in the basement where there's no service.
i've turned off everything i could think of, no apps 'auto update' and i've put all syncing and updating and stuff to manual or off that i could find.
I don't think its a faulty battery because it is ridiculously noticeable that something has changed in that ANDROID SYSTEM is now a power hog. Why and what do to?????
wlpywd said:
Its not latitude, off. Not ANYTHING as it still happens with everything off and all apps killed in task manager.
No background, no live wallpaper (even though i used to have one all day). No music (even though i used to have pandora on a couple hours a day). screen brightness is always low (even though i used to leave it above medium, and would turn it up to high to watch video or a game, and still made it most of the day before).
The phone's battery use thing swears its "Android System" thats taking by far the most, not even cell standby got larger when i unplugged it in the basement where there's no service.
i've turned off everything i could think of, no apps 'auto update' and i've put all syncing and updating and stuff to manual or off that i could find.
I don't think its a faulty battery because it is ridiculously noticeable that something has changed in that ANDROID SYSTEM is now a power hog. Why and what do to?????
Click to expand...
Click to collapse
Have you pulled the battery lately? Give that a shot.

[Q] High "Awake" vs "Screen On" time

Let me preface this by saying I'm not complaning about battery life as 36h is very good. That said, I feel like my phone is awake much longer that it should be. Anyone have any ideas why my Awake time is so much higher than my Screen-on time?
Once again, I'm not complaining but considering my phone was awake almost 5x longer than the screen was on, I feel like I could squeeze some more life out of the phone. I had 1 exchange account @ 15min, 1 gmail on push, no talk/g+, ~2-3 hours off wifi (4g), gps on, bluetooth off, 4.0.4, leanKernel.
When analyzing the wakelocks, I don't see anything that would explain almost 6 hours of extra awake time:
Considering most of this charge I was on wifi, I think I should have been able to achieve more than 1.5h screen-on time. Especially when I see people getting 4-5+ hours on theirs. What could be causing this seemingly excess awake time?
Since those screen shots, I've done another full cycle and here are my results. Same settings as before. It looks as if I did a bit better with the ratio of awake vs screen on, but I still only got ~20 hours. I'll admit, this had much more 4g time and heavier usage.
As you can see it's better, as it was only awake about 3x as much as the screen. You can see where I was at home in the second screenshot (The long bar of wi-fi) and that included me sleeping yet it shows that the phone was consistantly waking up overnight without any usage. Short of "email", I'm not sure what could be causing it. I got MAYBE 3 e-mails overnight.
Signed out of talk/g+/latitude
Location services was NOT disabled in either set of screenshots. Disabled it and charging now. Maybe that will help?
Have you checked out your wakelocks using BetterBatteryStats (found here on XDA)? Also, download CPU Spy from the market and check how long your phone is in what state. If it isn't in deep sleep too often, you might have an app or service keeping your phone awake. Background Data of any kind usually does that. Also, the first culprit I would investigate is Google Maps. Uninstall that bad boy and test your phone out. I am betting you that 60% of the time, the problem with your phone being awake too often is with Maps running unnecessarily in the background. And to be clear, Maps self-restarts itself even after logging out of Latitude and closing the app completely
armanatz said:
Have you checked out your wakelocks using BetterBatteryStats (found here on XDA)? Also, download CPU Spy from the market and check how long your phone is in what state. If it isn't in deep sleep too often, you might have an app or service keeping your phone awake. Background Data of any kind usually does that. Also, the first culprit I would investigate is Google Maps. Uninstall that bad boy and test your phone out. I am betting you that 60% of the time, the problem with your phone being awake too often is with Maps running unnecessarily in the background. And to be clear, Maps self-restarts itself even after logging out of Latitude and closing the app completely
Click to expand...
Click to collapse
I have attached all the wakelocks to the previous two posts. I didn't attach CPU spy but I did check it every time. Usually it's between 60-80% but most often it's >70% in deep sleep.
Just did a fresh wipe with a app restore using the market. Location services have been disabled. I have uninstalled all gMaps updates and disabled the app. Is this good enough? Should I convert to user and uninstall using TB?
Just wanted to chime in and say I'm seeing a very similar profile to what you posted. And I'm not entirely sure, but I think this started when I flashed this ROM. What I feel like I'm seeing is that active use of the phone seems to be more of a drain than it used to, but I'm not sure how much of that would be placebo (i.e. remembering when I first got the phone around the holidays and there were a lot of relaxed days at home with constant wifi).
But right now I'm seeing 5.5 hours of awake time and 1 hour of screen on time, with 27% remaining. Total time is 42 hours, which seems to round everything out to a decent battery life, but again, 1 hour of use for 70% of the battery seems lower than what I remember. Not sure if a vote for seeing the same behavior is one for this being normal or us both having the problem, but I can try to post screenshots/more detailed info later if it would help.
This is on the above linked rom with stock kernel, 4.0.4 radios.
That's the same ROM I'm using and I agree, 70% usage for 1h screen time seems too much. I've seen people get over 2.5h screen on time on pure 3/4g
I'm going to see if disabling maps and location services help. Will report back.
I would be interested to see any SS you have, might help.
Sent from my Galaxy Nexus using XDA App
This is after a fresh wipe, fresh kernel install, no maps, no g+, no gTalk, no GPS, no location services, just gmail and 1 exchange @ 15 minutes
Any advice as to what's going on would be very helpful. Thanks in advance.
I also have a problem with wake-locks.
Since phone is relatively new ~2weeks its still stock 4.0.2 GSM. After some time my battery life fell and thanks to XDA i think i found the problem Google backup.
I disabled Google backup to see if i get the same awake time tomorrow.
If the problem doesn't go away, is it possible to resolve this problem without factory reset of the phone?
Here are some screenshots I made the other day, taken a bit into a charge but immediately prior the phone was down to <6%. Didn't get a capture of the kernel wakelocks but as you reported, the screen on time falls far below the wake time, and the wakelocks don't seem to come anywhere near to explaining the difference.
I just installed the 6.3.0 google maps, which claims to increase battery performance for location and latitude services. I'll try to make a comparison next time my battery is drained.
I've signed out of latitude before but generally don't redo this upon rebooting the phone. Does it sign in by default on every reboot?
Well after disabling backup thing im still getting 90% wake time from backup service so i will try to do a factory reset over weekend and hope it goes away... Will post resoults in case some 1 else gets this problem.
JoeSyr said:
Here are some screenshots I made the other day, taken a bit into a charge but immediately prior the phone was down to <6%. Didn't get a capture of the kernel wakelocks but as you reported, the screen on time falls far below the wake time, and the wakelocks don't seem to come anywhere near to explaining the difference.
I just installed the 6.3.0 google maps, which claims to increase battery performance for location and latitude services. I'll try to make a comparison next time my battery is drained.
I've signed out of latitude before but generally don't redo this upon rebooting the phone. Does it sign in by default on every reboot?
Click to expand...
Click to collapse
This looks to me like some sort of Maps issue. Try to uninstall/disable maps and see if it goes away. Looks like it's stuck trying to locate you with maps somehow based on those wakelock names.
Catoss said:
Well after disabling backup thing im still getting 90% wake time from backup service so i will try to do a factory reset over weekend and hope it goes away... Will post resoults in case some 1 else gets this problem.
Click to expand...
Click to collapse
Hopefully the factory reset will fix it, that is an odd problem.
It seems to me like my problem was the version of leankernel I was using. I went from 10.0exp2 to 2.01exp2 and it's much much better
Actually, the kernel upgrade did not fix my problem. I did seem to figure out what was happening though.
This entire time I've noticed that my phone would standby and sleep very well on Wi-Fi but when I switched to data it seemed as if I would bleed juice. I discovered that my "Keep Wi-Fi on during sleep" was set to "always" and I believe that was causing my excess wakes.
I've changed it to "Never" and I'm doing some tests. I'll be sure to report back if anyone is watching this thread.
Timdor said:
Actually, the kernel upgrade did not fix my problem. I did seem to figure out what was happening though.
This entire time I've noticed that my phone would standby and sleep very well on Wi-Fi but when I switched to data it seemed as if I would bleed juice. I discovered that my "Keep Wi-Fi on during sleep" was set to "always" and I believe that was causing my excess wakes.
I've changed it to "Never" and I'm doing some tests. I'll be sure to report back if anyone is watching this thread.
Click to expand...
Click to collapse
mine is opposite of that, i standby fine on data but terribly on wifi. im guessing that is background syncing. i just have to figure out what is doing it
i have my wifi set to never too for better battery life. It seems counter intuitive, but wifi is better on power than 3g/4g. So preventing the phone from leaving wifi back to cellular is better for battery. All my phones have been like this.
yeah thats what i thought it does but mine drains faster on wifi...i leave it on cause i barely get signal in my room an if i sit on 3g it just takes a long time to do anything
What type of drain do you get over 3g vs wifi?
Yesterday I was playing around on 3g all day and I was seeing an average of 6%/hr. My phone is consistantly awake 20-25% of the time according to betterbatterstats. Screen on will always be far less than half of my awake time. Wifi drains around 1%/hr
I did a wipe of my 4.0.4 install and flashed a fresh kernel download. I'm not logging into exchange because, for some reason, I think that's my problem.
Also, changing to Never didn't really fix my issue.

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

[Q] [Battery] Duration and Strange Android system behaviour

Hello everyone!
I own a LG G3 D855 and from the moment I bought it, I've noticed problems regarding battery life. After some resets, the store changed my battery. Despite this, it remained more or less the same. I usually never pass 3 hours of screen-on-time (no gaming!) with a full charge. After that, I considered it was due to the 2K display and reports around the internet talk about 4 hours with this phone, so I became thinking it was quite normal to have this battery life (asking your opinion, guys). Notice I usually have wifi on; 3g, nfc and gps turned off.
However there's a second problem. Sometimes, at random days, like it happen today, I get android system using more battery than the screen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm avoiding sending it over to the warranty, because I'll be 30 days without the phone and not sure they're figure out the problem.
PS: I'm running stock Lollipop, haven't rooted yet. Same behaviour when I had 4.4
bump
techdani said:
bump
Click to expand...
Click to collapse
I am pretty sure it's a software issue. The best way do diagnose them is to get root and install BBS (Better battery stats). It allows you to see everything - from cpu states to wakelocks and alarms.
If you don't want to root your phone, then your best bet is to reset your phone (Via recovery or via "Settings->Backup and restore" without adding a google account at initial screen (Or selecting "Set up as new device"), and then add it manually via "accounts and sync". This way, only calendar/contacts/bookmarks/etc will be restored to your phone, not settings. Then install mandatory apps (the less, the better. Preferably none at all...), and see if your battery life has improved. If it did, install apps in small batches and see which one affected battery this much.
About usual battery life:
"
Well, I too am getting around 6h sot on medium usage.
Setup used:
20% auto brightness. Apps report that phone stays 70-80% of time in "dim" state, 20% of time in "dark" state.
Constantly on: 4g, Bluetooth (paired and connected with headset), location services in high accuracy mode and sync.
Constantly off: nfs, WiFi.
Software:
1) Running in GCM push: Aqua Mail, Vkontakte, Google+, hangouts.
2) Running services: Google play services and headset application. I also use Poweramp which streams to Bluetooth headset for 1-2 hours a day.
3) Disabled/Deleted software: Google maps (It's insane wakelocks consumed battery back in ics era... nothing changed since then, lol), all other Google apps except search and Gplay, TAction, LG Email, LG MLT (I already disabled it by not agreeing to their policy, but just to be sure...), frozen LG Music (the widget too), LG Files and LG SmartCard service(I use Nova Launcher, so it doesn't work anyway). I set the location in Weather app manually, because in auto mode it tried to lock onto GPS signal each time i unlocked the device, which caused minute-long GPS wakelocks in subway.
4) I do not use Greenify or whatever. I cure the disease, not the symptoms - so i simply don't use apps which create a lot of wakelocks/alarms or do a lot of unnecessary background activity.
I use BBS (Better battery stats) to monitor behavior of new apps.
I get 5.40 to 6 h of sot, depending on usage. Using Twitch/YouTube/downloading roms drains battery in 4 hours, especially if signal is bad. Music/web browsing/minesweeping + 20-30 minutes of GPS gives me 6h of sot.
"
YaDr said:
I am pretty sure it's a software issue. The best way do diagnose them is to get root and install BBS (Better battery stats). It allows you to see everything - from cpu states to wakelocks and alarms.
If you don't want to root your phone, then your best bet is to reset your phone (Via recovery or via "Settings->Backup and restore" without adding a google account at initial screen (Or selecting "Set up as new device"), and then add it manually via "accounts and sync". This way, only calendar/contacts/bookmarks/etc will be restored to your phone, not settings. Then install mandatory apps (the less, the better. Preferably none at all...), and see if your battery life has improved. If it did, install apps in small batches and see which one affected battery this much.
About usual battery life:
"
Well, I too am getting around 6h sot on medium usage.
Setup used:
20% auto brightness. Apps report that phone stays 70-80% of time in "dim" state, 20% of time in "dark" state.
Constantly on: 4g, Bluetooth (paired and connected with headset), location services in high accuracy mode and sync.
Constantly off: nfs, WiFi.
Software:
1) Running in GCM push: Aqua Mail, Vkontakte, Google+, hangouts.
2) Running services: Google play services and headset application. I also use Poweramp which streams to Bluetooth headset for 1-2 hours a day.
3) Disabled/Deleted software: Google maps (It's insane wakelocks consumed battery back in ics era... nothing changed since then, lol), all other Google apps except search and Gplay, TAction, LG Email, LG MLT (I already disabled it by not agreeing to their policy, but just to be sure...), frozen LG Music (the widget too), LG Files and LG SmartCard service(I use Nova Launcher, so it doesn't work anyway). I set the location in Weather app manually, because in auto mode it tried to lock onto GPS signal each time i unlocked the device, which caused minute-long GPS wakelocks in subway.
4) I do not use Greenify or whatever. I cure the disease, not the symptoms - so i simply don't use apps which create a lot of wakelocks/alarms or do a lot of unnecessary background activity.
I use BBS (Better battery stats) to monitor behavior of new apps.
I get 5.40 to 6 h of sot, depending on usage. Using Twitch/YouTube/downloading roms drains battery in 4 hours, especially if signal is bad. Music/web browsing/minesweeping + 20-30 minutes of GPS gives me 6h of sot.
"
Click to expand...
Click to collapse
Thank you! I've hard reseted the phone and the battery seems the same or even worse. But I've configured the google account right away, despite having selected "configure as new phone". I'm gonna try to hard reset again and only configure it manually afterwards and see if it improves. If it doesn't, does it mean I might have a hardware issue?
techdani said:
Thank you! I've hard reseted the phone and the battery seems the same or even worse. But I've configured the google account right away, despite having selected "configure as new phone". I'm gonna try to hard reset again and only configure it manually afterwards and see if it improves. If it doesn't, does it mean I might have a hardware issue?
Click to expand...
Click to collapse
It is possible, that is why we are trying to rule out software issues first. If stock 20H rom (this version's battery life is noticeably better than others, i recommend installing it), without Google account and user-installed applications is still losing battery like crazy then yes, you should go to service centre.
And yeah, after reset and setup leave the phone on charger for several hours (3-4 at least). May help in some cases...
I've followed your instructions and hard reseted the phone, manually configured the google account afterwards and installed zero apps except for GSAM battery.
Got total 8h battery at 60% until now but mostly standby. Used the phone for web browsing (Wifi). Everything else turned off. Around 1h sot, 60% battery left. Is this normal?
techdani said:
I've followed your instructions and hard reseted the phone, manually configured the google account afterwards and installed zero apps except for GSAM battery.
Got total 8h battery at 60% until now but mostly standby. Used the phone for web browsing (Wifi). Everything else turned off. Around 1h sot, 60% battery left. Is this normal?
View attachment 3168607 View attachment 3168608
View attachment 3168609 View attachment 3168610
Click to expand...
Click to collapse
No, it is not. Android system is keeping a big wakelock on something... "Better battery stats' with root enabled can show you what exactly is keeping phone awake.
Is there any way to obtain this information without rooting? Because in my area they are quite picky regarding rooting when it comes to warranty :/
techdani said:
Is there any way to obtain this information without rooting? Because in my area they are quite picky regarding rooting when it comes to warranty :/
Click to expand...
Click to collapse
No, from 4.4 onwards that permission was moved to "system apps only" category. And you can't install BBS as system app wout root...
It's quite easy to return phone to full stock. Just flash stock kdz with CSE flash - voila, your phone has never been rooted.
YaDr said:
No, from 4.4 onwards that permission was moved to "system apps only" category. And you can't install BBS as system app wout root...
It's quite easy to return phone to full stock. Just flash stock kdz with CSE flash - voila, your phone has never been rooted.
Click to expand...
Click to collapse
Thanks again, man. Just another question, do you know any proper tutorial I can follow to downgrade? Cause I've never flashed roms without root and recovery installed first... do I need a recovery first?
Thanks again, man. Just another question, do you know any proper tutorial I can follow to downgrade? Cause I've never flashed roms without root and recovery installed first... do I need a recovery first?
Another thing, flashing back to stock... does it reset the root counter?
techdani said:
Thanks again, man. Just another question, do you know any proper tutorial I can follow to downgrade? Cause I've never flashed roms without root and recovery installed first... do I need a recovery first?
Another thing, flashing back to stock... does it reset the root counter?
Click to expand...
Click to collapse
http://forum.xda-developers.com/lg-g3/general/guide-downgrade-root-bump-t2997824
Yeah, it does reset "RCT". There is no root counter in LG.
YaDr said:
http://forum.xda-developers.com/lg-g3/general/guide-downgrade-root-bump-t2997824
Yeah, it does reset "RCT". There is no root counter in LG.
Click to expand...
Click to collapse
Already rooted and running v10a. Better battery stats is running, I'll post results as soon as battery drops a few %.
Screenshots... Please help me interpret this.
https://www.dropbox.com/sh/f7v2l95l6hskijw/AAACjVG7e50ViHDINxP60vgMa?dl=0
techdani said:
Screenshots... Please help me interpret this.
https://www.dropbox.com/sh/f7v2l95l6hskijw/AAACjVG7e50ViHDINxP60vgMa?dl=0
Click to expand...
Click to collapse
1) Virus scan mobile wakelock. It's McAfee, and it's baad anti-virus software - delete it via titanium backup/system apps uninstaller or whatever, and never use it again.
Also, disable google's inbuilt apps checker. It can be disabled in "settings->security-> check apps" or in "Application drawer->google settings->security-> check for..."
2) Facebook. It sucks your battery. Seriously, google for it - it's very badly coded. People usually delete/greenify it.
Kernel wakelocks are not truly "wakelocks" on this phone, so don't worry about them.
That's all the info that i can extract from these screenshots.
Delete McAfee, disable google apps checker, delete/freeze/greenify Facebook and it's messenger, then report back. Battery life should drastically improve.
Yesterday my battery life got amazing. Drained 50% with 1 h sot before deleting the antivirus and got more than twice sot (plus 2h7min) with the last 50 %. But today is goimg nuts again... Found two strange things: android phone with +700 wakes and another even stranger thing: bluetooth turns on and off, no notification, randomly... :/ bluetooth is BT, right?
YaDr said:
1) Virus scan mobile wakelock. It's McAfee, and it's baad anti-virus software - delete it via titanium backup/system apps uninstaller or whatever, and never use it again.
Also, disable google's inbuilt apps checker. It can be disabled in "settings->security-> check apps" or in "Application drawer->google settings->security-> check for..."
2) Facebook. It sucks your battery. Seriously, google for it - it's very badly coded. People usually delete/greenify it.
Kernel wakelocks are not truly "wakelocks" on this phone, so don't worry about them.
That's all the info that i can extract from these screenshots.
Delete McAfee, disable google apps checker, delete/freeze/greenify Facebook and it's messenger, then report back. Battery life should drastically improve.
Click to expand...
Click to collapse
Battery life got better but I do still have problems. Yesterday I turn on GPS because I needed it. After that I turn it off but google maps kept apparently kept the GPS on. Still, today I froze the app with link2sd, but it just kept counting as if the GPS was on with the battery as being on (+3h lol).
With the BT not turning off according to the video, I starting to wonder whether there is any problem with the Snapdragon that doesn't allow me to turn GPS and Bluetooth really off. It also doesn't make sense to me the charging graphic --' it was unplugged the whole time.
Please help!
techdani said:
Battery life got better but I do still have problems. Yesterday I turn on GPS because I needed it. After that I turn it off but google maps kept apparently kept the GPS on. Still, today I froze the app with link2sd, but it just kept counting as if the GPS was on with the battery as being on (+3h lol).
With the BT not turning off according to the video, I starting to wonder whether there is any problem with the Snapdragon that doesn't allow me to turn GPS and Bluetooth really off. It also doesn't make sense to me the charging graphic --' it was unplugged the whole time.
View attachment 3176722 View attachment 3176723 View attachment 3176724 View attachment 3176725
Please help!
Click to expand...
Click to collapse
1) Com.android.phone.
Press on it. If you see ACTION_CHECK_NETSTAT - then it's fastdormancy. Add
Code:
ro.ril.fast.dormancy.rule=0
to your build.prop and reboot.
2) Maps are broken since 4.0. Delete or freeze them and use other navigation software. Or make it a user app and greenify it.
If you really need them - there are guides on how to prevent their autostarts.
3) Charging graph is empty, meaning that is was unplugged the whole time.
4) Bluetooth turning itself on? Hm, never had that one. Besides, bluetooth use very little power while it's not searching for devices or actively transmitting/receiving something, so you shouldn't worry about that - for now, at least.
YaDr said:
1) Com.android.phone.
Press on it. If you see ACTION_CHECK_NETSTAT - then it's fastdormancy. Add
Code:
ro.ril.fast.dormancy.rule=0
to your build.prop and reboot.
2) Maps are broken since 4.0. Delete or freeze them and use other navigation software. Or make it a user app and greenify it.
If you really need them - there are guides on how to prevent their autostarts.
3) Charging graph is empty, meaning that is was unplugged the whole time.
4) Bluetooth turning itself on? Hm, never had that one. Besides, bluetooth use very little power while it's not searching for devices or actively transmitting/receiving something, so you shouldn't worry about that - for now, at least.
Click to expand...
Click to collapse
1) I found a tutorial saying to enter hidden menu in lg g3 and disabled fast dormancy from there. It solved the wakelocks. Is that equivalent to your suggestion?
2) I'll just uninstall them and install Here. I like it more anyway.
- I am figuring out this battery problems in v10a but I will eventually want to update to lollipop (rooted version as I need to get rid of McAfee). Do I need any special precautions or just install twrp and then flash the rooted lollipop?
Thanks!
YaDr said:
1) Com.android.phone.
Press on it. If you see ACTION_CHECK_NETSTAT - then it's fastdormancy. Add
Code:
ro.ril.fast.dormancy.rule=0
to your build.prop and reboot
Click to expand...
Click to collapse
Just curious on this.. where can i find this com.android.phone?

High battery drain with doze overnight

I'm no stranger to Android and troubleshooting problems, but right now I'm honestly at a loss as to what is causing my battery drain. I'm losing a little over 1% per hour while the device is in doze overnight, adding up to around 10-12% over 8 hours. Previously the max I would lose was close to 5%. I can't pinpoint exactly when something went rogue, but I want to say it was after the January update. I don't think I've added any new apps. I've obviously tried to clear data/cache in Google Play Services among some other apps too.
I've tried to use the battery historian, GSam, BBS, you name it. GSam is showing my device as constantly waking up overnight while in deep doze, but I can't attribute that to any wakelocks. BBS is basically clean as far as partial wakelocks go, and battery historian shows that 7% of the battery drain is unaccounted for. The one thing I have seen a few nights now is the Significant Motion that's in Google Play Services. I've also seen that under Phone and under Android System. I'm wondering if it's some kind of sensor, but I can't figure out what is causing it to stay on. I keep my phone on my nightstand overnight.
My next steps are going to be turning off always on display (AOD), turning on airplane mode overnight, and then doing a factory reset. I'll report back for anyone that comes across here, but I wanted to see if anyone has had similar issues.
I'm attaching a few screenshots, maybe someone can pick up something I'm missing.
https://imgur.com/a/rGxXQ
bosox284 said:
I'm no stranger to Android and troubleshooting problems, but right now I'm honestly at a loss as to what is causing my battery drain. I'm losing a little over 1% per hour while the device is in doze overnight, adding up to around 10-12% over 8 hours. Previously the max I would lose was close to 5%. I can't pinpoint exactly when something went rogue, but I want to say it was after the January update. I don't think I've added any new apps. I've obviously tried to clear data/cache in Google Play Services among some other apps too.
I've tried to use the battery historian, GSam, BBS, you name it. GSam is showing my device as constantly waking up overnight while in deep doze, but I can't attribute that to any wakelocks. BBS is basically clean as far as partial wakelocks go, and battery historian shows that 7% of the battery drain is unaccounted for. The one thing I have seen a few nights now is the Significant Motion that's in Google Play Services. I've also seen that under Phone and under Android System. I'm wondering if it's some kind of sensor, but I can't figure out what is causing it to stay on. I keep my phone on my nightstand overnight.
My next steps are going to be turning off always on display (AOD), turning on airplane mode overnight, and then doing a factory reset. I'll report back for anyone that comes across here, but I wanted to see if anyone has had similar issues.
I'm attaching a few screenshots, maybe someone can pick up something I'm missing.
https://imgur.com/a/rGxXQ
Click to expand...
Click to collapse
Are you rooted by chance? I've seen this mentioned in a couple other threads. Seems the culprit has something to do with GPS's, tethering in developer options, wifi and bluetooth scanning or a rouge app. Most all the cases I've seen have been since the 8.1 update.
Solutions I've seen...turn off everything in the pic.
Clear cache/data on play services(kinda risky)
Clean flash the January update with fastboot.
Turn off bluetooth and wifi scanning.
Check your router setup(some wifi setups like to keep waking the device. I get this in hotels at times)
Try turning wifi off at night.
How many apps are using location services?(I had a weather app that was keeping my device awake)
This can definitely be a bugger to identify. Sure hope you find it ?
Badger50 said:
Are you rooted by chance? I've seen this mentioned in a couple other threads. Seems the culprit has something to do with GPS's, tethering in developer options, wifi and bluetooth scanning or a rouge app. Most all the cases I've seen have been since the 8.1 update.
Solutions I've seen...turn off everything in the pic.
Clear cache/data on play services(kinda risky)
Clean flash the January update with fastboot.
Turn off bluetooth and wifi scanning.
Check your router setup(some wifi setups like to keep waking the device. I get this in hotels at times)
Try turning wifi off at night.
How many apps are using location services?(I had a weather app that was keeping my device awake)
This can definitely be a bugger to identify. Sure hope you find it
Click to expand...
Click to collapse
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
I wouldn't worry about turning off AOD saving you a bunch, I turned mine off and didn't notice any diff at all in overnight batt drain, so set it to DIM, and still haven't noticed any additional batt drain from when it was off.
If you really want to be a miser without totally losing AOD,
"always on" OFF,
"Lift to check phone" ON,
(Settings>Display>Ambient display>)
set it to DIM (Settings>Display>Screen Saver>Current Screen Saver gear>Night mode checked)
which is how mine is set up
Badger50 said:
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
Click to expand...
Click to collapse
Where is that fix touch module?
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
Where is that fix touch module?
Click to expand...
Click to collapse
Look in downloads in magisk manager.
Badger50 said:
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
Click to expand...
Click to collapse
I've been trying to avoid using that module just because I don't want to delay anything from GCM, but I'm going to look into it if I can't identify another culprit.
bosox284 said:
I've been trying to avoid using that module just because I don't want to delay anything from GCM, but I'm going to look into it if I can't identify another culprit.
Click to expand...
Click to collapse
Delay what? ?
Badger50 said:
Delay what? <span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_32.png);background-position:73.97179788484137% 79.9647473560517%;background-size:5418.75% 5418.75%" data-codepoints="1f914"></span></span>
Click to expand...
Click to collapse
GCM = Google Cloud Messaging, it's integrated into apps for push notifications. My (perhaps incorrect) assumption is that by dozing Play Services, you could delay push notifications for other apps.
bosox284 said:
GCM = Google Cloud Messaging, it's integrated into apps for push notifications. My (perhaps incorrect) assumption is that by dozing Play Services, you could delay push notifications for other apps.
Click to expand...
Click to collapse
Haven't noticed any delay what so ever with any push notifications from any apps. Google or otherwise :good:
I lost 11% overnight (8 hours), I have Amplify, Enable Doze for Google Play Services Magisk module and ForceDoze, and still getting that drain.
Could it be these apps conflicting with one another?
I noticed this as well and it seems to have started after the January update. Although mine isn't quite as bad. Pre-January update I was losing about 2-3% in like 8 hours. I'm now losing that much in like 4-5 hours. There were 2 days in a row where I actually lost like 15-18% over like 7 hours.
rickysidhu_ said:
I lost 11% overnight (8 hours), I have Amplify, Enable Doze for Google Play Services Magisk module and ForceDoze, and still getting that drain.
Could it be these apps conflicting with one another?
Click to expand...
Click to collapse
Get rid of amplify and forcedoze. Then see what happens. You've got too many things trying to do the same thing!
The Jan update has been ****. I would get almost 7 hrs SOT with 20% left. Now all I get is ****ty 4 hrs and phone at 10%. Usage wise it's the same since day 1 nothing new as such. No rogue app on BBS. This is messed up.
Badger50 said:
Get rid of amplify and forcedoze. Then see what happens. You've got too many things trying to do the same thing!
Click to expand...
Click to collapse
Yeah I had a feeling that could be it. I'll give it a shot by removing them, thanks for the suggestion! :highfive:
Badger50 said:
Look in downloads in magisk manager.
Click to expand...
Click to collapse
It isn't there that's why i asked
Sent from my Google Pixel 2 XL using XDA Labs
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
Try to run "su" and then "top" from terminal,
See what is your top process,
In one occassion, my magisk hide stucked up and using 30%++ of CPU all the time, even when idle, and that drain the battery in no time,
Am on 8.1 Jan, Kiriskura Kernel,
Tweak applied is Brevent, Amplify and my own EnableDoze for GMS.
Never lost more than 5% in 9 hours of sleep. Average is 2-3% with wifi on. Less than 2% when network is totally off
Prattham said:
It isn't there that's why i asked
Click to expand...
Click to collapse
You can try the one attached.
I cant find it in download section as well
Prattham said:
It isn't there that's why i asked
Click to expand...
Click to collapse
My bad. I forgot that it was a special build by another user. Install it from magisk manager. If it doesn't install, then flash it in twrp.
https://github.com/AndroPlus-org/ma...b/master/magisk-module-fix-touch-pixel2xl.zip

Categories

Resources