Location Services wake lock battery drain solution? [ROOT] - RAZR HD Q&A, Help & Troubleshooting

I've always noticed a lot of wake locks caused by Location services since upgrading to Jelly Bean. It seems to cause a bit of battery drain for me, primarily because it wakes the device so often (according to BBS). I don't need location updates while the screen is off. Googled for a bit and I found someone suggesting this profile with Tasker:
Trigger is display off
Add a task that runs this command:
pm disable com.google.android.location
Do the opposite when the display turns on, of course (doesn't really appear to cause any lag). I also disabled a few of the Google Now functions that I don't need. Now if I could figure out how to limit the awake time the stock email app uses, and I could see the idle usage dramatically go down.
Any thoughts?
Sent from my Nexus 7 using Tapatalk 2

This sounds like a good idea, has it panned out for you?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

It did work pretty well, but in the end it wasn't enough of a difference from disabling location reporting and all other Latitude functions. Also, I was kind of concerned about the possible CPU time used when disabling and enabling each time the screen state changed.
All in all, just disable Latitude and any functions in Google Now that you don't need. Also, disable location services in any application where you don't need them, like Facebook and Twitter.
Sent from my DROID RAZR HD using Tapatalk 2

RayLovesick said:
It did work pretty well, but in the end it wasn't enough of a difference from disabling location reporting and all other Latitude functions. Also, I was kind of concerned about the possible CPU time used when disabling and enabling each time the screen state changed.
All in all, just disable Latitude and any functions in Google Now that you don't need. Also, disable location services in any application where you don't need them, like Facebook and Twitter.
Sent from my DROID RAZR HD using Tapatalk 2
Click to expand...
Click to collapse
Yeah I'm pretty good with having nothing use location settings except Maps. Sometimes I won't get a single wakelock all night, other times I will get an hour and Google Now / any latitude apps are fully disabled. That's why I was curious as to your success.

Related

[Q] Mod or kernel hack to force GPS to stay on?

I would like to disable the ability to disable the GPS in the phones for use with an "invisible fence" app.
I don't care if the toggle in the notification area goes off or on, but I would like the phone to enable GPS on bootup, and just keep it on regardless.
Any ideas?
Why would you want it to stay on? It is a huge battery hog.
voldomart13 said:
Why would you want it to stay on? It is a huge battery hog.
Click to expand...
Click to collapse
mrcpu said:
I would like to disable the ability to disable the GPS in the phones for use with an "invisible fence" app.
Click to expand...
Click to collapse
I think I was pretty clear in the original post.
WTF is an invisible fence app??
and any app that requires GPS, will use GPS as needed. OLD Facebook app version for example, as long as it was on your screen, GPS was constantly locking. But it would kill the battery in less than 2 hours from full charge. so the facebook app changed the gps to lock once every so often, while the app is open on screen.
Other apps run a background service to access GPS at a set or random interval. Google Latitude for example. Not on screen, but will check-in or update location when-ever.
As you see the APP needs to have the set permissions, and options selected.
and in the end. your battery is dead in 2 hours with what you *think* you want
TRusselo said:
WTF is an invisible fence app??
and any app that requires GPS, will use GPS as needed. OLD Facebook app version for example, as long as it was on your screen, GPS was constantly locking. But it would kill the battery in less than 2 hours from full charge. so the facebook app changed the gps to lock once every so often, while the app is open on screen.
Other apps run a background service to access GPS at a set or random interval. Google Latitude for example. Not on screen, but will check-in or update location when-ever.
As you see the APP needs to have the set permissions, and options selected.
and in the end. your battery is dead in 2 hours with what you *think* you want
Click to expand...
Click to collapse
This is not correct. (at least on the apex rom I'm running).
If you turn off the GPS in settings (not using the toggle on the notification bar), then fire up google maps, the first thing it does is tell you that not all the options for locating the user are turned on, and to go to settings and turn on GPS.
I recall reading somewhere that Google disabled the ability for apps to turn the GPS on and off. They could query it if it was enabled, but couldn't turn it on if it was off.
If the user can turn it off in settings, then that defeats the purpose. I want the GPS on all the time, regardless of settings.
I don't care about battery life, I have 4 captivates in this house, I am well aware of their capabilities and limitations. And I don't really care if you think it's a good idea or not, all I'm asking is if anybody knows of a way.
there is a difference between switching GPS "on" and having GPS activated or locking signal.
in the android settings or with any toogle app, you can turn GPS on or off.
I have it ON 24/7, I bet you do too.
you turn GPS "on", so apps CAN use/activate it if they try to.
you turn GPS "off" to prevent apps from using it, thus reducing battery drain and increasing security.
having GPS on 24/7 doesn't do crap to battery, it depends on the apps, and how they are programmed to use GPS, and if they were programmed to work like you want, they would work like I SAID.
there have been apps that used GPS like you suggested. THEY GOT FIXED. you really dont understand how fast it drains the battery.
and i dont mean to offend, but you also dont understand how the apps interact with the GPS.
Originally Posted by mrcpu
I would like to disable the ability to disable the GPS in the phones for use with an "invisible fence" app.
I think I was pretty clear in the original post.
Click to expand...
Click to collapse
No. You weren't, WHAT THE FRICK an invisible fence app? and how does using the LARGE font help?
house full of captivates? did your dad get a family plan?

Is it Youtube? Maps? What is it?!

I have searched believe me, and I have found some useful threads, articles, etc... But nothing that fixes it. If you look at the screenshots you can see a couple things:
In the 4+ hours I tested:
1.) Youtube took up 26% of my battery
2.) Maps woke my device 60 times!
The weird thing is i never opened either of those apps today.
Did a factory reset yesterday after noticing massive "awake" issues. Still having awake issues today.
Does anyone else have some useful tips, tricks, etc...?
v2.2v said:
I have searched believe me, and I have found some useful threads, articles, etc... But nothing that fixes it. If you look at the screenshots you can see a couple things:
In the 4+ hours I tested:
1.) Youtube took up 26% of my battery
2.) Maps woke my device 60 times!
The weird thing is i never opened either of those apps today.
Did a factory reset yesterday after noticing massive "awake" issues. Still having awake issues today.
Does anyone else have some useful tips, tricks, etc...?
Click to expand...
Click to collapse
If you're rooted, use Autorun Manager, or something similar, to kill unwanted running receivers. I don't have YouTube on my Maxx HD, but Maps (and numerous other apps) runs a bunch of stuff that I don't use that I kill off. Having said that, the battery management on my Maxx HD is so insane, that I'm not sure it matters...coming from a Galaxy Nexus.
tbcpn said:
If you're rooted, use Autorun Manager, or something similar, to kill unwanted running receivers. I don't have YouTube on my Maxx HD, but Maps (and numerous other apps) runs a bunch of stuff that I don't use that I kill off. Having said that, the battery management on my Maxx HD is so insane, that I'm not sure it matters...coming from a Galaxy Nexus.
Click to expand...
Click to collapse
not rooted...also coming from a nexus and when researching on rooting/development on moto devices my mind exploded lol i cant believe how much moto/verizon hates rooters. but anyway i still get good battery life on my maxx hd but i feel it could be alot better if it werent showing my phone is CONSTANTLY "awake". Starting to piss me off actually. BTW after the entire day now my youtube wake issue has seemed to disappear...but "google services" is at the top of my list of things keeping my device awake (and by A LOT) if i uninstall google services then i am unable to use youtube. Getting pissed! lol
If you're not using youtube, I'm not sure why it's showing up.
As far as maps goes, if you're using Google Now, it's gong to want to track your location. If you're not using Google Now, I know that Android 4.1.1 has issues with maps waking up the phone way too much. Even with Google Now location settings turned off, maps seems to want to wake up the phone every few minutes. My theory is that Google did this intentionally to collect location data to improve Google Now. It was fixed in Android 4.1.2. If you disable Maps, you'll probably see you screen on time and awake time closely match.
The good news is that even though maps is causing a lot of wakeups, it really doesn't drain the battery much. When I disabled Maps, I only got an extra 2% - 5% of battery life.
Are you rooted and use nova ? If yes delete the default launcher... you save 3% batttery
Sent from my XT925 using xda premium
Open Google maps and go to settings. There you can turn off the location tracking.
Sent from my DROID RAZR HD using xda app-developers app

Just hours of "EntriesRefresh_wakelock". Anyone else?

Is anyone seeing this copious amounts of this wakelock too? It's part of the Google Search app and its wakelock has now been active for close to 5 hours now just today and seems to be active for most of the day. This is reported by Better Battery Stats and is seems to be confirmed by high energy usage by the built-in batttery settings app, as Google Search hovers in the mid 20s percentage.
floepie said:
Is anyone seeing this copious amounts of this wakelock too? It's part of the Google Search app and its wakelock has now been active for close to 5 hours now just today and seems to be active for most of the day. This is reported by Better Battery Stats and is seems to be confirmed by high energy usage by the built-in batttery settings app, as Google Search hovers in the mid 20s percentage.
Click to expand...
Click to collapse
I got this wakelock overnight after completely disabling location services. My N5 was held awake literally the whole night by this wakelock. This morning I turned back on location reporting and the phone is deep sleeping once again. Very strange. Did you have location service disabled because that seems to be what is causing the wakelock?
I would like to find a solution to this so I can keep location services disabled without completely disabling Google Now for overnight when I can't access a charger.
GoldElocks said:
I got this wakelock overnight after completely disabling location services. My N5 was held awake literally the whole night by this wakelock. This morning I turned back on location reporting and the phone is deep sleeping once again. Very strange. Did you have location service disabled because that seems to be what is causing the wakelock?
I would like to find a solution to this so I can keep location services disabled without completely disabling Google Now for overnight when I can't access a charger.
Click to expand...
Click to collapse
Yeah, I have my location services set to "device only", which I guess is the equivalent to the former GPS only. It could be that the GPS is turning itself off and on continually while it's supposed to be sleeping, and the fact that I'm mainly indoors could explain the hours long wakelock.
I set it to GPS only on the Nexus 5, because that was the most battery friendly on the Nexus 4, but the way services now work, it could be the least battery friendly setting.
this is completely confirmed! my note3 wasnt sleeping at all with the new google search 20hrs of no deep sleep with location off and i turned location on and its been sleeping like a dream for the past hour.. Very weird though
Same issue here with my HTC One. I noticed my battery was tanking at about twice the normal rate today, so I just opened up Wake Lock Detector and saw that on about 5.5 hours of use, Google Search had it awake for 4.5 of them. I've just turned on location services to see if that fixes it.
But, I'm with you. I'd rather find a fix that lets me keep location disabled.
Me too. I have a Galaxy4 S4 with 4.3 stock Samsung ROM. WLD shows huge count of EntriesRefresh_wakelock with almost three hours from 12 por off charge.
Confirmed on the lg g2 on 4.3. I disabled Wi-Fi and mobile network location because of the horrible nlp partial wakelocks only to encounter the entriesRefresh wakelock leech. Keeps awake like 90 of the time. I'm going to go back to enable Wi-Fi and mobile location until this is cleared up.
I am unable to even use Google now.. if I enable Location Report it's burning up and running about 20%.. if I disable Location Reporting it's running 50%.. I like Google Now and don't have any use for the location stuff...
Anyone have any updates? My only other option is going to just be to wipe it and keep Google Now unused so it doesn't run at all..
You can try to greenify Google search which contains this wakelock if you have the paid version of greenify (hibernates system apps). They say it's inadvisable to hibernate system apps, but you can override it. I would do a full backup and try it. They refund your money in 3 days instead of 15 minutes if your not happy. I haven't had a chance to try it yet.
Sent from my LG-D801 using xda app-developers app
Oddly enough I never had this issue on my nexus 5, but my Nexus 7 is absolutely plagued with just hours and hours of this wake lock as soon as I turn location reporting off.
Same issue here, my N7 is going nuts with this.
the7thson said:
Same issue here, my N7 is going nuts with this.
Click to expand...
Click to collapse
This has happened on my N5 before. Force stopping it once I noticed and also rebooting seem to fix it.
I had this wakelock for 2 nights in a row, completely draining the battery BUT
I have location services enabled and GPS is on (I play Ingress all the time and the network loaction gives me a faster lock)
I too noticed this was my top partial wakelock yesterday even though I have location services on. First time I've seen that happen. But it wasn't as aggressive as it was when location services were off.
Sent from my LG-D801 using xda app-developers app
Noticed this keeping my Nexus 5 awake 51%, location services were disabled. My Nexus 7 and Moto X also have them disabled and they were only awake 1%. Google Search is showing 60% of the battery but my device has been mostly idle for 4 days now. I'll see if enabling the services helps otherwise I'm not sure what else to attempt.
ohmimpotence said:
Noticed this keeping my Nexus 5 awake 51%, location services were disabled. My Nexus 7 and Moto X also have them disabled and they were only awake 1%. Google Search is showing 60% of the battery but my device has been mostly idle for 4 days now. I'll see if enabling the services helps otherwise I'm not sure what else to attempt.
Click to expand...
Click to collapse
I got this wakelock this morning.... "entriesrefresh_wakelock"
my location reporting is off
I love my N5 but god......I'm experiencing battery drain frequently (when I'm not on WIFI) with different wakelocks...
Otherwise the battery life is very good, if google can fix it once for all
I had this problem on my Nexus 5 too. I "fixed" it by uninstalling updates for the Google Search app (you can get there by going Settings>Apps and tapping Google Search). However Google will re-update the app frequently so you will have to repeat the process. Here's hoping another update fixes this problem.
Either disabling Location reporting or Locations all together can get rid of this I believe. Tasker can automatically re-enable it when you leave your wifi zone.

[Q] Help with Tasker

Hey everyone, first I'm not really sure if this belongs in a Tasker forums. Seeing as I use a N5, I figured it could also go here. Anyway, I've been having some problems with Npl wakelocks. I downloaded wakelock terminator with xposed and it seemed to have helped, however something didn't seem right as my battery was draining the same amount as when the wakelocks were happening. The only time I wasn't having the drain was when location was set to device only, which makes sense.
I'm completely new to tasker. I've watched a few tutorials and I've messed around with it a bit but with not much luck. I wanted to do one of two things. Either have location set to battery saver/high accuracy when the screen is on, and have it set to device only when the screen is off. Another option is to have it set to battery saver/high accuracy when google now/maps is open and device only the rest of the time. I feel like this shouldn't be that hard but I messed around with it and got no where. Anyway, what are your guys' opinion about this strategy and would anyone be able to help me with implementing these tasks. Thanks!
I wouldn't go the route of using tasker for your problem. And I would ditch that xposed module for wakelocks too. I run rooted with xposed on high accuracy at all times. My battery life is great. You need to find the source of your battery drain and eliminate it. Don't look for a bandaid fix using tasker. My guess is you have some rogue app killing your battery. Give us a list of all your apps, or delete them all, and install them one by one to track down the culprit. Also, are you running stock Rom and kernel? What other mods do you have?
Lokke9191 said:
I wouldn't go the route of using tasker for your problem. And I would ditch that xposed module for wakelocks too. I run rooted with xposed on high accuracy at all times. My battery life is great. You need to find the source of your battery drain and eliminate it. Don't look for a bandaid fix using tasker. My guess is you have some rogue app killing your battery. Give us a list of all your apps, or delete them all, and install them one by one to track down the culprit. Also, are you running stock Rom and kernel? What other mods do you have?
Click to expand...
Click to collapse
I can run the phone as normal today with location and everything on and post my BBS log after. Basically, when I'm at home the battery is great. However, ever since updating to the new google search app I've been having extreme wakelocks from the Npl whenever I would leave my house. Which is why I found a thread on xda that was talking about that exact wakelock. You're right though. I'm going to get rid of the app because it seemed weird. The wakelocks weren't showing up on BBS but I feel like it didn't get rid of them. Who knows though, maybe you're right and it is something else that's draining the battery which is why the wakelock app didn't help.
Anyway, I'm running stock ROM/kernel with xposed. I use greenify module, appOpsX, snapshare, gravity box, and gesture navigation module. With gravity box I just use custom quick settings, smaller nav bars, some status bar mods like the day and double tap to sleep. However, again I have had the same GB mods since before the drain. I use a pebble however I've never had a drain from that and I've been using it since Dec. Most of my apps are greenified including facebook, instagram, as well as all my music streaming apps. A lot of the google services I don't use are disabled like books/magazines/movies. I have snapchat, but I don't use it too much, and facebook messenger that I don't greenify. When I check GSam stats though, android system and kernel take the most battery, followed by music players if I was streaming music that day. The rest of the apps are way down the list.
I posted in the battery thread asking if anyone had the same problem with the wakelocks after having the latest google play services. I noticed mine is still 4.3 for some reason so I might just update manually from androidpolice and see if theres a difference. But yeah, I will keep this updated with todays logs.
Try this. Use titanium backup to uninstall Google play services and Google search. Then launch maps, and reinstall both from the play store.
PsychDrummer said:
Another option is to have it set to battery saver/high accuracy when google now/maps is open and device only the rest of the time.
Click to expand...
Click to collapse
This is what I ended up doing. You will need the secure settings plugin for tasker.
Set up a new profile for application "Maps".
When on, launch task GPS On (Secure settings, configuration GPS enabled)
Exit task, launch task GPS On (Secure settings, configuration GPS disabled)
I used the app factory to create an app for this, and use that on my N5 and my second phone too. Works great. Enables GPS when I launch Maps for navigation, and switches to battery saving when I exit Maps
PsychDrummer said:
I can run the phone as normal today with location and everything on and post my BBS log after. Basically, when I'm at home the battery is great. However, ever since updating to the new google search app I've been having extreme wakelocks from the Npl whenever I would leave my house. Which is why I found a thread on xda that was talking about that exact wakelock. You're right though. I'm going to get rid of the app because it seemed weird. The wakelocks weren't showing up on BBS but I feel like it didn't get rid of them. Who knows though, maybe you're right and it is something else that's draining the battery which is why the wakelock app didn't help.
Anyway, I'm running stock ROM/kernel with xposed. I use greenify module, appOpsX, snapshare, gravity box, and gesture navigation module. With gravity box I just use custom quick settings, smaller nav bars, some status bar mods like the day and double tap to sleep. However, again I have had the same GB mods since before the drain. I use a pebble however I've never had a drain from that and I've been using it since Dec. Most of my apps are greenified including facebook, instagram, as well as all my music streaming apps. A lot of the google services I don't use are disabled like books/magazines/movies. I have snapchat, but I don't use it too much, and facebook messenger that I don't greenify. When I check GSam stats though, android system and kernel take the most battery, followed by music players if I was streaming music that day. The rest of the apps are way down the list.
I posted in the battery thread asking if anyone had the same problem with the wakelocks after having the latest google play services. I noticed mine is still 4.3 for some reason so I might just update manually from androidpolice and see if theres a difference. But yeah, I will keep this updated with todays logs.
Click to expand...
Click to collapse
Just run device only all the time, like everyone else does. It's a problem with Google's code, and the same bad coding is clearly seen throughout their entire app lineup.
Lokke9191 said:
Try this. Use titanium backup to uninstall Google play services and Google search. Then launch maps, and reinstall both from the play store.
Click to expand...
Click to collapse
What would that do though?
jj14 said:
This is what I ended up doing. You will need the secure settings plugin for tasker.
Set up a new profile for application "Maps".
When on, launch task GPS On (Secure settings, configuration GPS enabled)
Exit task, launch task GPS On (Secure settings, configuration GPS disabled)
I used the app factory to create an app for this, and use that on my N5 and my second phone too. Works great. Enables GPS when I launch Maps for navigation, and switches to battery saving when I exit Maps
Click to expand...
Click to collapse
Thanks! So, how would I set this up using device only/high accuracy? I'm also super new to tasker so if you don't mind I might PM you asking for help.
Aerowinder said:
Just run device only all the time, like everyone else does. It's a problem with Google's code, and the same bad coding is clearly seen throughout their entire app lineup.
Click to expand...
Click to collapse
Well, I actually like to use maps and google now. However, I don't actually need the location on when I'm not using either of the two services which is why I wanted to setup tasker.
It'll change them from being system apps to user apps. This has solved nlp wakelocks for many others experiencing the same problems.
PsychDrummer said:
Thanks! So, how would I set this up using device only/high accuracy? I'm also super new to tasker so if you don't mind I might PM you asking for help.
Click to expand...
Click to collapse
Sure.
It isn't that hard - install the secure settings plug in first, and when prompted, give it Superuser access. Then, create a new profile in tasker - call it whatever you want. Set up the profile for the application "Maps"
When Maps is launched, set it up to fire a new task (I called it GPS On) - this task just enables the GPS setting in the secure settings (under third party plugins)
GPS on -> high accuracy
GPS off -> battery saving mode
Set up an exit task (I called it GPS Off) - this turns the GPS settings in the secure settings off.
I can send you the apk if you want (but you don't really know me, so you probably shouldn't use an apk from a stranger! lol!), or you can try to import this attached xml into tasker (rename the file to remove the .txt extension - filename will be AutoGPS.prj.xml) - the xml option should be safe.
I haven't tried importing an xml, but it should be fairly straightforward (Save profiles in /sdcard/tasker/profiles and then, in tasker, long press the profiles "tab" and "import"). Before doing this, backup your existing profiles in tasker, just in case. Also, make sure you have secure settings set up before you import this.
jj14 said:
Sure.
It isn't that hard - install the secure settings plug in first, and when prompted, give it Superuser access. Then, create a new profile in tasker - call it whatever you want. Set up the profile for the application "Maps"
When Maps is launched, set it up to fire a new task (I called it GPS On) - this task just enables the GPS setting in the secure settings (under third party plugins)
GPS on -> high accuracy
GPS off -> battery saving mode
Set up an exit task (I called it GPS Off) - this turns the GPS settings in the secure settings off.
I can send you the apk if you want (but you don't really know me, so you probably shouldn't use an apk from a stranger! lol!), or you can try to import this attached xml into tasker (rename the file to remove the .txt extension - filename will be AutoGPS.prj.xml) - the xml option should be safe.
I haven't tried importing an xml, but it should be fairly straightforward (Save profiles in /sdcard/tasker/profiles and then, in tasker, long press the profiles "tab" and "import"). Before doing this, backup your existing profiles in tasker, just in case. Also, make sure you have secure settings set up before you import this.
Click to expand...
Click to collapse
Cool, thanks I will give it a try. And it would be the same if I want to have location on when using google search/now?
PsychDrummer said:
Cool, thanks I will give it a try. And it would be the same if I want to have location on when using google search/now?
Click to expand...
Click to collapse
Yes, it should be. But in my experience, I haven't found Google Search/Now really requiring high accuracy GPS level location for any of the features yet. It gets by fine with just battery saving mode. So, I only enabled this for the Maps application.
Actually, now that I think about it, I don't know how you'd enable it for Google Now - since it runs in the background to notify you about upcoming events. Since you aren't launching Google Now most of the times, I don't know how you'd set up Tasker to enable the high accuracy GPS for that (and it is possible that Google now using active GPS may be part of the battery drain issue - I don't know for sure)
jj14 said:
Yes, it should be. But in my experience, I haven't found Google Search/Now really requiring high accuracy GPS level location for any of the features yet. It gets by fine with just battery saving mode. So, I only enabled this for the Maps application.
Actually, now that I think about it, I don't know how you'd enable it for Google Now - since it runs in the background to notify you about upcoming events. Since you aren't launching Google Now most of the times, I don't know how you'd set up Tasker to enable the high accuracy GPS for that (and it is possible that Google now using active GPS may be part of the battery drain issue - I don't know for sure)
Click to expand...
Click to collapse
I actually wanted to keep the device on "device only" location instead of battery saving. For Google now I wanted the traffic card, but I would only need it if I physically open google now. I don't really need the notification.
PsychDrummer said:
I actually wanted to keep the device on "device only" location instead of battery saving. For Google now I wanted the traffic card, but I would only need it if I physically open google now. I don't really need the notification.
Click to expand...
Click to collapse
To keep device only, you should use Location mode (in secure settings) and set it to Device only or whatever you need, instead of GPS.
Note that "Device only" still uses active GPS and "This mode may use more battery power and take longer to determine your location" (Ref: https://support.google.com/nexus/answer/3467281?hl=en)
The traffic card still works on "battery saving" because it uses cellphone triangulation, and shows you the traffic in your vicinity, and based on your destination.
jj14 said:
To keep device only, you should use Location mode (in secure settings) and set it to Device only or whatever you need, instead of GPS.
Note that "Device only" still uses active GPS and "This mode may use more battery power and take longer to determine your location" (Ref: https://support.google.com/nexus/answer/3467281?hl=en)
The traffic card still works on "battery saving" because it uses cellphone triangulation, and shows you the traffic in your vicinity, and based on your destination.
Click to expand...
Click to collapse
I know, I have always used battery saving. The problem is that with battery saving, I'm having these extreme wakelocks and Google is constantly searching for my location which is what I think is the cause of the drain I'm having. I'm going to use my phone today by just using device-only location and see how the battery lasts. It should be much better since I'm hoping the phone will be deep sleeping longer. Basically, when I take my phone off the charger in the morning and I'm still at home for the first 2 hours of the day the standby time is great. It usually goes down 1-2% in those 2 hours even if I use the phone a little. However, once I leave the house is when I get constant wakelocks from location services and the battery stats to deplete a lot faster. I mean, I can still get through a day just because I don't use the screen a lot. I tend to only use about 1 hr 30 min on a regular day but I just want to play around with settings to see what works.If I can get the same standby time throughout the day that I get within the first two hours when im at home that would be great.
PsychDrummer said:
I know, I have always used battery saving. The problem is that with battery saving, I'm having these extreme wakelocks and Google is constantly searching for my location which is what I think is the cause of the drain I'm having. I'm going to use my phone today by just using device-only location and see how the battery lasts. It should be much better since I'm hoping the phone will be deep sleeping longer. Basically, when I take my phone off the charger in the morning and I'm still at home for the first 2 hours of the day the standby time is great. It usually goes down 1-2% in those 2 hours even if I use the phone a little. However, once I leave the house is when I get constant wakelocks from location services and the battery stats to deplete a lot faster. I mean, I can still get through a day just because I don't use the screen a lot. I tend to only use about 1 hr 30 min on a regular day but I just want to play around with settings to see what works.If I can get the same standby time throughout the day that I get within the first two hours when im at home that would be great.
Click to expand...
Click to collapse
That's strange. With battery saving mode, I get no wakelocks, which with device only or high accuracy, I used to get a lot of wakelocks by the location services.
But yes, no harm in trying out the options. Tasker+secure settings should be able to set up the battery saving or device only (as described above)
jj14 said:
That's strange. With battery saving mode, I get no wakelocks, which with device only or high accuracy, I used to get a lot of wakelocks by the location services.
But yes, no harm in trying out the options. Tasker+secure settings should be able to set up the battery saving or device only (as described above)
Click to expand...
Click to collapse
You get Npl wakelocks? So far I haven't gotten it and that's the wakelock that usually keeps my phone awake for 2 hours or so. basically, I think the way it works is that the device only setting uses more battery when using apps that use location such as maps but when the apps are not in use it uses no battery on location.
PsychDrummer said:
You get Npl wakelocks? So far I haven't gotten it and that's the wakelock that usually keeps my phone awake for 2 hours or so. basically, I think the way it works is that the device only setting uses more battery when using apps that use location such as maps but when the apps are not in use it uses no battery on location.
Click to expand...
Click to collapse
No. Ever since I switched to battery saving (and tasker toggling to high accuracy when I use maps), I have no location based wakelocks (no NPL wakelocks)
jj14 said:
No. Ever since I switched to battery saving (and tasker toggling to high accuracy when I use maps), I have no location based wakelocks (no NPL wakelocks)
Click to expand...
Click to collapse
Interesting, I've been having the opposite. I even took a screen shot of the wakelocks on the stock battery app where when the screen is off there's a huge amount of individual lines for awake (of course this is backed up by BBS). However when using device only the awake and screen on match almost perfectly.
PsychDrummer said:
Interesting, I've been having the opposite. I even took a screen shot of the wakelocks on the stock battery app where when the screen is off there's a huge amount of individual lines for awake (of course this is backed up by BBS). However when using device only the awake and screen on match almost perfectly.
Click to expand...
Click to collapse
Not sure why the difference, but regardless, as long as the individual 'fix' works, that's all that matters

Issues with Google Maps and possibly Location mode

Apologies if this issue has been covered before but the searches I made displayed quite outdated topics and spoke about things I didn't understand at all or relate to with my Nexus 5. Basically I am having an issue when using Google Maps. Everything functions as normal however when I start navigation, it doesn't continually follow me as I'm driving nor does it reroute if I miss the turn it tells me to take or take one earlier. By that I mean it will work for a few minutes, then be in a pause-like state, then continue again, then pause, etc. Does this have something to do with my Location mode by any chance?
I have been looking up ways to improve battery usage so have the mode set at 'Device only'. Should I be selecting 'High accuracy' instead and disabling location services when I'm not using it to benefit the battery or is there another nifty way to kill two birds with one stone here?
I am using a Nexus 5 with Android version 5.0.1. Cheers guys.
Tilduh said:
Apologies if this issues has been covered before but the searches I made displayed quite outdated topics and spoke about things I didn't understand at all or relate to with my Nexus 5. Basically I am having an issue when using Google Maps. Everything functions as normal however when I start navigation, it doesn't continually follow me as I'm driving nor does it reroute if I miss the turn it tells me to take or take one earlier. By that I mean it will work for a few minutes, then be in a pause-like state, then continue again, then pause, etc. Does this have something to do with my Location mode by any chance?
I have been looking up ways to improve battery usage so have the mode set at 'Device only'. Should I be selecting 'High accuracy' instead and disabling location services when I'm not using it to benefit the battery or is there another nifty way to kill two birds with one stone here?
I am using a Nexus 5 with Android version 5.0.1. Cheers guys.
Click to expand...
Click to collapse
Other people are having this issue, too. And I believe it's also happening on Waze. It's a Lollipop problem.
Well that is a major let down. I tend to use Google Maps quite regularly and have never had an issue with it on the iPhone 5s, so what you're saying about it being an issue on Lollipop could possibly be the cause. Is there any announcements or blog posts regarding it from Google?
Hmm I don't have any issues like this using maps on 5.0.2
Sent from my SHIELD Tablet using Tapatalk
Tilduh said:
Apologies if this issues has been covered before but the searches I made displayed quite outdated topics and spoke about things I didn't understand at all or relate to with my Nexus 5. Basically I am having an issue when using Google Maps. Everything functions as normal however when I start navigation, it doesn't continually follow me as I'm driving nor does it reroute if I miss the turn it tells me to take or take one earlier. By that I mean it will work for a few minutes, then be in a pause-like state, then continue again, then pause, etc. Does this have something to do with my Location mode by any chance?
I have been looking up ways to improve battery usage so have the mode set at 'Device only'. Should I be selecting 'High accuracy' instead and disabling location services when I'm not using it to benefit the battery or is there another nifty way to kill two birds with one stone here?
I am using a Nexus 5 with Android version 5.0.1. Cheers guys.
Click to expand...
Click to collapse
You haven't even tried High Accuracy? It's recommended for turn by turn navigation and certainly something I would try before making threads.
If you want to save battery simply turn off locations when you don't need it and enable it when you do. You'll save much more than continually being in Device Only mode and potentially more accurate navigation as well.
Before registering to this forum I left my location mode on 'Device only' and enabled all the time to conserve more battery than leaving it on on the 'High accuracy' setting. After reading a few topics on this forum I now know that location sucks up a lot of battery, therefore location will be toggled when I need it.
I'll give it a go and see whether there is any significant improvement. I've never had any issue/s whatsoever with the Google Maps app on my iPhone 5s as explained.
ldubs said:
Hmm I don't have any issues like this using maps on 5.0.2
Sent from my SHIELD Tablet using Tapatalk
Click to expand...
Click to collapse
I'm on Android 5.0.1. When I check for the latest update it says my system already is up to date. My Google Maps app is also up to date.

Categories

Resources