Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,137 Members 50,249 Now Online
XDA Developers Android and Mobile Development Forum

Drain Battery: GPS kernel wakelock

Tip us?
 
APD500
Old
(Last edited by APD500; 30th January 2012 at 06:45 PM.)
#1  
Junior Member - OP
Thanks Meter 5
Posts: 14
Join Date: Dec 2010
Location: Santiago de Chile
Default Drain Battery: GPS kernel wakelock

Hello, thanks to "Better Battery Stats" (http://forum.xda-developers.com/show....php?t=1179809), I've seen that after using the GPS with Google Maps (after using it I turned off the GPS), the phone does'nt enter into deep sleep, remains awake, drying the battery.

BBS shows that the process "GPS" (under "Kernel Awake") never ends, and the only way to end it is to restart the terminal. The drying is especially evident in the night (one night in my deep sleep or battery dropped to 1%, but with the process "GPS kernel awake" the battery loses 25-30%)

I'dont know if this is a problem of some ROMs, Kernels, Google Maps, etc. because I read that also happens in other devices (http://forum.xda-developers.com/show....php?t=1419087; http://forum.xda -developers.com/sho...p? t = 1442368)

I'm using: MiniCM7-2.1.6, Kernel 2.6.29.6-nAa-08, (thanks to @nobodyAtall for this great ROM-kernel), Undervolt, SmartassV2 and min CPU to 19Mhz.



I can add:

1) the problem no depends on the program, simply turn on the GPS on the Widget energy of the status bar and after turn it off, and the "GPS process" start and never ends, draining the battery.
It also happens with other programs besides Google Maps: AlpineQuest, GPS Status

2) If you turn off GPS you must restart the device to no leave running "GPS process"
Another solution is to restart the device with the GPS on and not turn off ever. With this the "GPS process" does'nt stuck and the battery will not dry. You can use Google Maps (or other application), the GPS works well and when you come out of the application does'nt happen that the "GPS process" keep the device awake drying the battery. Also, my experience is that leaving the GPS always on does'nt waste a lot of battery, if you are'nt using an application that uses it.
The Following 2 Users Say Thank You to APD500 For This Useful Post: [ Click to Expand ]
 
LtHuNTer_StepheN
Old
#2  
Account currently disabled
Thanks Meter 154
Posts: 70
Join Date: Oct 2011
Location: Manchester
Under investigation

will try to find solution about this problem
thanks
 
panchuckles
Old
(Last edited by panchuckles; 27th January 2012 at 07:01 PM.)
#3  
panchuckles's Avatar
Senior Member
Thanks Meter 23
Posts: 191
Join Date: Jun 2011
Location: antofagasta
Same here, im using nAa minicm7 2.17 + 09 kernel, after turn off the gps, with airplane mode my batery drain 2-3% por hour.

Restart the phone solved it.

enviado desde mi x8 E15a
 
amdunfreak
Old
#4  
Junior Member
Thanks Meter 2
Posts: 25
Join Date: Jan 2012
http://forum.xda-developers.com/show...1419087&page=3

are you guys using facebook app?
by freezing it in titanium backup, it looks like can cure the problem. GPS wake time not increasing...
 
zkyevolved
Old
#5  
zkyevolved's Avatar
Senior Member
Thanks Meter 278
Posts: 1,494
Join Date: Apr 2008
Location: Madrid, Spain
Hello, I'm on the Galaxy Note and I found that I'm having the same issue. I saw the remarks about Facebook. I just completely uninstalled it. Let's see if that helps! I'll post back .
 
chbea
Old
#6  
chbea's Avatar
Senior Member
Thanks Meter 20
Posts: 210
Join Date: Oct 2011
Location: Selangor
yes fb app is comsume many battery
 
Dexter_prog
Old
#7  
Senior Member
Thanks Meter 92
Posts: 899
Join Date: Jul 2011
Interesting research, gonna try your suggestions on my X8.
 
deedii
Old
#8  
deedii's Avatar
Recognized Contributor
Thanks Meter 1,016
Posts: 1,605
Join Date: May 2011
OT: try Fast Facebook rather than FB main app
 
Dexter_prog
Old
#9  
Senior Member
Thanks Meter 92
Posts: 899
Join Date: Jul 2011
I can confirm that this happens on my X8 also. The rebooting with GPS turned on option is no good for me because most apps try to use GPS for whatever reason.

There seems to be more info here: http://forum.xda-developers.com/show....php?t=1128135
 
Dexter_prog
Old
(Last edited by Dexter_prog; 3rd September 2012 at 10:07 PM.)
#10  
Senior Member
Thanks Meter 92
Posts: 899
Join Date: Jul 2011
So, any news on this? I'm on MiniCM and this wakelock thing still happens.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MultiROM Makes Its Way to the LG G2

Over the last few weeks, we’ve seen quite a fewflagship (and former flagship) devicesget to … more

Jair Player with a Major Update–Here’s What’s New!

Back in May, we talked a bit aboutJair Player, a nice looking music … more

Paid Android App Developers Will Soon Have to Provide Physical Address

Google has now changed its policies regarding paid app developers. … more