I've set Latitude to be updated manually (location set manually) and I update it with Latify.
Every once in a while, I notice my battery draining faster than usual and I check my Latitude settings and there it is. Latitude has changed it's location update settings to "automatically update".
I've search and I can't find any real answer. Wondering if anyone knows why this is happening?
I swap sim cards out quite often as I travel between a few countries for work. Is that the cause?
Does nobody else face this problem?
Related
I recently installed Semi V17 and an updated BetterBatteryStats version. With that combination, I noticed that my device was never able to move into deep sleep due to constant location updates, thus causing battery drain. I think I've narrowed down the culprit for my battery drain, however, I'm not sure I know how to resolve it. It appears to be the Latitude support in Google Maps. I'm not enrolled in Latitude, but based on "adb shell dumpsys" output, it appears that it is running and requesting location updates constantly. The following is the registration for location updates from dumpsys. Notice that it is specifying no minimum time or distance, which implies (to me) constant updates.
Code:
Receiver{419e7ad0 Listener [email protected]}mUpdateRecords: {passive=UpdateRecord{421e75a0 mProvider: passive mUid: 10084}}:
passive:
UpdateRecord{421e75a0 mProvider: passive mUid: 10084}
mProvider=passive mReceiver=Receiver{419e7ad0 Listener [email protected]}mUpdateRecords: {passive=UpdateRecord{421e75a0 mProvider: passive mUid: 10084}}
mMinTime=0 mMinDistance=0.0
mSingleShot=false
mUid=10084
Dumpsys identifies the 10084 process as the LocationFriendService:
Code:
*APP* UID 10084 ProcessRecord{41af23e8 13037:com.google.android.apps.maps:LocationFriendService/10084}
class=com.google.googlenav.android.AndroidGmmApplication
Does anyone have any idea how to disable this service without completely freezing/removing the Google Maps application?
Thanks,
Craig
Have you turned off automatic location detection in the Latitude/Maps settings? You can completely disable it or set so it asks you to update it manually.
Also if you have Facebook installed make sure you disable location reporting in your Facebook app settings. That was a big one for me.
One other thing to check is any widgets that use location detection (like weather widgets).
In settings... same place where you enable the GPS.
Strangely, I had to click through to enable Latitude before I could get to the settings to control Latitude and really shut it off. I've now turned off everything I could find related to Latitude and will see if that "sticks". Previously, it would seem to work for some period of time and then all of the sudden start running like crazy, so until I've run like this for at least 24 hours I'm just not going to know if I've truly managed to disable this service.
Next time, check here first.http://www.chucknorrisfacts.com/
Sent from my SAMSUNG-SGH-I777 using Tapatalk 2
csetera said:
Strangely, I had to click through to enable Latitude before I could get to the settings to control Latitude and really shut it off. I've now turned off everything I could find related to Latitude and will see if that "sticks". Previously, it would seem to work for some period of time and then all of the sudden start running like crazy, so until I've run like this for at least 24 hours I'm just not going to know if I've truly managed to disable this service.
Click to expand...
Click to collapse
It appears like disabling all things Latitude has cured my battery drain. If only they hadn't hidden those settings, it would have been way more obvious. Thanks for the tip.
Hi,
Whenever the "Use wireless networks" setting is on under "Location services", I get constant "nlpwakelocks" and battery drain.
However, I see that this was supposidely fixed by Google: http://www.androidpolice.com/2013/05/29/download-latest-google-play-store-4-1-10/ (my version is 4.3.11).
Does anyone else have this issue? I've only started looking into wakelocks and have had the phone 5 months and have never had better battery than with this option turned off. Yes the simple answer is "turn it off", but I find I can get location locks quicker with it on, and also my phone can locate me when indoors.
I use Google+ location services so I can locate trusted friends (and they can locate me), and previously Google Latitude, but surely they shouldn't be constantly requesting my location and Android should prevent this in someway?
Cheers.
I too suffered this issue (several times on different roms). Nlpwakelocks appeared in an insanely high abundance (several thousand wakelocks in a single day).
My first fix consisted of uninstalling all updates of google play, google services framework and google play services, clearing caches and deleting the data of the before mentioned in Appmanager, then do a reboot and re-install the updates again. Magically, the number of wakelocks dropped to a quite acceptable level. It still was the major cause of wakelocks, but it didn't drain the battery nearly as much as before. Since then, I had the "Use wireless networks" setting enabled without heavy battery drain. I could happily live with this result.
However, since I updated to 4.3 (CM 10.2), there's no longer a button to uninstall updates of those services in AppManager. Luckily though, clearing caches and data then reboot seems to suffice now.
The only caveeat seems to be google maps. Since the update, you need to be logged in to your google account to see your favorite places in google maps. Unfortunately, maps then begins to poll your location every few minutes, thus raising nlpwakelocks to an alarming level again.
Since I've not found a workaround for this yet, I always logout of google maps after use and login again when needed. Not very comfortable, but this way I'm still able to use Google Now while experiencing an acceptable battery life.
Hope this helps!
Here's the fix, if you're rooted: http://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
I have a Huawei Honor X1 (503L version B007) and live in northern Europe.
I noticed that, although I have turned on the settings to share my location, I can't see my device in Google Dashboard.
In the past weeks there is one moment An hour or so at 03:00 AM that my phone shows up in Google dashboard, but that's all.
Also my weather apps do not seem to find the location I am at or take a long time to switch to the correct location (time to check is set to a low interval).
GPS works fine. Internet through WIFI and data connection work fine and calling or receiving calls is no problem either.
I have tried reinstalling some Google play services with a GPS spoofer installed and all that but it doesn't seem to help.
I read about the 503L, because it's meant for the Asian market, has a different frequency for cell towers. Could this be the problem for the apps not being able to locate my device?
Are there Google services I should have installed for this service to work? (I have Playstore, Google now, mail and sync).
Is there a ROM (being) developed that i could use to 'Europeanize' my phone? (base language English, Google apps installed, frequency correction etc.)
I think there are various issues with this phone. I have the 7D-501U and I note that it too does not properly keep the location up to date. It also fails to run various services at startup, despite them being marked as "allow to run at startup". They can also get shut down if started manually. Basically, I think Huawei has been too aggressive with their power saving tricks.
I've noticed a strange issue with location services on my Edge. When I have the location mode set to "GPS, WiFi and mobile networks", with WiFi turned off, sometimes apps detect some (basically random) location, 10-20 kilometers away from where I really am. Once it even detected I was in Tokyo, and I live in Europe. This most often happens when the phone has been locked for about an hour or more. What's also strange is that, once that happens, after I close and reopen an app (say, a weather app, which uses location) a few times, it detects the correct location. And then if I lock the phone and unlock it after some time, the app will again show the wrong location.
I've also noticed this doesn't happen with the Google Maps app, it always detects the correct location. Maybe the issue is with that particular location mode (which is supposed to be "high accuracy", lol). But, on the other hand, I don't see a reason why that would be the case. Could it be something with cell towers reporting wrong location?
I've tried resetting the phone, and restoring my data from backup, but it didn't change this behavior.
Has anyone had a similar experience? What might be causing this and how to fix it?
EDIT: A quick side question: is there a way to revoke the permission you have to give to Google to use that "high accuracy" mode?
Thanks in advance for any assistance or advice.
P.S.: I'm using stock firmware (5.1.1) with no root.
Hi. I hope I am posting this in the right place. So I have an LG Nexus 4 which has Kitkat 4.4.* and an updated google service apparently. The location reporting option is no longer available, only the history one. Now my problem is that I accidentally agreed to let google report location data in exchange for higher location accuracy. However I cannot revert this agreement anywhere. Each time I turn off/on the Location service, it resets to the highest accuracy, thus also reporting the location. It doesn't use my last setting as default. Is there a way to force default (device only) setting on it somehow? Or revert this option back to "always ask" or something? I can't find almost anything about this on the web. I'm afraid that it sets this into the google account itself, so my only option could be forcing the phone to default to the desired one. Is it even possible?:/
Any help is appreciated!