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.
Related
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.
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
Hi,
I have some problems with finding my location, and I think it started since the 4.3 update, but I'm not sure.
I see it mostly with Tasker. I have some profiles for different locations (like home and college..) triggered by "net" without GPS, that is ment to turn Wifi on and off.
I noticed today when I left college, I opened the screen on the way home and I saw for a brief moment that the WiFi is still ON and my "college" profile was still activated, and immediately after that, the profile went off and also the WiFi. The Net location only triggered when I opened the screen, and it seems it thought my location was still in college until I did so.
When I got home, I opened the screen to see if it activated my "home" profile and turned on the WiFi, and nope, nada, even when opened the screen it still didn't know my location, only after I turned on the WiFi manually it knew where I am and activated the "home" profile (which in that case was already pointless)..
My guess is that on the way back from college it found my location when I opened the screen cause the WiFi was still on, and when I came back home the WiFi was off so it didn't find my location without it.
But if that's the case, then there is simply no point in those "wifi on / off" profiles if it can only find my location with WiFi.
I posted a similar thread on Tasker support group, but honestly I think it's a problem with the google's new location services.
What's that point? now we can get a good location fix only with WiFi or GPS?
and also why I must turn on the screen to "refresh" the location? isn't "net location" works on the 3g network? which is always on, so what's the problem.
By the way these network delays doesn't only happen with location, it happens alot with messaging apps, that sometimes I get the messages only when I turn on the screen. Is there a fix for that?
Sorry for throwing out so many questions without order
Thanks in advanced
same issue
Yah, I'm experiancing the same issues.
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?
Starting today, my S7 Edge has a problem when WiFi is turned off: every two or three seconds, the WiFi turns on for about a third of a second (as shown by the WiFi quick-settings icon). When this happens, the phone gets warm (even if otherwise idle) and the battery drains rapidly.
The problem disappears if I turn off the Location Accuracy setting that scans for WiFi networks even with WiFi off. But it shouldn't be scanning constantly even if that setting is turned on--it's using much more power than if I just leave WiFi turned on.
Turning off the WiFi Location Accuracy setting also fails because then, when I use a location-enabled app such as Google Maps, it pops up a message asking me to turn on Google Location services (which is already on, and the phone has a good GPS signal). If I tell it to go ahead and turn location services on, it then turns WiFi Location Accuracy back on and the constant scanning resumes.
So there's clearly a bug, but the problem is very recent and my phone (AT&T) has not received a recent update.
Has anyone else encountered this problem or does anyone know how to fix it? (Rebooting doesn't help.)
Gary02468 said:
Starting today, my S7 Edge has a problem when WiFi is turned off: every two or three seconds, the WiFi turns on for about a third of a second (as shown by the WiFi quick-settings icon). When this happens, the phone gets warm (even if otherwise idle) and the battery drains rapidly.
The problem disappears if I turn off the Location Accuracy setting to scan for WiFi networks even with WiFi off. But it shouldn't be scanning constantly even if that setting is turned on--it's using much more power than if I just leave WiFi turned on.
Turning off the WiFi Location Accuracy setting also fails because then, when I use a location-enabled app such as Google Maps, it pops up a message asking me to turn on Google Location services (which is already on, and the phone has a good GPS signal).
So there's clearly a bug, but the problem is very recent and my phone (AT&T) has not received a recent update.
Has anyone else encountered this problem or does anyone know how to fix it? (Rebooting doesn't help.)
Click to expand...
Click to collapse
Same issue here, started yesterday. I'm on T-Mobile, and have had no new updates to the system.
I saw this was happening (on other threads) to other phones, not just Samsung phones.
Same here in France with SFR, it's very annoying ...
Hope we're getting a fix soon!
*Link to video if it doesn't play above (gives an error on playback for me for some reason): https://www.youtube.com/watch?v=X5dbrBMqsuU
Here's a video of the issue I've been having, which I believe is the same as the one you're describing. My WiFi switch just constantly turns on and off, and I am unable to connect to my network. I have found a way to get it to connect to my network by first clicking the WiFi Direct button (when it's clickable and not flashing), and then when I go back, the list of available networks shows just like it normally does, and I am able to connect. Turning off WiFi again, would then reproduce the problem though. It started happening recently after the latest update for me. I'm non-rooted, completely stock for now.
http://forum.xda-developers.com/s7-edge/help/wifi-off-constantly-t3499683
Oops, sorry, I see now that there was already a thread here about this problem.