Location lock bug - Paranoid Android Q&A

So...
Put location on battery saving.
Toggle location off and back on. Set it to battery saving again.
Wait a minute, try to get lock on GMaps for example...
After you reboot the phone it works perfectly again untill toggled off and on...
I noticed this on beta3, don't know if it has been there earlier...
I know at least 2 more people are having the same issue.

destronije said:
So...
Put location on battery saving.
Toggle location off and back on. Set it to battery saving again.
Wait a minute, try to get lock on GMaps for example...
After you reboot the phone it works perfectly again untill toggled off and on...
I noticed this on beta3, don't know if it has been there earlier...
I know at least 2 more people are having the same issue.
Click to expand...
Click to collapse
You are not alone. http://forum.xda-developers.com/showpost.php?p=50438642&postcount=48309
Essentially it is a "Google Play Services" issue. I have version 4.2.42 and experience this issue.

Related

GPS Battery drain

I have noticed that since I have updated to 2.3.3 on my phone, LEAVING GPS on, seems to drain my battery fast. If I turn it off, the battery lasts a LOT longer.. I never had this issue on 2.2 .. I also tried this with a program called BATTERYXL. I orig had it set to leave GPS on but turn off data when screen is off. STILL drained battery.. now tested it with GPS ON and DATA ON when screen is ON. DATA AND GPS OFF when screen off. battery lasted a LOT longer..
HOWEVER, am I loosing anything by having GPS off when screen off? will the sense weather update? will it grab the location from something else (phone or data? data is set to come on every 2 hours with bateryXL )
Thanks...
I had the same issue and had to turn GPS off. The weather apps and everything that is location based still work perfectly with the GPS being off. The only time that you are ever prompted to turn it back on would be if you are doing any type of navigation via Google Maps, other than that you will be good to go!
swellrider85 said:
I had the same issue and had to turn GPS off. The weather apps and everything that is location based still work perfectly with the GPS being off. The only time that you are ever prompted to turn it back on would be if you are doing any type of navigation via Google Maps, other than that you will be good to go!
Click to expand...
Click to collapse
so I dont need the GPS to get a location for the weather app? I know I need GPS for my nav program..

Auto agree to location consent.

Is there any way...either an app or a tasker task/script that will automatically agree to the location consent box that pops up when GPS is turned on?. I'm finally getting annoyed by it lol. I'm hoping there's gotta be some way around it.
Sent from my Galaxy Nexus using Tapatalk 2
I never noticed. Why not just leave GPS on always? It doesn't hurt anything.
Just leave GPS on. It doesn't use battery unless its being accessed for location for an app. You spend more battery going to settings toggling it on and off over and over.
martonikaj said:
Just leave GPS on. It doesn't use battery unless its being accessed for location for an app. You spend more battery going to settings toggling it on and off over and over.
Click to expand...
Click to collapse
Somewhat true. The Facebook app is buggy, if you have GPS on... and you turn Facebook on (even though location is disabled).
GPS remains on your status bar... even if you go back to home screen. At least that's my reasoning for having it disabled.
zephiK said:
Somewhat true. The Facebook app is buggy, if you have GPS on... and you turn Facebook on (even though location is disabled).
GPS remains on your status bar... even if you go back to home screen. At least that's my reasoning for having it disabled.
Click to expand...
Click to collapse
Use Facebook every day and never had that issue.
Convert whatever is asking for GPS to a system app.
Pretty sure that'll do it.

[SOLVED] Wi-Fi won't turn off in sleep [post-JB update]: how to diagnose?

SOLVED: See this follow-up post; it's one of those 7 things!
Hi! After updating to LK3 (the stock 4.1.1 JB update), my Wi-Fi stays on even after I put the phone to sleep (contrary to the setting "Keep Wi-Fi on during sleep: never (increases data usage)." See attached pics.
I have disabled thus far:
1) Google Now
2) Location Services "Use wireless networks" and "Location and Google search"
3) Location reporting: now set to "Location manually selected on the map"
4) Latitude location sharing
5) Location history
6) Automatic check-ins
7) Check-in notifications
Basically, everything I could find related to location. But, alas, that battery screenshot is after I changed all of those! Wi-Fi isn't on constantly, but it stays on way longer than just when I have the screen on.
What are my options here? How should I diagnose this sucker? I ran BetterBatteryStats, but they said it looked fine with my log (some apps, through the ambiguous "Alarms" partial wakelock, were the largest cause, but only accounted for 3.6% of the time).
I'm pretty sure this is a post-update problem, as before, whenever I unlocked my phone, I got the little notification, "Connected to #SSIDName#" and the Wi-Fi icon would obviously, then, be off for the first few seconds (and when I opened my browser too quickly, I'd get a "Page cannot be displayed" error).
Thanks in advance, I'll take any ideas/thoughts/help/sympathy/antipathy you can offer,
Same problem here. Before the update, it was doubletwist air sync forcing wifi on at all times. That's disabled now, so I have not clue. Hopefully somebody figures it out. Mine isn't even intermittent, it's always on, and I have the same setting as you.
So, I left my phone alone for the night and these programs used Wi-Fi while the screen was off:
Do you have any of the same apps? I'm going to uninstall Google+, Facebook, and GroupMe today and run this again tomorrow. But, looking at pure download amount, it's something on the OS....
If you're interested in doing the same, the app is My Data Manager ( https://play.google.com/store/apps/...e&utm_medium=organic&utm_term=my+data+manager).
Basically, install the app, but do not open it. When you're ready for bed (or any extended period of not using it), open it, and then minimize it (runs in the background). Hit your sleep button immediately (we don't want to capture anything of the phone when the screen is on). Then, when you wake up/need to use it, wake it up, immediately disable Wi-Fi (again, no artifacts from when the phone was awake), take a look at My Data Apps (2nd page), Wi-Fi.
I'll let you know how my second attempt goes.
The only one I have is Facebook, but yeah it definitely looks like the os.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Well! Maybe I should have given it a little while longer, as it seems to be quite a bit better!
It still stays on longer than the screen, but now at least it shuts off once in a while, haha. It was either uninstalling Facebook, gMail, or GroupMe OR disabling one of those earlier settings...it's still not totally fixed, though. I found the Network Counter app which seems to be a little more specific, so we'll see how it goes tonight,
~Ibrahim~
Hmm this is what mine looks like from today. Wifi didn't go off until I did it manually.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Have you disabled the location stuff? Those are what really helped me. I'm off to run the overnight test, with the new app!
i am having the same issues. my wifi since the jelly bean update has been always on.... the wifi bar in battery settings is solid and has never been off.... so frustrating.
Try "Green Power" app.
I use it to disable both wifi and data 20secs after screen off.
There is a Whitelist and a minimum threshold trigger too.
It works PERFECT in ICS.
At bedtime, I get .5% hr battery drain or better.
themadproducer said:
Try "Green Power" app.
I use it to disable both wifi and data 20secs after screen off.
There is a Whitelist and a minimum threshold trigger too.
It works PERFECT in ICS.
At bedtime, I get no less than .5% hr battery drain.
Click to expand...
Click to collapse
Awesome, thanks for the info! Exactly, I don't mind Google Now using the Wi-Fi, but then that opens the door for everything to use the Wi-Fi which will kill the battery when I get back to work.
Network Manager didn't work for some reason, so I tried Data Detective, but the stupid app consumed 90% of the Wi-Fi last night!
The only thing I've heard against battery savers is that they force apps to not use the data, and then they keep asking (creating overhead). I wouldn't have believed it out right except it came from the developer of BetterBatteryStats. But your battery loss isn't bad at all (overnight I average 0.4%/hour with the screen off).
ikjadoon said:
(overnight I average 0.4%/hour with the screen off).
Click to expand...
Click to collapse
I slightly edited my statement. I get .5% hr or better.
Curious...if you average .4%...
- what rom?
- and what is your lowest cpu freq?
- and is that with data and wifi off?
themadproducer said:
I slightly edited my statement. I get .5% hr or better.
Curious...if you average .4%...
- what rom?
- and what is your lowest cpu freq?
- and is that with data and wifi off?
Click to expand...
Click to collapse
Haha, right, I thought that's what you meant!
I'm on stock AT&T. Everything is stock; CPU Spy tells me 384Mhz. WiFi on, data off.
Why don't you guys disable it in settings? Open Wi-Fi in settings. Click menu button. Click advanced. Turn off Wi-Fi during sleep. Ta-da!
Sent from my SAMSUNG-SGH-I747 using xda premium
Ends said:
Why don't you guys disable it in settings? Open Wi-Fi in settings. Click menu button. Click advanced. Turn off Wi-Fi during sleep. Ta-da!
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Yeah, that's an alternative...but if I have a setting that's supposed to turn it off when it goes to sleep, I'd like it to do that.
stbtigerr said:
Yeah, that's an alternative...but if I have a setting that's supposed to turn it off when it goes to sleep, I'd like it to do that.
Click to expand...
Click to collapse
That's right, well said....hence the opening post!
I have the same issue, wi-fi is always on unless I turn it off.
I'm happy. It's one of those location settings in the first post that caused the locks! Let me know if it works for you guys,

[Q] Google Play Services draining battery

This is draining my battery. Kept phone awake for almost 100% on time. Anyone else noticing this? Not changed anything. Only thing that has changed is I now have Google Glass, but I dont have them with me today, so it wouldnt be using that.
droidkevlar said:
This is draining my battery. Kept phone awake for almost 100% on time. Anyone else noticing this? Not changed anything. Only thing that has changed is I now have Google Glass, but I dont have them with me today, so it wouldnt be using that.
Click to expand...
Click to collapse
I was having a similar problem with Play Services and Media Services. I installed App Cache Cleaner and set it to auto wipe every hour or so. That fixed the problem (or at least stopped it from draining the battery).
Hope that helps.
Techngro said:
I was having a similar problem with Play Services and Media Services. I installed App Cache Cleaner and set it to auto wipe every hour or so. That fixed the problem (or at least stopped it from draining the battery).
Hope that helps.
Click to expand...
Click to collapse
I have disabled use wireless networks in Location Services and all has gone back to normal. Maybe give that a shot and see if that fixes it for you.
Researched this a lot, found some solutions, bad and good fixes and after trying some different twists on it after two days this is what I found to be the best, and I decided since this is just as bad as 4.0/4.1 and the mediaserver battery drain I might as well try and help at least 1 person by mass posting this reply I wrote else where to other threads, so here you go:
"Hey- I don't know if you, or anyone else has found a working solution, but here is the way I found best:
Note- I am on galaxy s4 [sgh-i337] running a 4.4 KitKat rom. I have found the following work around to work best for me:
1 Google now & Hotword detection=OFF,
2 GPS = OFF and turned on only when needed, eg maps/checkin on facebook/whatever needs location.
3 Settings-> Manage Apps -> Google Play Services -> Manage Space -> Clear All Data.
**Optional:After this [root only] I go into KT tweaker and make sure my phone cpu is set to a max of 810 Mhz when screen off.**
This fix usually works until I reset the phone. I ALWAYS follow those 3 steps when rebooting. AND always check that after I've used GPS that Google Play Services isn't keeping my phone awake. [Eg, after 30 minutes I check if the phone ever went to sleep again when the screen was off.] IF it does act up, I repeat steps 1, 2 &3. I still get notifications and all, and this is the least feature disabling way I've found that works with the cost of a little micro-management of your phone.
With this fix I can idle for an estimated 5-6days. As I take off my phone from charge at 8am and at noon with minimal usage [maybe 4 or 5 texts] I am at 97%. With WiFi on & connected.
OTHER: I personally keep NFC&Android beam&Bluetooth OFF, and turn ON when I need it on. Other- WiFi is always ON, and "Scanning Always Available" & "WiFi Optimization" is checked ON for me. And for location mode when I do have it on, I keep it at EDIT: Device only. Using only gps to find my location.
All in all, I hope this gets fixed."
I can post screen shots and all if somebody wants them or if there is need for one
-icy

GPS/Location lost when screen is off??

Hi!
I used to have no problems with this situation on any of my previous phones:
In apps that uses gps, like runkeeper, i get very fast gps lock.. but, then, once I disconnect the screen, the "location" seems to be turned off.. The gps track stops counting. When I turn the screen on again to check what is happening, the phone instantly gets gps lock and registers that new spot. Basically what happens is that I will get a track but, instead of having the full track, I only get "straight" lines between the points the gps locked when i turner the screen on to check what was going on..
I have the location in high accuracy..
Any ideas?
Thanks!
I have the Impression there is a different location provider for the new chipset. When i am at places without any gps signals (for example a tunnel) the reported location is moving with the same speed and direction i had before coming into the tunnel. There also a change in my Google location history. When the screen is off it looks like the location is provided by phone cell only. The reported location is more than 300m away from my real location. I have not seen this in the same locations with my older phones. (Edit: All with Oyxgen OS 3.1.2)
I have the same issue as op on 3.1.2, not rooted.
Sent from my ONEPLUS A3000 using Tapatalk
I have this stupid thing also, stupid phone,
The gps loses the fix right after you leave the app that uses it. It doesn't work in the background, I'm gonna have to return my phone sadly.
So does this happen with the newer firmware? Can you put it in the background with the screen on and it run? It seems like a software issue more so than hardware, maybe I'm wrong but who knows..
Sent from my SM-G935T using Tapatalk
obviously a software issue, but they won't fix it since nobody talks about it. If you switch to another app that doesn't use GPS or turn off the screen the phone loses the fix right away.
Still happens with Oxygen OS 3.2.0
Can you give a try launching a nav session in google map. On my lg G2, when I get a fix in google map then turn the screen off, I will loose my fix. But if I launch a turn by turn nav session I will keep my gps fix even if I turn the screen off.
Could this be related to doze hibernating Maps or whatever app /?
Jfxmedia said:
Could this be related to doze hibernating Maps or whatever app /?
Click to expand...
Click to collapse
Yes. This is likely related to the aggressive Doze mode that has plagued users in receiving notifications. Try disabling Doze by following the instructions in the link below and try GPS again. If it works, then Doze is the cause.
https://forums.oneplus.net/threads/push-notification-issues.451149/
Mit Hipster said:
Yes. This is likely related to the aggressive Doze mode that has plagued users in receiving notifications. Try disabling Doze by following the instructions in the link below and try GPS again. If it works, then Doze is the cause.
https://forums.oneplus.net/threads/push-notification-issues.451149/
Click to expand...
Click to collapse
Anyone tested this with success?
Turn off power saving mode for using GPS while turn off screen
I have used Strava and it can not be received GPS signal when screen off. Then I turned off power saving mode and it was OK.
Porsche.V said:
Anyone tested this with success?
Click to expand...
Click to collapse
its dose feature that's interfering. I had the same issue. disabling dose does the trick.
dpj52190 said:
its dose feature that's interfering. I had the same issue. disabling dose does the trick.
Click to expand...
Click to collapse
And this is why I make my rom that disables doze all together. It kills battery more then it saves.

Categories

Resources