Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,490 Members 41,191 Now Online
XDA Developers Android and Mobile Development Forum

PLEASE help me troubleshoot my ridiculous battery drain!

Tip us?
 
spexwood
Old
(Last edited by spexwood; 22nd June 2014 at 10:15 PM.)
#1  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
Default 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....
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-06-22-14-16-00.jpg
Views:	113
Size:	235.0 KB
ID:	2812241   Click image for larger version

Name:	Screenshot_2014-06-22-14-00-32.jpg
Views:	104
Size:	137.2 KB
ID:	2812242   Click image for larger version

Name:	Screenshot_2014-06-22-14-31-23.jpg
Views:	105
Size:	165.2 KB
ID:	2812243  
The Following User Says Thank You to spexwood For This Useful Post: [ Click to Expand ]
 
spexwood
Old
(Last edited by spexwood; 22nd June 2014 at 09:57 PM.)
#2  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
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).
Attached Thumbnails
Click image for larger version

Name:	System.jpg
Views:	63
Size:	233.9 KB
ID:	2812328   Click image for larger version

Name:	WLD.jpg
Views:	60
Size:	267.3 KB
ID:	2812330   Click image for larger version

Name:	BBS.jpg
Views:	61
Size:	266.9 KB
ID:	2812331  
The Following User Says Thank You to spexwood For This Useful Post: [ Click to Expand ]
 
spexwood
Old
#3  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
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. :/
The Following User Says Thank You to spexwood For This Useful Post: [ Click to Expand ]
 
Toledo_JAB
Old
#4  
Toledo_JAB's Avatar
Forum Moderator
Thanks Meter 2049
Posts: 2,576
Join Date: Jan 2011
Location: Toledo, Ohio
Quote:
Originally Posted by spexwood View Post

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. :/
Please do not be sorry for this thread

Someone else may have a similar issue so we will just leave it as it is

Glad your issue is fixed

Quote:
Originally Posted by kyphur View Post
Let me be very clear on this:
IF YOU DON'T CARE ABOUT UNDERSTANDING THE JOURNEY,
THEN YOU PROBABLY SHOULDN'T BE HERE IN THE FIRST PLACE.

The Following User Says Thank You to Toledo_JAB For This Useful Post: [ Click to Expand ]
 
spexwood
Old
#5  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
Quote:
Originally Posted by Toledo_JAB View Post
Please do not be sorry for this thread

Someone else may have a similar issue so we will just leave it as it is

Glad your issue is fixed
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!
The Following 3 Users Say Thank You to spexwood For This Useful Post: [ Click to Expand ]
 
spexwood
Old
(Last edited by spexwood; 23rd June 2014 at 08:21 PM.)
#6  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
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/gala...hddpc-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!
 
3617
Old
(Last edited by 3617; 24th June 2014 at 04:00 PM.)
#7  
Junior Member
Thanks Meter 1
Posts: 25
Join Date: Dec 2011
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
 
spexwood
Old
#8  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
Quote:
Originally Posted by 3617 View Post
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
Not to be rude, but the first sentence of my first post says I did this several times.
 
zamajalo
Old
#9  
zamajalo's Avatar
Junior Member
Thanks Meter 7
Posts: 29
Join Date: Jun 2014
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.
 
spexwood
Old
(Last edited by spexwood; 25th June 2014 at 03:18 AM.)
#10  
Senior Member - OP
Thanks Meter 128
Posts: 530
Join Date: Feb 2011
Quote:
Originally Posted by zamajalo View Post
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.
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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes