GPS draining battery - Sony Xperia XA Questions & Answers

Hi all,
I've had this battery drain for a while and haven't been able to find a solution.
My phone works fine when the GPS is off (I have to turn it on, with the GPS off), but when the GPS is on I get a huge battery drain...seems that the phone never goes to sleep even after switching the GPS off and the only solution is to restart it.
From better battery stats I see there are two kernel wakelocks: GPS and gpswakelock.
Does anyone have the same problem?
Any ideas on how to fix it?

mantish said:
Hi all,
I've had this battery drain for a while and haven't been able to find a solution.
My phone works fine when the GPS is off (I have to turn it on, with the GPS off), but when the GPS is on I get a huge battery drain...seems that the phone never goes to sleep even after switching the GPS off and the only solution is to restart it.
From better battery stats I see there are two kernel wakelocks: GPS and gpswakelock.
Does anyone have the same problem?
Any ideas on how to fix it?
Click to expand...
Click to collapse
Try to disable these in location settings

Related

does GPS ON drain battery if not really used?

If i turn gps on, but dont actually use it (no gps icon), will it drain my battery?
Tik_Tak said:
If i turn gps on, but dont actually use it (no gps icon), will it drain my battery?
Click to expand...
Click to collapse
No, there are no drain: disabling gps via widget or menu simply force gps off even if required by app, but leaving has no power drain if is not enable by application request
Thank you
Unless the satellite icon is in your address bar GPS is off, but remember that it may not show when geo tagging pictures etc, so if you've taken a lot of pics indoors your phone may still be draining your battery by requesting locations via gps or the network.

[POLL] Asus Weather Widget Causing Battery Drain

Ok, so I've been reading a lot about how people are experiencing battery drain on their TF tablet and TF dock. I wasn't experiencing any battery drain overnight until I installed a bunch of apps and played with many settings. So recently, I would see my tablet go from 80% battery to ~60% battery while I slept (around 10 hours of being turned off).
I checked on the Asus Weather widget and it was set to refresh every 4 hours. I turned that off and set it to refresh only manually. Now my battery goes from 91% to 91% (after 10 hours). I've tested this two nights in a row now so I think I've fixed my battery drain issues. Anyone else experience these results?
Other settings I have:
Wi-Fi sleep policy set to turn off when screen turns off.
Does no one have this issue with the Asus Weather Widget? Does no one care about battery drain?
Dear ScubaSteveo
I have such query also, last night 95% before standby with the wifi sleeping, however, when I woke up and checked only left 72% within 9 hours.
So, I untick the Asus weather auto update and changed to manual also.
I will actually switch off the wifi before sleep tonight to test.
I upgraded to 3.2 just two days before, so I don't know much about the wifi problem and battery problem.
But I am quite sure only wifi could cause such battery draining.
It may be not the Asus weather causing the problem, maybe the setting of "screen off with wifi sleeping" actually doesn't sleep the wifi.
I have heard a lot 3.2 with a lot wifi and battery problems...hope Asus finds out and solve the problems.
I still think it's the Asus Weather Widget because as soon as I turned off the refresh setting and changed it to Manual refresh, I stopped seeing the battery drain.
Let me know if you see your battery do better after switching to manual.
I saw a similar improvement when switching from the 4 hr default to manual. I tested it last night and saw 10% drop in dock battery in ~10hrs, where before it was about 2-3% / hour.
B50 tablet and dock, 3.2 stock, battery saving mode test does not work
chupig said:
But I am quite sure only wifi could cause such battery draining.
It may be not the Asus weather causing the problem, maybe the setting of "screen off with wifi sleeping" actually doesn't sleep the wifi.
I have heard a lot 3.2 with a lot wifi and battery problems...hope Asus finds out and solve the problems.
Click to expand...
Click to collapse
I now have to agree with you. I've tested the Asus Weather Widget (still on manual refresh) with Wi-Fi sleep policy set to turn off when the screen turns off, and I have around 3% battery drain per hour. Apparently I have had Airplane mode on for a while so WiFi was not activated while I was sleeping.
This is not good.
So why the heck is the Wi-Fi not sleeping when it is supposed to??

[Q] Battery draining and high CPU load when idle

Hi everyone here
I got a concern about my TF101 Tablet.
When I switch my Tablet screen off and set the WiFi as turn off when screen off, my battery still drains extremely fast. From the pic you can see, my battery is running out from full to 10% in only 1day and 6 hours without any use. My GPS and bluetooth are also turned off in this period. From the pic you can also see my CPU load is over 30% at most of the time.
From the second pic, I can see the process "System" uses the CPU very hard
Can some one figure it out and I will appriciate it very much!
Here I have to bump...
wm2001wm2001 said:
Hi everyone here
I got a concern about my TF101 Tablet.
When I switch my Tablet screen off and set the WiFi as turn off when screen off, my battery still drains extremely fast. From the pic you can see, my battery is running out from full to 10% in only 1day and 6 hours without any use. My GPS and bluetooth are also turned off in this period. From the pic you can also see my CPU load is over 30% at most of the time.
From the second pic, I can see the process "System" uses the CPU very hard
Can some one figure it out and I will appriciate it very much!
Click to expand...
Click to collapse
I am seeing the exact same problem, not sure what the cause is either. I read somewhere about "wakelocks" where some app will try to keep the CPU awake when you try to go into standby and it results in high system usage.
Thank you for this thread, I am also having this problem. I think the problem for me may be because of Google Maps.
Basically, I'm running some tests now. I had massive battery drain overnight while I slept. The tablet would go from 90% down to 50% in an 10 hour period (4%/hr). It didn't matter if it was docked or not docked. I was running Google Maps v5.8.0 and saw some people post that the new version is eating up the battery. So I removed the updates for Google Maps and tried again.
Now I'm running v5.6.1 of Google Maps and the battery went from 100% to 42% in a 17 hour period with absolutely no use (3.5%/hr). I checked battery usage, and Google Maps is at the top and it's taking up 41% of what was used. That's ridiculous.
So now I'm going to install the latest Google Maps and see if this helps at all. I've also attached some screen shots of my latest tests.
Other details:
Wi-Fi is set to sleep when the screen turns off.
MobileDock Battery saving mode is checked.
Use location for Google Search is unchecked.
I did another test last night after having updated Google Maps to v5.9.0 (latest). I got the same results. Google Maps is eating through my battery when the tablet should be sleeping.
Here's the results:
The tablet was undocked, and fully charged.
I didn't touch the tablet for 15 hours.
The battery went from 100% to 55% in 15 hours = 3%/hr drain.
Google Maps was largest user of battery at 75%!!
I also did a reboot after I updated Google Maps to v5.9.0.
WTH is going on here?! Anyone have any ideas??
ScubaSteveo said:
I did another test last night after having updated Google Maps to v5.9.0 (latest). I got the same results. Google Maps is eating through my battery when the tablet should be sleeping.
Here's the results:
The tablet was undocked, and fully charged.
I didn't touch the tablet for 15 hours.
The battery went from 100% to 55% in 15 hours = 3%/hr drain.
Google Maps was largest user of battery at 75%!!
I also did a reboot after I updated Google Maps to v5.9.0.
WTH is going on here?! Anyone have any ideas??
Click to expand...
Click to collapse
Try turning off all location services (WIFI/GPS) and see if the problem goes away. I did something similar and the sleep mode CPU utilization dropped back to 1% or so. I haven't yet enabled the settings one by one to see which one cis causing the issue.
wilkster said:
Try turning off all location services (WIFI/GPS) and see if the problem goes away. I did something similar and the sleep mode CPU utilization dropped back to 1% or so. I haven't yet enabled the settings one by one to see which one cis causing the issue.
Click to expand...
Click to collapse
You are correct. I am able to turn the Airplane mode on and see virtually no battery drain at night. But this is rather annoying to have to turn on airplane mode every time you are done using the tablet and turn it back off whenever you want to use the tablet.
The best option would be to locate the source of this issue and fix that. Tonight I'll be testing Google Latitude turned off to see if this fixes anything.
As a test I turned back on location services (GPS/Google) but unchecked the use WiFi for location and found the problem went away overnight. Only a few % CPU use. Not quite as good as leaving in Airplane mode but close. Lost about 2-3% CPU over 7 hours. WiFi use setting is to disable with screen turned off.
So after my test last night, I still had massive battery drain.
I turned off Latitude as best I could last night and still same result. Google Maps is chewing up my battery like no other: from 100% to 52% in 15 hours with zero usage by me. Anyone have any other ideas? Any other apps that might be causing this?
ScubaSteveo said:
So after my test last night, I still had massive battery drain.
I turned off Latitude as best I could last night and still same result. Google Maps is chewing up my battery like no other: from 100% to 52% in 15 hours with zero usage by me. Anyone have any other ideas? Any other apps that might be causing this?
Click to expand...
Click to collapse
I had previously logged out of latitude and saw the same high drain result as you, so don't think it is that. When I disabled the WiFi location the drain stopped (leaving gps on). I agree it may be Google maps related since it uses the WiFi location services (since maps uses that service to locate the tablet along with gps).
I have a similar issue, but my problem is not with Google Maps. Instead, the main battery drain is "Android System." I usually leave my Transformer on standby 24/7 and used to only have to charge once a week. This problem appeared out of the blue a few days ago.
Google mail is the only thing on auto-sync, and this setting has never caused any issues in the past. Thus, I'm not sure why Android System is now suddenly waking up at random when asleep. You can see in the plot that System constantly requires 30% CPU usage once it happens, until I actually turn the device back on.
In addition, my wi-fi sleep policy is set to turn off when the screen is off. Recently, it seems it is always on, even when the device is asleep.
EDIT: The graphs from the OP suggest that our issue might be related, but the problem appears to manifest much more frequently for the OP. Crossing my fingers that next week's update somehow fixes this problem.
LagginTimes said:
I have a similar issue, but my problem is not with Google Maps. Instead, the main battery drain is "Android System." I usually leave my Transformer on standby 24/7 and used to only have to charge once a week. This problem appeared out of the blue a few days ago.
Google mail is the only thing on auto-sync, and this setting has never caused any issues in the past. Thus, I'm not sure why Android System is now suddenly waking up at random when asleep. You can see in the plot that System constantly requires 30% CPU usage once it happens, until I actually turn the device back on.
In addition, my wi-fi sleep policy is set to turn off when the screen is off. Recently, it seems it is always on, even when the device is asleep.
EDIT: The graphs from the OP suggest that our issue might be related, but the problem appears to manifest much more frequently for the OP. Crossing my fingers that next week's update somehow fixes this problem.
Click to expand...
Click to collapse
The system process was the same issue on my system as well (didn't show up as google maps). I confirmed that turning off the "Use Wireless Networks" under Location and Security stopped the constant 30% cpu usage when in standby.
After freezing Maps, which is the biggest culprit for me....i noticed, System Process' was way high now.
28%
After doing some searching.... came up with this
http://forum.xda-developers.com/showpost.php?p=16828183&postcount=605
At least for my case.
Google Maps battery drain Solved!
For me, I figured out the issue was Latitude.
I was getting bad battery drain overnight and Google Maps was the largest user by far. I finally signed out of Latitude completely. Battery drain dropped to around 2% (total) overnight! This is acceptable!
As it turns out, Latitude wakes up my device while it should be sleeping in order to update my location and therefore draining massive battery overnight. I'm going to post this as a bug with Latitude/Google Maps because this is causing waaaay too much battery drain.
So it looks like I won't be able to leave Latitude signed in. Once I'm done using it, I will have to sign out of Latitude. This way I can leave Wi-Fi on and set to turn off when the screen turns off. Thereby I get really good battery life again.
On a side note, my phone has the same behaviour, but I never noticed it because I'm usually charging my phone at night. So Latitude...basically...sucks (battery).

ICS Wifi stays on while on sleep

Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
From my experience, wifi stays on for a little while longer after device sleeps. However, some apps in background may trigger wifi back on again. So I turn off wifi when i go to bed. Actually i notice wifi itself will not drain much battery, 1-2% for 10hr. It's the host apps sucking the juice.
I am not an expert though.
OK i've also checked it out and as you said wifi turns off after some time. My main problem now is that my battery life won't last more than 3-4 hours on wifi.
I have posted my battery stats with use of web browsing and watching pictures on gallery...
jimgeroul said:
My main problem now is that my battery life won't last more than 3-4 hours on wifi.
Click to expand...
Click to collapse
What do you mean "no more than 3-4 hours"? In your battery chart, you can get more than that even starting from 75% battery.
What I wanted to say is that I think my battery won't last more than 4 hours with wifi on and some serious usage.. from my stats as I can see I've been using it 5 hours but I only had screen on and browsing the web. I think there will be a huge difference if I am watching a movie or playing a game.. I don't have the time to check it now but I will post my results in some days..
According to my previous battery graph do you see any problem or something less from what your Xoom battery holds? Does this battery drain seems normal to you?
jimgeroul said:
Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
Click to expand...
Click to collapse
I think you'll find it will stay on for about 15 minutes. There is some setting in a system database (using a sqlite editor) that can be changed to bring this down. I doubt Wifi is what's draining your battery. Are you synching email via activesync or running other stuff in the background?
I am only using my yahoo mail from the EMail app. I don't know if it uses activesync. I have set it to check emails every 30minutes.
wifi not turning off
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
lazers378 said:
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
Click to expand...
Click to collapse
My guess:
1) Always: WIFI always on no matter awake or asleep
2) Only when plugged in: WIFI always on only when plugged to power
3) Never: WIFI will be off if asleep (my current setting)
That was it
invidious07 said:
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
Click to expand...
Click to collapse
Thanks, I had not seen the option to turn wifi off during sleep.
--Doug
Bear in mind that (irritatingly) applications can seemingly change this setting.
cspiby said:
Bear in mind that (irritatingly) applications can seemingly change this setting.
Click to expand...
Click to collapse
For an app to change wifi sleep policy, it needs the WRITE_SETTINGS permission.

[Q] [REQUEST] Advice on permanently turning off WiFi

Hi guys, i noticed an irritating problem with my One S after a few days of usage. My WiFi turns on at random, and remains on when my phone is in sleep mode. This occurs when I have 3G on. I have turned off using WiFi in sleep mode.
Anything else I can do? I feel like this takes a toll on my battery life.
I wouldn't worry too much about wifi if you just got the phone.
While its connected it shouldn't use up the battery. Afaik
It's the searching that uses battery.
yeah my wifi is on 24/7 i dont experience any drain through it..
you could put a toggle widget on one of your screens to turn it on / off.
it shouldnt be switching itself on it you manually turned it off
But it does exactly that! It turns itself on even after I have manually toggled it off. irritating as it searches for open networks even if I have data on. How do I resolve this hmmm
Maybe Tasker would help?

Categories

Resources