Quo Vadis, Open {Source, Standards, World}? w/ Jan Wildeboer – XDA:DevCon 2014

Open Source was a big topic at this years XDA:DevCon … more

Android 5.0 Leaked for the Samsung Galaxy Note 3

Android Lollipop is still making its way to many new devices. Firmware updates have been … more

Learn to Sync Files Between Android And PC with Unison

Dropbox and similar cloud services are great if youre planning to keep your files … more

OnePlus Indian Ban Lifted, Android One Expanding – XDA TV

Android 5.0.1 Lollipop is available for the Nvidia SHIELD Tablet! That and … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Battery Drain Solution!

OP Kolma

6th July 2014, 07:34 AM   |  #1  
Kolma's Avatar
OP Senior Member
Flag Tampa,FL
Thanks Meter: 59
 
344 posts
Join Date:Joined: Apr 2011
Donate to Me
More
For those that have had issues with battery drain like I did, I may have finally found the solution.
After much research and reading many threads I found that the culprit was google play services. Specifically it was Google (I believe on Now) always trying to figure out location.
It always does a quick wifi check to try and figure out what's what. However due to a bug that has been in the coding since launch of KitKat (hurry up and fix it google) it fails and will just continue to try and try and try.

Solutions I found were to turn off location access on phone or edit Google Play Services Permission, specifically disable stay awake permission.
Turning off location, google now access to location, or both resulted in temporary fixes and I believe google still tried to figure it's location via wifi despite being told not to.

Long story short...if having just wifi location doesn't work.. and having location off doesn't work...
Then why not switch mode to high accuracy in which GPS is left on!
Google uses GPS for location, it works in one try, everyone is happy!

Long story short, if you have KitKat and are experiencing high battery drain with you phone constantly awake when off.
Switch your location settings to High Accuracy. Phone is smart enough to not use GPS when not needed.
It worked for me and it might work for you too!
(Hopefully this fixes it for good)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-07-06-00-27-40[1].png
Views:	344
Size:	90.4 KB
ID:	2835479  
The Following 2 Users Say Thank You to Kolma For This Useful Post: [ View ]
6th July 2014, 10:05 PM   |  #2  
rajat836's Avatar
Member
Thanks Meter: 9
 
83 posts
Join Date:Joined: Jan 2013
More
Quote:
Originally Posted by Kolma

For those that have had issues with battery drain like I did, I may have finally found the solution.
After much research and reading many threads I found that the culprit was google play services. Specifically it was Google (I believe on Now) always trying to figure out location.
It always does a quick wifi check to try and figure out what's what. However due to a bug that has been in the coding since launch of KitKat (hurry up and fix it google) it fails and will just continue to try and try and try.

Solutions I found were to turn off location access on phone or edit Google Play Services Permission, specifically disable stay awake permission.
Turning off location, google now access to location, or both resulted in temporary fixes and I believe google still tried to figure it's location via wifi despite being told not to.

Long story short...if having just wifi location doesn't work.. and having location off doesn't work...
Then why not switch mode to high accuracy in which GPS is left on!
Google uses GPS for location, it works in one try, everyone is happy!

Long story short, if you have KitKat and are experiencing high battery drain with you phone constantly awake when off.
Switch your location settings to High Accuracy. Phone is smart enough to not use GPS when not needed.
It worked for me and it might work for you too!
(Hopefully this fixes it for good)

its working bro......cheers...... great ........
6th July 2014, 11:23 PM   |  #3  
Senior Member
Flag Lost Angeles
Thanks Meter: 132
 
681 posts
Join Date:Joined: Sep 2012
So usually I just keep GPS off to save battery. What your saying is to keep GPS on with high accuracy may actually improve battery life over keeping GPS off altogether?

Sent from my Virgin Mobile CDMA HTC Desire 601 zara_cl
7th July 2014, 04:08 AM   |  #4  
Member
Thanks Meter: 9
 
63 posts
Join Date:Joined: Oct 2012
More
what about device sensor's setting?
7th July 2014, 05:09 PM   |  #5  
Junior Member
Thanks Meter: 0
 
26 posts
Join Date:Joined: Apr 2014
More
hi all
is there anyone here already try AppOpsXposed? http://forum.xda-developers.com/xpos...s-4-3-t2564865
it's work at My desire 601 kitkat 4.4.2 without root
this apps can disable hidden system location and other thing but not sure work or not but so far my battery getting better now...
7th July 2014, 08:28 PM   |  #6  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jul 2014
Unhappy
I have the same problem but the solution doesn't work.
I think you fixed the problem by charged the phone and not with switch gps (see your graph).
My solution now is only reboot.
8th July 2014, 06:38 AM   |  #7  
Kolma's Avatar
OP Senior Member
Flag Tampa,FL
Thanks Meter: 59
 
344 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by hansvongrobel

I have the same problem but the solution doesn't work.
I think you fixed the problem by charged the phone and not with switch gps (see your graph).
My solution now is only reboot.

I have GPS switched on. it just doesn't keep it running google play services will turn it on as needed instead of trying to get location from wifi and locking up even when told not to.
Different people have had luck with different solutions and this was mine.

Here are my results from today, the first small block of awake is from me Listening to music for about an hour on 4G.
Not sure what the second block is, might have been apps that updated or the bug returning for a couple minutes. (battery was at 45% at time of pic)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-07-07-23-36-49[1].png
Views:	150
Size:	88.4 KB
ID:	2839401  
8th July 2014, 11:49 PM   |  #8  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: May 2014
More
Thanks for this! I'm going to have my wife give it a try!

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes