Location Services Issue - Nexus 6P Q&A, Help & Troubleshooting

Starting this week I've been experiencing a serious battery drainage in my device.
I've noticed this drainage happens at a time when Location Services appear to be working, for no apparent reason.
Now, I always have Location Services on, but I can never see it in the upper bar (the one where you can see the time, Wi-Fi connection, battery) unless I use an app that relies on it.
However, in the past few days, I see Location Services up there even though I'm not using any app that relies on it. What's worse is that it stays there even after I close all apps. In regular cases it tends to remain there as long as the app that needs it is running. As soon as I close the app, Location Services disappear from the upper bar.
If I turn off Location Services it will go away. However, once I turn it on it will be up there again. It will only go away if I reboot my phone.
Do you guys have any idea what may be causing this? I bought by Nexus 6p by the end of February and hadn't experienced this issue until this week. Before that, my battery usage was normal, and I could go a full day without having to charge my battery.
This issue, on the other hand, can drain my battery in the span of 1 or 2 hours.

Already noticed this problem and found the reason: Maps!

igorrj said:
Already noticed this problem and found the reason: Maps!
Click to expand...
Click to collapse
But I haven't used them.
For example, today I faced that problem solely by opening up Facebook. Then I rebooted my phone, opened up Facebook again but the problem didn't happen.
Now, I'm thinking this isn't happening by simply opening Facebook or Twiiter, but whenever I open them through the notification bar.
This is really odd.

I noticed the same battery drain. One night my phone batter wound up being pretty much dead. Today I noticed significant drain and when I looked at battery use, I saw where the consumption seemed to increase and observed the location services icon at the top of the phone that wouldn't go away even after making sure all apps were shut down. I don't really have many apps on my phone (certainly not ones that need location, so I suspect a recent update to Maps.
My first step was to delete and reinstall the updates. so let's see if that fixes it. If not, I'll just remove the updates and run that way until another version comes out. I suspect is just a goofed install or we would hear far more complaints of this issue.

I was literally getting ready to make a post about this. Sure enough, force-closing Maps stopped the issue. Glad to see it wasn't just me.

I'm having the same issue. I get the location icon on my status bar at random times and it stays there until a reboot. It eventually comes back. Pretty annoying as it is causing my phone not to deep sleep. I'm on stock with Franco kernel.
Sent from my Nexus 6P using Tapatalk

I'm having the same issue on latest stock firmware on both my SM-N910T3 & SM-T700. Started noticing the location icon all the time about a week ago, just about when it came out with the latest update on 4/1.

Well, uninstalling and reinstalling the updates to Maps didn't fix anything. I have uninstalled the updates and will monitor.

ZabiGarma said:
But I haven't used them.
For example, today I faced that problem solely by opening up Facebook. Then I rebooted my phone, opened up Facebook again but the problem didn't happen.
Now, I'm thinking this isn't happening by simply opening Facebook or Twiiter, but whenever I open them through the notification bar.
This is really odd.
Click to expand...
Click to collapse
Facebook is, by far, the worst app you can have downloaded. It is the cause of general phone issues and bad battery life. I uninstalled both FB and FB messaging and my wake lock issue was fixed and, in turn, my battery life is noticeably better
Sent from my Nexus 6P using XDA-Developers mobile app

I did a full master reset of my phone and am only running default applications. I still get the runaway location services. Before I did that, I downgraded Maps and that seemed to help. But then my phone automatically updated it. I know I can probably fix that situation but I'm surprised we aren't seeing more people with the problem.

Nexus 5x owner here (but posting my experience since this is literally the only thread on this anywhere).
Symptoms: Similar to everyone in this thread, location icon was popping up and staying resident in the top status bar. This was happening even without an event launching and causing massive battery drain. This was atypical of usage since my phone is basically not even used (essentially a notification machine with light text usage).
Checking the location menu, everything was listed as light usage, except for Maps as heavy usage (even though Maps wasn't even launched or in the recents menu)
Variables: Unfortunately, since my phone has been perfect since launch, I haven't been paying attention to all the updates granularly to isolate what was causing this. But, I do know for sure it happened after the April Monthly update and after a Maps update.
Troubleshooting: I was hoping it wasn't a system update issue, so I started poking around in the Maps settings to see if maybe a new Maps service was launched that was auto-enrolling users and potentially causing battery drain. Nothing to note, but I did notice I was signed out of Maps, which seemed weird. So I went ahead and re-signed into Maps with my Google Account.
Results: I honestly didn't expect this to have any impact, but the location issue hasn't come up after signing into Maps. It's been ~ 3 weeks and 4 battery cycles since I've had the location issue.
I'm not sure if signing in helped or maybe a server side Maps update fixed the bug, but if you're still having the location issue, it's worth a shot to see if you're signed into Maps (and sign in to try to fix the location issue).
If this does work for you, please report back since it will help in data gathering (and also we can let Google know the exact details of the issue and the potential fix so this bug doesn't hit in future versions).

Related

Google Maps keeps running!

Google maps is keeping my phone awake, I cleaned the cache and forced stop but keeps running, It used 12% of my battery in 2 hours so is a issue, any way to fix it?
Uninstall the Google Maps update. Others have had the same issue.
Sent from my LT15i using XDA App
Check if you have Latitude running. It can restart google maps. Also, you might want to do a search on your own, you're not the first one with this problem.
I ripped out crap I didn't use and it helped with speed and responsiveness. Maps was definitely one to go. I can always install it later if needed.
I'm pretty sure it's Latitude that's causing the problem.
dmora01 said:
Google maps is keeping my phone awake, I cleaned the cache and forced stop but keeps running, It used 12% of my battery in 2 hours so is a issue, any way to fix it?
Click to expand...
Click to collapse
I've had this same problem. For me, Latitude was the problem. I don't use it, so I used Ti Backup to get rid of it.
However, my wife uses Latitude and the way she solved the problem is by going into the Latitude settings and turning off the auto-update location feature, which was waking her phone up every 10 mins or so to update her location. Now she has it set so that she has to manually update her location and the battery use issue has gone away.
Latitude was the problem for me also. I turned off Latitude and it was fixed.
How do you keep it shut off? I have the same problem with Latitude but it just keeps starting up again. Only thing working is unchecking using both wireless networks and gps but then no applications can use that stuff which isn't super cool. Latitude is ofc still running doing this but at least it's not draining my battery.
calanbalan said:
How do you keep it shut off? I have the same problem with Latitude but it just keeps starting up again. Only thing working is unchecking using both wireless networks and gps but then no applications can use that stuff which isn't super cool. Latitude is ofc still running doing this but at least it's not draining my battery.
Click to expand...
Click to collapse
This is what worked for my wife:
VisedMonk said:
My wife uses Latitude and the way she solved the problem is by going into the Latitude settings and turning off the auto-update location feature, which was waking her phone up every 10 mins or so to update her location. Now she has it set so that she has to manually update her location and the battery use issue has gone away.
Click to expand...
Click to collapse
In Latitude > Settings > make sure "Do not update your location" is checked and "Enable automatic check-ins" is not checked. Then sign out of Latitude and you should be good to go.
tmcquake said:
Latitude was the problem for me also. I turned off Latitude and it was fixed.
Click to expand...
Click to collapse
That's not a solution, though, is it? FWIW, I made a bug report: http://code.google.com/p/android/issues/detail?id=17356
VisedMonk said:
However, my wife uses Latitude and the way she solved the problem is by going into the Latitude settings and turning off the auto-update location feature, which was waking her phone up every 10 mins or so to update her location. Now she has it set so that she has to manually update her location and the battery use issue has gone away.
Click to expand...
Click to collapse
Can I ask what good is latitude without the auto update feature? So your wife keep on manual updating everywhere she go?
ykphuah said:
Can I ask what good is latitude without the auto update feature? So your wife keep on manual updating everywhere she go?
Click to expand...
Click to collapse
I don't use it, so I can't say. I imagine she uses it to check in places, kind of like foursquare, which would be easy enough to do manually, I suppose.
ykphuah said:
Can I ask what good is latitude without the auto update feature?
Click to expand...
Click to collapse
Not much, really. Well, if you sign out completely you can't even see where your friends are.
Anyway, disabling the updates for my own location in Latitude's settings didn't make any difference for me.
As of 4.1.2 Maps is running permanently unless I disable Google Apps Location Access. LAME.
this has been an issue with me since ICS. I've uninstalled maps several times because I was getting such horrible battery life. I've seen my phone die in 3 hours in standby because maps was constantly running. Couple the map issue with your phone searching for a data signal, and it's easy to kill your battery from a full charge in just a few hours. Something needs to be done, severely!!
You can notice an instant, DRAMATIC increase in battery life after uninstalling/freezing maps, btw....I'd recommend giving it a shot to anyone having battery life problems.
heinrich said:
As of 4.1.2 Maps is running permanently unless I disable Google Apps Location Access. LAME.
Click to expand...
Click to collapse
I read that all location requests by all Apps goes through Google Maps, when WiFi and Mobile network location is enabled.
I too have been experimenting with different ways to boost my battery life, trying out disabling:
1. Signing out of Latitude
2. Turning off WiFi and Mobile Network Location
3. Turning off Google Now
4. Manually disabling Wifi and Mobile network etc...
So far I realize that its actually #2 that causes battery issues for me. Keeping latitude signed in doesn't seemed to have much impact if #2 is turned off.
I have ended up just uninstalling it because it was by far the most battery draining app on the phone, on the days where I was barely using it maps kept the phone awake for 3+ plus hours, making me charge the phone every day when I didn't even use it!!
My advice is when you need it, install it OR the day before, input the route/address/location you need and after the use for it ended, uninstall it. It'll be in your play store app list anyway so the above process, wont take too long.
littlebigsnafu said:
I have ended up just uninstalling it because it was by far the most battery draining app on the phone, on the days where I was barely using it maps kept the phone awake for 3+ plus hours, making me charge the phone every day when I didn't even use it!!
My advice is when you need it, install it OR the day before, input the route/address/location you need and after the use for it ended, uninstall it. It'll be in your play store app list anyway so the above process, wont take too long.
Click to expand...
Click to collapse
You can also freeze it with Titanium Backup or similar. More practical way to do it, IMHO.
By the way, if you freeze it, location services will be in their own process.
Just disable Location access.
Sent from my Nexus S using xda app-developers app
polobunny said:
You can also freeze it with Titanium Backup or similar. More practical way to do it, IMHO.
By the way, if you freeze it, location services will be in their own process.
Click to expand...
Click to collapse
Good advice! I'll try it that way in the next couple of days when I have a few job interviews coming up. However, I DO wish EL goog sorts this problem out sooner or later, it's only maps in the core Google apps that really has this problem.

[Q] Maps using up battery, even when Location Access is off. Solution?

Today for the first time since I got my G2 a few of weeks back I used Maps to double check my location in an area I'm not overly familiar with. So I toggled Location Access on, found where I was via GPS, then turned it off. All good so far.
However, later in the day, noticing that the battery was dropping quicker than you'd expect, I looked in the battery stats and saw that Maps was consuming a extremely large percentage (nearly 50%!). I tried a force stop but that didn't seem to have any real effect. I re-checked Location Access, all off, didn't seem to be any other option.
So what's the deal, is it a G2 thing (I'm currently on rooted stock 4.2.2), a general Android problem or Maps misbehaving? More importantly what, bar a reboot or not using Maps, is the solution? Do I need to buy the enhanced versions of Titanium Backup and Greenify to effectively put Maps into stasis or is there a more elegant way of doing it?
A quick, inconvenience way to solve this issue is rebooting the phone.
votinh said:
A quick, inconvenience way to solve this issue is rebooting the phone.
Click to expand...
Click to collapse
Ok. Is it Maps bug or something specific to the G2?
Honestly, I have no clue.
I turn off location reporting to save battery. If you are on an AT&T Rom Carrier IQ could be the problem.
Greenify?
I have the same problem! Even greenified it, but it says still draining battery. The only way is to reboot!
Any help?
I'm using Cloudy stock 2.0

DT2 - Drastic Battery Drain! Google services?

I am coming from a Droid Turbo - best phone I ever had -and never had any issues with it. Perfect right from the start.
I now have a DT2 and I get this immense battery drain at random times. The phone runs super hot and the drain is equivalent to 1% per minute. REAL BAD!
I even had the phone replaced and the problem persisted, so I know it's not a hardware issue.
The drain goes away in safe mode as well. So it must be software!
I've dwindled everything down with no positive results.
So I started looking at GSAM to get better stats on the battery.
It's showing Google Services eating up all of my battery with gmail trailing close behind.
So I look at my accounts and they seem to be constantly syncing. As soon as one stops, the other starts and they keep cycling like that.
All of my accounts are set to Push and I have very few items in my account checked off to sync.
Just the basics like people details, mail, calendar, contacts, google keep and g+. Everything else is turned off.
FYI, I also have an exchange account on there set to push and am on the latest Marshmallow update.
I've attached 3 screenshots to help visualize what's going on.
The most notable one is the standard batter app. The big dip is when the phone started getting hot and draining.
Does anyone know whats happening or how to fix it? I never had this problem with my original Droid Turbo, even with the same accounts.
wow, nothing so far?
dragonash said:
wow, nothing so far?
Click to expand...
Click to collapse
Maybe it's syncing too often ? Try to limit permissions for Google apps , or turn off data sync for a while and check if that fix it
Finally someone with the same problem as me. I've noticed the exact same behavior in Gmail (constant rotating sync which makes the phone hot and kills battery). However, Gmail doesn't show up in my battery stats as a battery drain, which is strange - but I do see Google Services. Unfortunately I have no permanent solution, but clearing the cache AND data for the gmail app solved the problem for about a week. Now it's back again. I have 7 google accounts in my phone, but sync is turned on for only 4.
Looking at other forums, many say that google play services is the cause, but I haven't been able to find any solid answers other than "restart", "clear cache/data", or the dreaded "factory reset". I hate having to factory reset to solve problems. Hopefully someone else who has had the same issue, or maybe someone who knows what's going on can help us troubleshoot.
cromag.rickman said:
Finally someone with the same problem as me. I've noticed the exact same behavior in Gmail (constant rotating sync which makes the phone hot and kills battery). However, Gmail doesn't show up in my battery stats as a battery drain, which is strange - but I do see Google Services. Unfortunately I have no permanent solution, but clearing the cache AND data for the gmail app solved the problem for about a week. Now it's back again. I have 7 google accounts in my phone, but sync is turned on for only 4.
Looking at other forums, many say that google play services is the cause, but I haven't been able to find any solid answers other than "restart", "clear cache/data", or the dreaded "factory reset". I hate having to factory reset to solve problems. Hopefully someone else who has had the same issue, or maybe someone who knows what's going on can help us troubleshoot.
Click to expand...
Click to collapse
I've contacted Motorola and they just want to give me a new phone. I'm on my 3rd from Verizon.
And yes, it is Google Services causing the issue as that operates a load of apps. However, we need greater details. If we got root on the phone, GSAM might be able to get more detailed information on the drain or the real app causing it.
Unfortunately, it looks like it's a Marshmallow bug.
Here are 2 work arounds that do not include clearing cache or factory resetting.
If you notice it getting hot,
1: toggle airplane mode until it cools
2: Download an autosync toggle widget to turn on/off sync
I do #2.

Pandora keeps closing since 9.0.5

After about 20 minutes, Pandora keeps closing. Battery management for the app is off. I've tried uninstalling, restarting the phone, but nothing has helped.
Is anyone else experiencing this?
Yep. Already tried turning off battery optimizing for pandora and giving it the proper permissions.... I suspect it is due to oos aggressive battery mgmt
This is a sign from the Universe to switch to Spotify. You have bright futures ahead.
Experiencing the same. Very annoying.
you guys figure this out?
I've had the same issue with Google Play Music. The only solution I have found so far is to lock the app in memory. After that, I've never had issues with it just closing randomly.
No issues at all with Pandora. I'm on 9.0.11. I have the app set to optimize, but I've got adaptive battery turned off because reasons.
I experience this all the time with the direct from Oneplus 6T. However, my wife's T-mobile 6T doesn't do this. What the heck?
I'm on 9.0.11, still does this with Pandora despite turning off battery optimisation and adaptive battery...has anyone else figured this out yet?
No issues here. May be Pandora's problem. Maybe they need to fix the app.
Pandora stops after 20 minutes ~
Was experiencing the same thing. I turned my background restriction off under battery usage, seems to be fixed on mine now. Nope shut down again
Apps stop working fix on armor phone. Mine is armor 6E
Press app main button near your home button. Then you can either swipe away running apps or press one of the two buttons which are clear all, or go into running apps settings (same screen, not main settings). This allows you to either have all apps stop after a certain time or individually have apps turn off automatically once screen times out after a certain amount of time. I hope this helps! Took me forever to find.
woflx said:
No issues here. May be Pandora's problem. Maybe they need to fix the app.
Click to expand...
Click to collapse
I agree with this post. I also noticed that when using pandora while using the waze navigation app that you can skip or pause but, are not able to replay a song. I have contacted both pandora and, waze about this issue and, they just blame each other. In the end no fix. I have pandora plus btw
I understand this may only help a few people, but what fixed it for me was going to settings > battery > adaptive battery > restricted apps... And then removing Pandora (from the list I forgot I added it to, upon the phone's prior suggestion)

What is turning off my GPS / Location Service?

When I go to use Google Maps for navigation, I often get the message "To continue turn on device location which uses Google's location service". The problem also affects ViewRanger, an app I use for walking. GPS appears to turn off during a walk so I lose the track of my route. In this case the message is "GPS is disabled in the settings. Please enable it."
I recognise this happens after the phone has been "asleep" for a while but have not been able to measure how long it must be asleep before the problem arises. I think it is at least 30 mins.
It feels like a "battery saver" problem, but I can't see any obvious power saving setting to turn off. ViewRanger is set in App Power-saver to have no optimisation policies.
I have had my Axon 7 since Jan 2018 and this problem has only occurred in the last few weeks. My model is A2017G on stock Oreo B03 and unrooted. The problem did not emerge when I first moved to Oreo. It may have started when I moved to B03 though I think GPS was fine for a while after I moved to B03.
Something is turning off location services in the background; how do I find out what it is? Is there some sort of log I can read? What other solutions are there? Many thanks in advance, Evan
I moved from stock Oreo B03 to B04 (via B02) and wiped the cache. All now seems to be well; ViewRanger recorded a 4 hour track with no problem yesterday. Slightly strange though as I had previously wiped cache while on B03 and found that didn't fix my problem.
Too good to be true
grantem2000 said:
I moved from stock Oreo B03 to B04 (via B02) and wiped the cache. All now seems to be well; ViewRanger recorded a 4 hour track with no problem yesterday. Slightly strange though as I had previously wiped cache while on B03 and found that didn't fix my problem.
Click to expand...
Click to collapse
It did all seem a little too good to be true and, sadly, Location Services again began "turning off automatically" only a few days after my upgrade to B04. I have attached 2 screenshots from the notification log for when I started recording a route in ViewRanger at 15:07 and again 3 mins later at 15:10 when tracking appeared to stop. The logs mean nothing to me, so any insight would be very welcome.
In the meantime, I uninstalled ViewRanger, deleted all ViewRanger directories, restarted the phone, re-installed ViewRanger and wiped cache again. After that, for now at least, Location Services are again behaving.
As all this appears to point the finger at ViewRanger, I will raise direct with the application owners too.
grantem2000 said:
As all this appears to point the finger at ViewRanger, I will raise direct with the application owners too.
Click to expand...
Click to collapse
ViewRanger, support were very responsive and supportive. They made a convincing case that the problem is not caused by ViewRanger, not least as the app has no capability to turn off Location Services.
But something is still turning off Location Services when the phone goes to sleep. How can I tell what is doing this?
In the meantime, wiping cache solves the problem for a few days, but, so far, it has always come back.
I have the same issue and that's why I think this phone's gps is useless. I find this gps not in accurate way to detect the coordinates even in all previous firmwares (nougat, all ver of oreo)
The auto turned off gps services maybe the case of software, but I think the hardware is bad either.
This is the worst part as I work using GPS a lot but I still love this guy's music features. I ended up using secondary phone/tablet to run some geographical apps, sad cant have em running in one phone only.
Update: my GPS get fixed on B04 with locked bootloader, it seems fine and fast to get POI. It's usable now. Guess the previous rom has bugs on GPS or it's broken by other apps I used before

Categories

Resources