Hey guys so I was wondering is there an app (other than tasker) or rom that will automatically turn on GPS when you open the maps/camera application instead of having to turn it on manually all the time? and turn it off once you close / kill the app?.. I think this would be an awesome feature!.
I'm on cm9a6 if there's a way to currently do it?.. or can i leave my GPS on constantly without having the battery drain?. anyway. just a though.
draconx said:
Hey guys so I was wondering is there an app (other than tasker) or rom that will automatically turn on GPS when you open the maps/camera application instead of having to turn it on manually all the time? and turn it off once you close / kill the app?.. I think this would be an awesome feature!.
I'm on cm9a6 if there's a way to currently do it?.. or can i leave my GPS on constantly without having the battery drain?. anyway. just a though.
Click to expand...
Click to collapse
gps turns on automatically whenever an app needs to use it. everytime you open up maps or facebook or camera, gps will turn on by itself as long as you have it enabled. it also turns off by itself when the app that was using gps closes. this is how android has always worked.
Exactly, sometimes it doesn't turn off though once you close out. Just check if you don't want it to stay on.
I thought that's how it worked but how come when I have the Gps set on (checked in the wireless settings) and its not being used, that my battery still drains like no other?.
Sent from my SPH-D710 using xda app-developers app
Related
As for those who don't know. There is an app out there called tasker. It allows you to program all kinds of tasks and conditions.
I used it in froyo to turn on my gps automatically when I opened the navigation app. However in gingerbread tasker no longer works. I'm reading that in cyanogen gingerbread roms tasker can still enable and disable gps.
Does anyone know anything about modding EI22 so that tasker will work with gingerbread on our epics the way it does in the cyanogen gingerbread roms?
Is there a patch or a piece of code that can be taken from the cyanogen rom to allow this on different roms/kernels?
Possibly is there an alternative to using tasker to get the gps to turn on automatically when navigation/maps is opened?
-Wizzle
Just leave GPS enabled at all times. GPS won't activate until a program needs it, and won't consume battery life while it's sleeping.
Isira said:
Just leave GPS enabled at all times. GPS won't activate until a program needs it, and won't consume battery life while it's sleeping.
Click to expand...
Click to collapse
Cool. I kinda thought that, but I wasn't sure. I guess ill need to turn off location settings for all the apps I don't won't to access gps. I appreciate the info. Thank you.
-Wizzle
Isira said:
Just leave GPS enabled at all times. GPS won't activate until a program needs it, and won't consume battery life while it's sleeping.
Click to expand...
Click to collapse
To go with this, if the GPS icon is on the toolbar (generally a bullseye/crosshair looking icon), you're using GPS and therefore extra battery--on the flipside, if the GPS icon is gone from the toolbar, then GPS is in standby and not consuming battery.*
* I'm not entirely certain that it consumes no battery when in standby, but it's certainly much less than when it's active. As long as you keep an eye on which apps you allow to use it and when, the battery drain is negligible--At least until you use Navigation and forget to plug it in! Then you'll damn near be able to watch the battery icon visibly tick down, and might could cook an egg on the back of your phone, it gets pretty hot!
If you running ei22 stock, I can leave gps on all the time and don't need to worry about battery. But if you put in the gps fix, careful.
Sent from my SPH-D700 using XDA App
I hadn't noticed extra battery drain after flashing the GPS fix. I'll have to monitor that more carefully going forward...
jaytay said:
I hadn't noticed extra battery drain after flashing the GPS fix. I'll have to monitor that more carefully going forward...
Click to expand...
Click to collapse
The gps fix makes the phone constantly lock to all possible sats. Draining batts.
Sent from my SPH-D700 using Tapatalk
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.
I have my GPS enabled. Half of the time I'm using my phone, everything is good, everything works fine. But during the other half of the times, the GPS is constantly on the notification bar. I try restarting my phone, still up there in the notification bar with a 'solid' gps icon which says "Location set by GPS"... I can even turn the GPS off, and then on again, and it still doesn't fix the issue. As i turn on my "Maps" app for the first time, my location is already "accurate to 3 meters" before it even loads the map graphics... How do i figure out which app is causing this, and how do i stop this? it's irritating. I have to constantly check my phone to make sure the GPS isn't active and draining my battery. And please, don't say "Just turn off the GPS". Android is designed to work with the GPS enabled. Even if the GPS is toggled "on", it shouldn't be using it unless it needs it, therefore using zero battery. (Just like wifi is supposed to). thanks.
I have the same issue and it seems like it's Maps that's constantly trying to turn on GPS. Once I have GPS off, my battery life is a lot better. Tried uninstall Maps, clear data, re-install...but the issue is still there but not all the time...very annoyed.
Another reason might be an app that is using gps in the background. Facebook, twitter, and other apps might be the problem?
Sent from my SGH-T999
If you have your google search settings on to make local search better, then the GPS will be on.
Facebook, Maps are all GPS hogs.
Just turn it off and on when you need it, the GPS on the S3 locks in seconds anyway, so its not a problem.
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,
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.