Searching for GPS wont go away - Nexus 7 Q&A, Help & Troubleshooting

i came from 4.2.1. updated to 4.2 and now my tablet wont stop saying searching for GPS (i am indoors and no GPS lock can be found).
nothing has changed, i have the same APPs haven't removed or added anything except updating via OTA yet now after the update this searching for GPS wont go away and i have to toggle it off now.
i have always left GPS and Wifi on with 4.2.1 and didnt have this problem and its draining my battery so i disable GPS.
anyone else see this on theirs?

1) turn GPS off
2) download gps status
3) wait until you are outside and stationary
4) turn on GPS and run gps status to see if you are getting any kind of fix on satellites.

Zillow (an app in the Play Store) causes this on my device. If I force closed it, the GPS icon would go away. If you're not using Zillow, maybe another app is the cause. Try force-closing anything you think might be using GPS

while google nav is running in background (searching for gps..) Hit the home button Go to settings . Toggle gps Of then back on..
You might have to then exit google nav off then back on.. Sometimes it will take a few tired..
This randomly happens to me sometimes if i start google Nav with the gps enabled.. Was present in 4.1.2 after the latest maps update .

I had the EXACT same problem.. I had updated in my "bunker" where I work (no GPS signals get in here) and until it finally got a signal it tried for like 2 hours. Once it did it, it was happy.
I really, really wish there were some way to see GPS usage history. There has got to be a way to do that. A log of what apps used the GPS, how long, etc

Same here. I also noticed this today and the battery drained quickly. It looks like the Weather Channel app was causing it in my case. It had an unusually large share of the battery consumption (according to the Android battery monitor) and uninstalling it seems to fix the issue (will take another day to confirm). This was working fine on 4.1.2.

Mine also has gone AWOL. I tried the on-off trick, all styles, but no joy (and waiting 2 hours was not a possibility... I needed it there and then).
I'll try the apps suggested, but as Gps is a core service, and one Google relies upon, it's disappointing that this crops up after an update to 4.2.
Sent from my Nexus 7 using xda app-developers app

szeiger said:
Same here. I also noticed this today and the battery drained quickly. It looks like the Weather Channel app was causing it in my case. It had an unusually large share of the battery consumption (according to the Android battery monitor) and uninstalling it seems to fix the issue (will take another day to confirm). This was working fine on 4.1.2.
Click to expand...
Click to collapse
Thanks for bringing this up. I was having this problem, and I have The Weather Channel too so I went to uninstall it and right when I did the GPS notification went away. It's looking like it may be a problem with the app then and not the GPS. Maybe something changed in the background and they have to make some modifications to the app to fix it.
I reinstalled TWC and when telling it to find me through GPS on the first run, it doesn't seem to want to get my location. I did it indoors before so I don't know why it wouldn't pick it up now. But at least it doesnt seem to be constantly accessing the GPS. I was going to do a factory reset to figure out if it was a problem with the system update itself but I'll just chalk it up to an app problem right now.
It's strange though, in 4.1.2 I don't remember getting any notification that the GPS was searching\locked on unless it was Navigation or Maps doing something. Either way, I dislike this new GPS notification thing overall. On the other hand, it's a good thing that we know the GPS was being used improperly. I hope they update The Weather Channel app soon. Weather Underground is slow even on the Nexus 7.

I'm having the same trouble after the update.

I left The Weather Channel uninstalled and had the GPS on again... still a lot of usage so I've just turned the GPS off until I need it. This is very unnecessary though. It has to be something in the operating system (I don't have any apps running in the background that should be using it so much when fine location isn't required).
Has anybody else tried a factory reset to see if this alleviates this problem? I really don't want to be the first and then lose important things I have saved to memory. :/

In 4.1.2 when using Navigation, GPS would be lost at times. Firing up GPS Test Plus would show no satellites, then rapidly find them, and suddenly Navigation would work again. I sometimes had to toggle GPS, sometimes didn't.
In 4.2 so far, I've had GPS vanish in Navigation, and stay vanished in GPS Test Plus. Toggling GPS doesn't seem to help. Rebooting is required to locate the satellites. Annoying.
About to delete 5gb of data to see if my 16GB model will magically speed up from the constant heavy lag.

A factory reset seems to have fixed my GPS problem.

same problem.i found a advertisement module in heywire caused it.as i force closed heywire,it is gone.before that,it continues for 7 hours.
Sent from my Nexus 7 using xda app-developers app

zhj said:
same problem.i found a advertisement module in heywire caused it.as i force closed heywire,it is gone.before that,it continues for 7 hours.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Sorry for the bump but it seems even after uninstalling The Weather Channel and the factory reset I still get GPS activation for a long time from time to time. I seem to have found the process in the battery usage that's causing it. "Fused Location". Not sure what uses this or what it is, it has an android icon. I force closed it and GPS stopped searching. Probably not a permanent fix. I sent feedback from the OS on this process.

I've seen this in 4.2 on my Nexus 7 AND my Galaxy Nexus.
Not nailed it yet, one culprit was Shazam (turned off Location in the settings for that and it went away)
Checking my Battery stats again, Shazam is on 12% and I've not even run it! Gonna remove the homescreen widget, see if that helps.

jmbillings said:
I've seen this in 4.2 on my Nexus 7 AND my Galaxy Nexus.
Not nailed it yet, one culprit was Shazam (turned off Location in the settings for that and it went away)
Checking my Battery stats again, Shazam is on 12% and I've not even run it! Gonna remove the homescreen widget, see if that helps.
Click to expand...
Click to collapse
i suggest you to to Settigs -> Apps -> Running (Tab)
Individuall kill/stop the application that you think might have caused the problem..
You will eventually know which Apps has caused it because the GPS icon goes away after you killed the erring application...
This worked for me. The problem App was "Perfect World Clock"

That solution is rather clunky. I have created a couple of simple Tasker profiles to get rid of this annoying notification. Works flawlessly for me. What it does is it shuts off GPS when the screen turns off, and restarts it after a short delay when the screen turns on. The delay is the real key here, as it circumvents the initial GPS search and, hence, no annoying message. Google Maps and Google Nav are not affected, as the GPS is always on when the screen is on, i.e. GPS is on whenever it is actually needed and off only if it is not needed. And, these profiles do not significantly impact battery, as they are Event triggered rather than State triggered. In fact, it probably saves battery, given that it turns GPS off when it's not needed. There are two profiles needed, which I have called "GPS Suspend" and "GPS Restart." Their associated tasks both utilize the Secure Settings plug-in which is needed to turn GPS on or off. As you will see, I have also added "If" conditions to each task's GPS command, to ensure that the command is executed if and only if the screen is in the correct (on/off) phase.
Here are the profiles and their associated tasks...
Profile: GPS Suspend
Event: Display Off
Enter: GPS Suspend
A1: Secure Settings [ Configuration:GPS Disabled Timeout (Seconds):0 ] If [ %SCREEN ~ off ]
Profile: GPS Restart
Event: Display On
Enter: GPS Resart
A1: Wait [ MS:0 Seconds:3 Minutes:0 HConfiguration:GPS:enabledours:0 Days:0 ]
A2: Secure Settings [ Timeout (Seconds):0 ] If [ %SCREEN ~ on ]
Try it and see!
modestdave

Related

ICS Passion R13 and GPS

Just an observation. This probably belongs in the development thread, but I don't have 10 posts yet.
I installed Kiss 2.2 kernal after installing ICS Passion R13.
After a reboot, I got a quick lock. GPS locked ok after periods of deep sleep over the course of two days.
Then I turned off GPS, which is a normal battery-saving move. It seems that if GPS is turned off (via the notification bar) and later turned back on after deep sleep, GPS does not work. GPSTest and GPS Status could see or lock on any satellites.
Second experiment was to reboot with GPS enabled indoors, thus not locking onto satellites. After deep sleep, the GPS was able to see and lock in about a minute.
It seems that the GPS will work after deep sleep, but only if the GPS is left enabled. I would be curious to know whether others see this pattern.
Have you tried build.prop modification?
Try it out to see if it helps.
In my case, I always managed to make my GPS lock every time (deep sleep or bad dream sleep lolz)
dougc405 said:
Just an observation. This probably belongs in the development thread, but I don't have 10 posts yet.
I installed Kiss 2.2 kernal after installing ICS Passion R13.
After a reboot, I got a quick lock. GPS locked ok after periods of deep sleep over the course of two days.
Then I turned off GPS, which is a normal battery-saving move. It seems that if GPS is turned off (via the notification bar) and later turned back on after deep sleep, GPS does not work. GPSTest and GPS Status could see or lock on any satellites.
Second experiment was to reboot with GPS enabled indoors, thus not locking onto satellites. After deep sleep, the GPS was able to see and lock in about a minute.
It seems that the GPS will work after deep sleep, but only if the GPS is left enabled. I would be curious to know whether others see this pattern.
Click to expand...
Click to collapse
I assume that you are talking about this thread?
http://forum.xda-developers.com/showthread.php?t=1447925
I have not tried this. Some of the keys you list don't exist in my build.prop. Is that ok? Should I add them? I will try this, but have to wait until I am near my computer in case something goes wrong.
It also appears that the GPS stops tracking as soon as the phone sleeps. This is not an issue when using in car mode because the phone does not sleep, but Google Tracks, which I use used while hiking, cycling, etc., does sleep (or at least shuts of the display) while tracking. I tried Google Tracks and it seemed to need to reacquire satellites when waking up the phone. I did not walk far enough to see the effect of that in the recorded track, but I assume that it was not tracking while asleep.
I also noticed the same effect when using GPS Status and GPS Test. If the display shut off, the apps had zero visible satellites when display was powered back on.
Yes, that's the post I was talking about.
If the line(s) is/are missing, just add them at the bottom for your convenience in case it does not work.
I don't want to say anything regarding the phone is having a good sleep or having a bad dream (lolz) because I never bothered to checkup on my phone. All I know is that when I need to use my GPS, I just poke my phone with my crooked finger to unlock, select the 2G Only checkbox, select the GPS Satellite checkbox, launch the Google Maps, type the destination address. (run on sentence lolz)
dougc405 said:
I assume that you are talking about this thread?
http://forum.xda-developers.com/showthread.php?t=1447925
I have not tried this. Some of the keys you list don't exist in my build.prop. Is that ok? Should I add them? I will try this, but have to wait until I am near my computer in case something goes wrong.
It also appears that the GPS stops tracking as soon as the phone sleeps. This is not an issue when using in car mode because the phone does not sleep, but Google Tracks, which I use used while hiking, cycling, etc., does sleep (or at least shuts of the display) while tracking. I tried Google Tracks and it seemed to need to reacquire satellites when waking up the phone. I did not walk far enough to see the effect of that in the recorded track, but I assume that it was not tracking while asleep.
I also noticed the same effect when using GPS Status and GPS Test. If the display shut off, the apps had zero visible satellites when display was powered back on.
Click to expand...
Click to collapse
The changes to build.prop and the GPS settings in AngryGPS made getting a fix much quicker and more reliable (<30 seconds from cold start). Thanks.
I also had to remove Weatherbug Elite. It has some wierd interaction with the GPS even when all location services are disable in the app. It ssems that it won't let the GPSLocationProvider shut down when the GPS is turned off. BetterBatteryStats showed wakelocks and the CPU could not go into deep sleep. At that point, reenabling GPS had no effect and GPS could not see or lock onto any satellites. Only a reboot cured it. Even if no widget is set up, Weatherbug still fires up, probably because of the Background update feature. I had to completely remove the app to prevent this interference.
Only one more problem and it is preventable. If GPS is on AND phone is plugged in with USB AND I run PowerAmp music player, the CPU run solid at 1000 mhz. Only shutting down PowerAmp, turning off the GPS, and unplugging/replugging the USB cable restore normal operation (lower CPU speeds, sleep). Merely unplugging USB does allow the CPU to run normal, but it pops right back up to 1000 when plugged in again. Wierd.
Any other leads?
Vibrant from aug 2010, made the changes but after a sleep the changes to the GPS settings and the libgps.so being added to /system/lib hasn't seemed to have made a difference. After a deep sleep, the gps seems to be dead. "Searching for GPS" appears in the status drawer, and otherwise it's all dead.
What can I do to provide better debugging feedback about this. Does anyone have e.g. a debugging or interposition library to help figure out where this is freezing?
Heck, does anyone have the source to the various GPS libraries being used here so that we can compare what works to what doesn't work for various people?
*edit
I'm completely floored. My GPS came back to life after I got down the elevator leaving work after I posed this. I'm still curious about the source to libgps.so, and I'm honestly not sure it can play a part here since it's not replacing a library in my current /system/lib. If I get some time I may see what symbols are available in it and what library it may/may not be replacing.
I suspect that the change of the supplementary (that's what supl stands for, right?) data and GPS settings have as much to do with this as well. I may try to revert the gps library changes and see if it still works with just the changes made via angrygps. I do know that the build.prop changes did absolutely zero by themselves.

Maps keeping my phone awake

Hi, maps seems to be keeping my phone awake when I lock it. I've searched this forum and I've disabled almost all the settings regarding GPS, location etc, as it seems this is what people are recommending. The only ones that I have kept enabled are 'Access my location', 'GPS Satellites' and 'Wifi & mobile network location'.
Better battery starts shows that 'NetworkLocationPassiveCollector' is giving partial wakelock.
Is there any way to stop this without turning GPS off?
Thank you
Anyone help? I've completely disabled location access, gps etc for now to see if it helps.
Mine was doing this a lot recently. I force closed the app, killed cache/data, then relaunched it and went into settings and toggled all of the stupid "track my location in the background" settings (on again, then back off). Haven't had a problem with it since.
It was sneaky about it, too. I would wake up my screen and see the GPS icon in the status bar and it would disappear right away. 20 minutes later I would wake up my phone and it would do the same thing.
Happens to me a lot also. I noticed facebook app will ping my gps occasionally unless I actually close the app out. I just turn location off unless I need it.

GPS not working properly

Ever since I got my N4, I've had a problem with the GPS not always turning on at the right time, and turning on when I'm not using it. I notice this mainly when I play Ingress or when using Google Maps, though about 1-1.5 months ago, the GPS started working just fine, and I was having no issues whatsoever. Then just a couple of weeks ago, it started happening again. The first time I had the issue, when playing Ingress, if I had switched to a different app, the GPS would remain on, and when I reentered Ingress, it would not update my location, and the location would start to drift, or if I had been in a different app long enough, the GPS would stop and wouldn't turn on when I reentered Ingress, forcing me to go into the GPS settings and toggle the "GPS Satellites" check box. Also, if I had been trying to use Google Maps/Navigation, the GPS wouldn't turn on and I would again have to toggle the check box in the GPS settings. About a month to a month and a half ago, it started working properly. If I switched apps while playing Ingress, GPS would shut off normally, and then when I reentered the app, GPS would start up again, and would update my location properly (same with Maps/Navigation). Then a couple of weeks ago, it stopped working again, and it randomly starts searching for GPS signal, even if I'm not even using my phone at the time. I thought it had something to do with the location sharing settings in G+, because I had changed a few settings in G+ a couple of weeks ago, but when I reverted to the previous settings, nothing changed. If I could get some help, I would greatly appreciate it.
Sent from my Nexus 4/Nexus 7
Just curious, do you have the Yahoo Weather App installed? This app was known to break the GPS (until a reboot).
Anyway, I would suspect some app with GPS function is causing the issue.
You may have to remove them one at a time (and reboot) to find the culprit.
SpookyTunes said:
Just curious, do you have the Yahoo Weather App installed? This app was known to break the GPS (until a reboot).
Anyway, I would suspect some app with GPS function is causing the issue.
You may have to remove them one at a time (and reboot) to find the culprit.
Click to expand...
Click to collapse
Yahoo weather? No.
Sent from my Nexus 4/Nexus 7
Slender Troll said:
Yahoo weather? No.
Sent from my Nexus 4/Nexus 7
Click to expand...
Click to collapse
weather uninstall has worked on my side! thx
Alex

KitKat: Location settings annoyances

Hi there. For the last couple of weeks it seems that my Google Maps is having trouble getting a coarse location in battery saving location setting. I mean, it might work for some time, then after a few hours it will be all like "Waiting for location...". Locus Pro maps have similar trouble too (EDIT: No it doesn't!) ... BUT... BUT... Foursquare seems to get the coarse location just fine. The rest of the apps (maps etc.) will come around too after a reboot. I noticed this happening after a CM11 nightly, but since then I've deleted everything at some point and installed Paranoid Android and this issue persisted. Has anybody else experienced this? Also, isn't it extremely annoying that this Google agreement pops up every single time you switch location off/on? This can't be on purpose. Anyway, I'm curious of your experience with KitKat roms and coarse location behavior and other stuff.
Sent from my Nexus 4 using Tapatalk
I think it always like that for me. For google map, you need to switch to high accuracy for it to lock quickly. After the first lock on, then, you can use other mode (device only or battery saving).
I always had great and fast precision with just the wifi on (when in the city, of course), no need to turn on the real gps (unless I'm looking for directions or doing some running). Now I have to reboot to recover, so this is not normal. Something obviously happens mid-day, I still haven't pinpointed what/when, that breaks this, until next reboot.
I have found that if I switch off/on location entirely OR switch from WiFi/mobile location to GPS only and then back to WiFi/mobile location then my location cannot be found by Google maps or android device manager (haven't tried any other location based apps to see if they also fail to work).
I have to reboot or clear google play services data to get my WiFi/mobile location to work again.
Note this is on a moto g phone not a nexus 4 but to me it seems like the issue the OP described. Maybe a KitKat bug.
scott_doyland said:
I have found that if I switch off/on location entirely OR switch from WiFi/mobile location to GPS only and then back to WiFi/mobile location then my location cannot be found by Google maps or android device manager (haven't tried any other location based apps to see if they also fail to work).
I have to reboot or clear google play services data to get my WiFi/mobile location to work again.
Note this is on a moto g phone not a nexus 4 but to me it seems like the issue the OP described. Maybe a KitKat bug.
Click to expand...
Click to collapse
EXACTLY the same on my N4
boardlord said:
EXACTLY the same on my N4
Click to expand...
Click to collapse
I created a bug report
https://code.google.com/p/android/i...=4&colspec=ID Type Status Owner Summary Stars

GPS stops updating/turns off after a few seconds

A few times in the past couple days, I've noticed that a few seconds after opening maps or an app like gps status, the gps symbol in the status bar simply disappears and the app I'm using stops updating.
I thought it might be a problem with maps until I caught it doing the same thing on the gps status app (and the gps test app as well). So it doesn't seem like an app problem. I have location accuracy mode set to high under location settings, and no power savings type modes or apps running. I have the at&t version of the s5.
Any ideas what's going on here or how to fix?
This is driving me nuts - it hasn't happened to anyone else? It seems like it generally happens when the GPS is 'cold' - like first thing in the morning. I'll open maps, or try to navigate, or one of the gps apps, and the gps indicator in the status bar simply turns off after a couple seconds and whatever app I'm in stops updating my location. If I close and reopen one of the apps, it'll do the same thing again. Eventually, after say 3-10 times of this - suddenly the gps status indicator will either stay on or might come back on a couple seconds after having turned off. After that, it seems to have 'warmed up' and works normal even after closing/opening apps to test it. I've also tried clearing maps data, as well as resetting agps data. Anything else I can try short of a factory reset?

Categories

Resources