Friday, July 26, 2019

battery - Why is Google Maps always running in the background?


I'm running on JB. The Google Maps application always seems to have 2 instances running in the background inspite of turning the GPS off. Is there a clean solution to prevent it from ever running in the background?



Answer



One part of Google Maps is a so called "Location Service", which kicks in on a couple of intents (e.g. always when your network connectivity changes -- which happens when you login to a new WiFi network, or to a new cell tower). It caches your current location to the "location cache", which should serve to faster provide your current location when needed (and to update Google's location database, as the cache's contents are submitted in intervals).


Without being rooted, there's not much you can do about. But if your device is rooted, you have several options:



  1. Use an app like Autorun Manager PRO (yes, here you need the "Pro") to disable the listeners which cause it to kick-in1

  2. Use Titanium Backup ★ root to freeze the app when you don't need it, and un-freeze it on demand2



AutoRun Manager Titanium Backup


Which method to prefer? I personally would go for the second. Titanium backup lets you create a widget on your desktop to toggle the "frozen state" of an app, so you can easily switch it on/off. Disabling some listeners might work well -- but the app also might start behaving strangely.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...