[Q] Google Maps battery drain - Verizon Droid Charge

Has anyone else noticed Maps generating a lot of wakelocks in recent versions? I'm not using Latitude, and with Maps installed, network location is always the top wakelock, even when I never open maps. When I remove maps, the wakelock goes away, and the battery life gets better.
I'm banging my head on the wall here...it wasn't like this is older versions, but lately I can't seem to do anything to calm it down, short of uninstalling/freezing it. It's not like I use it much, but it is nice for it to be there on the rare occasion that I do need it.

use an autorun manager to block it. one of the free versions allows for 4 toggles and I used them all on facebook (but for some reason maps isn't located in this program) so that doesn't really help your problem but i'll do some app research and report back. that'll probably be the only way to stop it.
edit: use gemini task manager and long click on maps and then configure auto run (root) i unchecked everything but a couple so that my geolocation for my beautiful widgets would work as well as facebook checkins although I'm not sure if maps has anything to do with this but i think it does.

Related

[Q] Temp Root, cant disable some apps

Hello all,
I have a temp root on my sensation and have disabled quite a bit of apps and processes, but now am running into trouble. There are quite a few that just say "killed" instead of disabled. I enter the package name as it is shown using that system info app, and make sure that others still enable/disable.
Some include processes that google maps is running, as well as my calendar. Do I have to disable google maps and my calendar to stop this? I like google maps, but not this network locator it runs constantly and this rate location process.
Also, I saw someone recommend disabling some laputa stuff, but NONE will disable, only "killed".
Im new to all this, so I have no idea why. Ive also searched, and found nothing.
Thanks,
Matt
mrg02d said:
Hello all,
I have a temp root on my sensation and have disabled quite a bit of apps and processes, but now am running into trouble. There are quite a few that just say "killed" instead of disabled. I enter the package name as it is shown using that system info app, and make sure that others still enable/disable.
Some include processes that google maps is running, as well as my calendar. Do I have to disable google maps and my calendar to stop this? I like google maps, but not this network locator it runs constantly and this rate location process.
Also, I saw someone recommend disabling some laputa stuff, but NONE will disable, only "killed".
Im new to all this, so I have no idea why. Ive also searched, and found nothing.
Thanks,
Matt
Click to expand...
Click to collapse
Have you tried "freezing" them in Titanium Backup ?

Wich task killer should I download

I WANT TO DOWNOALD A TASK KILLER BUT I DONT KNOW WICH ONE
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
You don't really need one... the Samsung one is perfect
Sent from my SAMSUNG-SGH-I997 using XDA App
You really shouldn't need to download a task killer unless your still on a really old version of android such as 1.6. Any advice you are reading about the benefits of task killers are likely outdated and are remnants of the older day's of android. In fact installing one on anything above 2.1 will likely be detrimental to performance and battery life. Android will manage and kill processes on it's own, and if you start killing tasks with a 3rd party app you will likely find that android starts them right back up again. This constant kill and restart will eat up cpu cycles and drain battery. Let Android manage tasks and memory on it's own the way it was designed to.
Instead, focus on tweaking the settings of apps that you don't often use to ensure that they are not running in the background when you don't need them. I'm not sure what your goal is with the task killer, whether it's battery or performance related, but some good places to start tweaking are here:
Facebook --> If you don't need to be notified of updates and you don't care much for syncing contacts then disable the syncing feature from within the app. Otherwise it will run in the background and call in every hour or so looking for updates to sync.
Google Talk --> If you don't use this, then start the app and make sure that auto sign in is disabled. This should keep it from autolaunching in the background and signing you in.
News & Weather app --> Go into settings and manually specify your location rather then using cell triangulation or gps settings to determine your location. These will both drain your battery. Also set the app to download a very high auto refresh, like 6 hours, or disable it completely so that it only refreshes when you actually launch the app.
Location settings --> It's best to disable "use wireless networks" and "gps" unless you are actually using location based services. I personally only turn them on when i need to use them. This saves a bunch of battery by not constantly pinging cell towers to determine your location throughout the day.
To get an idea of what else you can tweak, go into Settings --> Manage Applications --> Running, and have a look at what apps are currently running. More then likely each app should have some sort of settings available that will help you manage what it actually does in the background.
Also, keep in mind that part of Androids strategy in launching apps quickly is to keep the commonly used apps open in the background and ready to launch. If your phone does not feel sluggish or slow, then don't fix what aint broken, leave it be.
Hope this helps.
DaMeatMan said:
You really shouldn't need to download a task killer unless your still on a really old version of android such as 1.6. Any advice you are reading about the benefits of task killers are likely outdated and are remnants of the older day's of android. In fact installing one on anything above 2.1 will likely be detrimental to performance and battery life. Android will manage and kill processes on it's own, and if you start killing tasks with a 3rd party app you will likely find that android starts them right back up again. This constant kill and restart will eat up cpu cycles and drain battery. Let Android manage tasks and memory on it's own the way it was designed to.
Instead, focus on tweaking the settings of apps that you don't often use to ensure that they are not running in the background when you don't need them. I'm not sure what your goal is with the task killer, whether it's battery or performance related, but some good places to start tweaking are here:
Facebook --> If you don't need to be notified of updates and you don't care much for syncing contacts then disable the syncing feature from within the app. Otherwise it will run in the background and call in every hour or so looking for updates to sync.
Google Talk --> If you don't use this, then start the app and make sure that auto sign in is disabled. This should keep it from autolaunching in the background and signing you in.
News & Weather app --> Go into settings and manually specify your location rather then using cell triangulation or gps settings to determine your location. These will both drain your battery. Also set the app to download a very high auto refresh, like 6 hours, or disable it completely so that it only refreshes when you actually launch the app.
Location settings --> It's best to disable "use wireless networks" and "gps" unless you are actually using location based services. I personally only turn them on when i need to use them. This saves a bunch of battery by not constantly pinging cell towers to determine your location throughout the day.
To get an idea of what else you can tweak, go into Settings --> Manage Applications --> Running, and have a look at what apps are currently running. More then likely each app should have some sort of settings available that will help you manage what it actually does in the background.
Also, keep in mind that part of Androids strategy in launching apps quickly is to keep the commonly used apps open in the background and ready to launch. If your phone does not feel sluggish or slow, then don't fix what aint broken, leave it be.
Hope this helps.
Click to expand...
Click to collapse
It help thaxx a lot
Sent from my SAMSUNG-SGH-I997 using XDA Premium App

Speed improvements

Hey! tl;dr? Click here to go directly to the fast improvements post and disable some unwanted services.
Still want more fun disabling services? Read the second post.
Hi all,
I improved the speed of my G2 recently and felt that the community might appreciate this as well. It's probably not the "best guide" for everybody, but this is what I've done and it's worked nicely for me so far.
I recently got irritated at my phone being occasionally sluggish. So, when it was sluggish one time, I went to Manage applications->Running Applications, and saw that Facebook decided it wanted to start itself up in the background.
Now, I'm as big a fan as the next guy for having multi-tasking, but randomly starting an app in the background without my consent is not what I consider to be useful or resource-friendly. I decided to "freeze" the app using SD Maid (you can do this with Titanium Backup as well). Facebook is now in a frozen state so it will not launch itself at all. Ha!
What do I do about having no Facebook now? Well, there happens to be a great app on the Market called Fast for Facebook. This is quite an improvement over the sluggish and buggy Facebook app. I installed that and am having a blast with it so far.
I wanted to check for other apps that were dawdling in the background. So I looked again in Running Applications and found that Maps decided it wants to be running too. I went to the settings for the Maps application, and turned off Location reporting. Why would I want an app sucking my resources dry to alert the world where I am? I'm not that much of a socialite or stalker prey. I also turned off Automatic check-ins.
Previously, I'd gone through a few other apps and turned off automatic sync. Things like DropSync (to sync Dropbox), Tumblr, Google+, and Twitter are not necessary for me to have reviving themselves in the background. I should be the authoritarian ruler of all of the apps over my phone- no freedom here to run around as you please.
I set up a couple apps to run at odd hours of the night. I only need to have photos and documents synced probably once a day, so I set up Tasker to do it automatically while the phone is charging and connected to Wifi at around 4am. I've set up Titanium Backup to do backups something like every Tuesday night, Friday night, and Sunday night, each at like 4am as well; and upload those backups to Box. I want to use my phone fast when I use it during the day, and at night time it can take its time with these lesser-priority tasks while I'm asleep.
Email/Gmail and Messages still have notifications and syncing, as well as the occasional Pulse RSS feed notification. All else seems to be shutting up though, which is good. What I would really like to do is have Market update its apps automatically at like 4am, so it won't spend resources checking for updates in the background. I can't find how to do that though.
One app that really gets under my skin is Amazon Appstore. This guy runs in the background too- I've turned off its notifications but I'm pretty sure it'll still sit there sapping my resources. This one's a toughie because I want to uninstall or freeze it, but I want to still be able to get good free apps from it once a day. There have been some really good apps and some really bad ones, but the good ones are worth it to me.
I might add in more things to disable. It's been faster so far, so I'll see how it goes over a couple days. One last thing I did was install SetCPU. I use that now instead of CyanogenMod 7's built-in CPU stuff. I don't know if it's a placebo or not, but I seemed to notice a boost in performance from it (not instantly, but in general I see less lag).
Hope this helps someone, best of luck with all of your phones.
-Proxin
use watchdog to spy on what apps are actually running and using cpu in the background, lots of apps can be open in the background and not using anything cpuwise
demkantor said:
use watchdog to spy on what apps are actually running and using cpu in the background, lots of apps can be open in the background and not using anything cpuwise
Click to expand...
Click to collapse
Watchdog is a great idea too, I forgot to mention that.
If anyone else has recommendations they are all welcome!
Proxin said:
Watchdog is a great idea too, I forgot to mention that.
If anyone else has recommendations they are all welcome!
Click to expand...
Click to collapse
For speed improvements, i usually use titanum backup to remove alot of useless apps i dont use (which frees up alot of ram). then i supercharge my phone and set it to agressive. And i also change up the build prop.
I need to post my additions.
I realized that by disabling Facebook, I lost my contacts that I had from there. That's no good. So I re-enabled it.
Now, Facebook has a few select services it likes to let run in the background. One specific one is MediaUploadService. This runs even when you are Not uploading anything, which is ridiculous because it hogs your resources.
However, if you disable this service completely, you won't be able to upload any photos to Facebook from your phone.
SO, I set up a script to disable all of Facebook's services like this at once, and I use the app called Llama to execute this script every time Facebook exits. I set it up to call my enable script once Facebook is started, then 5 minutes after Facebook closes it disables all of the Facebook services.
Here is what I used...
Enable Facebook services:
Code:
su -c 'pm enable com.facebook.katana/com.facebook.katana.service.MediaUploadService; pm enable com.facebook.katana/com.facebook.katana.service.FacebookService; pm enable com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService; pm enable com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService; '
Disable Facebook services:
Code:
su -c 'pm disable com.facebook.katana/com.facebook.katana.service.MediaUploadService; pm disable com.facebook.katana/com.facebook.katana.service.FacebookService; pm disable com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService; pm disable com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService; '
With this new ability to disable services, I took a look at Amazon AppStore's annoying service, and disabled it using this script with Llama like I did with Facebook:
Amazon Service Disable script
Code:
su -c 'pm disable com.amazon.venezia/com.amazon.venezia.service.UpdateService'
Proxin- note: old code said:
Next, I noticed SwypeConnect was keeping itself active, so I disabled it too (Swype never gets updates anyway, so I didn't see anything bad with doing this):
Code:
pm disable com.swype.android.inputmethod/com.swype.android.connect.ConnectClient
Click to expand...
Click to collapse
There's an app on the Market called StartupManager, I used that to kill off extra startup services that were not necessary. Things like Youtube, MyTracks and Maps were starting up. My view is, why do these things start when I don't start them myself? I stopped the services and have seen some pretty good responsiveness so far.
Go to the market and search for an app called gemini manager. It needs root but you can disable autostart for all apps with it.
Also get LBE privacy guard- it will block apps from using gps/data which can also increase battery life
redspeed said:
Go to the market and search for an app called gemini manager. It needs root but you can disable autostart for all apps with it.
Also get LBE privacy guard- it will block apps from using gps/data which can also increase battery life
Click to expand...
Click to collapse
Great, I'll look into those too- thanks
@proxin:
Amazing post! how do you find the path for each of those components inside a package?
I use the same method with Tasker (instead of llama). Perform a task (run shell command) on the exit of a App profile
Also, the .Mqtt. should be all lowercase (figured out after that service would not disable), like this:
com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService
file2mail said:
@proxin:
Amazing post! how do you find the path for each of those components inside a package?
I use the same method with Tasker (instead of llama). Perform a task (run shell command) on the exit of a App profile
Also, the .Mqtt. should be all lowercase (figured out after that service would not disable), like this:
com.facebook.katana/com.facebook.orca.push.mqtt.MqttPushService
Click to expand...
Click to collapse
Thank you, hope it has helped! I found them by looking up their Running service name on Google, and seeing people's logcat errors on there elaborated them for me. So I'd try a search for "com.facebook.katana*MqttPushService" and Google would direct me to the proper one.
You're spot-on with the Mqtt needing to be lowercase, I found the same issue on mine and got pissed off when I saw that the Mqtt service was still running forgot to change the post to reflect it though. Thanks for the notice
Seems like the best method for using your phone properly is to do like we're doing, otherwise applications with poor choice in how they handle resources, will clutter up the phone.
Btw, I tried Gemini App Manager and it works well for disabling autostart in apps. LBE Privacy Guard is intense in how much it locks down your phone, but that's locked down it's even a bit too much for me haha. It's a great app and will work for many people though.
I've noticed maps running in the background many times. I didnt know you're able to switch this off, thanks for the info!
Killer1desireZ said:
I've noticed maps running in the background many times. I didnt know you're able to switch this off, thanks for the info!
Click to expand...
Click to collapse
No problem, I don't recommend killing off the Maps service though as it's probably needed for some location service (in my case I need the cell tower location service for some Llama profiles)
That's just my case though. Before you disable the service, maybe see if you can turn off automatic location reporting in Latitude? Go into Latitude settings->Location Settings and change Location reporting and Automatic check-ins to be Off.
Hope this helps. It shouldn't disable the entire Maps service but maybe it will reduce the amount of check-ins that Maps does without your consent.
Perhaps one of the biggest performance hits in an Mid Spec Android phone is how many App's it's carrying.
It is generally a good idea to keep the App count low. A general rule of thumb is to have no more than 40~ user apps on your Device. Since you have less apps installed (some of which could be idling or actively operating in the backround), you'll have more free RAM/space in the internal storage which in turn will mean more speed/battery efficiency.
Hope this can be of help
crestofawave said:
Perhaps one of the biggest performance hits in an Mid Spec Android phone is how many App's it's carrying.
It is generally a good idea to keep the App count low. A general rule of thumb is to have no more than 40~ user apps on your Device. Since you have less apps installed (some of which could be idling or actively operating in the backround), you'll have more free RAM/space in the internal storage which in turn will mean more speed/battery efficiency.
Hope this can be of help
Click to expand...
Click to collapse
I've heard this said too, but I've never seen evidence that the more apps you have installed = the more apps are actively running. It's definitely a good idea to have less installed, but I don't think they'll run in the background unless they have autostarting capabilities like you can monitor with Gemini App Manager.
This is just me without even a Bachelor's degree speculating and relaying my experience though, so don't take my word for it
I notice a definite lag once I go above a certain amount of apps. I uninstall 10 or so and its a rocket! But then again I have waaaay more then 40 probably like 100 or something
Maps doesn't have that option for me. Anyways uninstalled 20 apps
New fun things to try...
I enjoy GO Launcher Ex just as much as the next guy who uses it as the default Home application, but I don't enjoy it making multiple services of itself that do, literally nothing. What I noticed specifically was a service called GOMusic, taking up about 4MB of RAM which could be used for other, more useful things.
What I did to fix it was:
Code:
pm disable com.gau.go.launcherex/com.jiubang.ggheart.apps.desks.appfunc.mediamanagement.musicplay.MusicPlaybackService
My Google Music widget still works fine, so apparently the GOMusic thing was just a waste of RAM (unless someone can explain a good reason to leave it be?)
One more addition I did was that, I keep seeing SwypeConnect as a service and I don't like it. It shouldn't need to constantly connect, for me to simply use Swype whenever I do.
I tried two things, pretty sure the second fixed this:
Code:
pm disable com.nuance.swype.input/com.nuance.swype.input.SwypeConnect
pm disable com.naunce.swype.input/com.nuance.swype.connect.ConnectClient
And next, I saw that Google Voice had a Widget service that liked to hang out and sap my resources. This would be useful but I don't have a widget set, so I disabled it:
Code:
pm disable com.google.android.apps.googlevoice/.widget.WidgetService
That worked for me. I can still send and receive messages with Google Voice, so I still have the same functionality I need without having an extra service in my list.
Note that, as usual, these are easily reversible by using using "enable" instead of disable in that code block.
Hopefully this will help someone else as well.
New experimental service disabled; I had noticed multiple Maps services running whenever they pleased. I can do with a NetworkLocation service from Maps, because I use Llama for location profiles and all, but not a Prefetcher service for it.
Here is what I used to disable the Prefetcher service...
Code:
pm disable com.google.android.apps.maps/com.google.googlenav.prefetch.android.PrefetcherService
I haven't seen any negative effects from this so far, but I will update this if I do.
@Proxin
Hi there,
I'm realy like your entries here, but i cant get through with the scripts killing facebook services. Can you be more specifc pls how to set those scripts you mentioned in Llama?
i've just tried to do things you say with facebook background services and for maps' prefetcher, but it says Segmentation Fault, as far as i know , segfaults are not normal linux program response, right? without super user privileges it just says 'Killed' [i tried both because 'pm set-install-location' worked for me only without super user]
EDIT:
ok, i'm noob, i just had to export LD_LIBRARY_PATH, now pm doesn't segfault for me as superuser
hi can any ody guide me how to use those su commands with llama?? thanks

[Q] Google play services and google services framework

Guys, I'm losing my mind over their wake and battery use. I'm on Slim 8.0 and franco r63 and already done the following:
Yeah, so I've turned OFF 'wake' in privacy manager, I've cancelled 'wake' permission in Android Tuner, I've disabled ads / location activity, and turned off sync and STILL I get ~40% drain from stinking GOOGLE SERVICES!!
Last night was last straw of me, so I wiped / reflashed SLIM 8.0 and franco kernel r63, set max CPU to ~1450, max GPU to ~380, downvolt ~25ma and waiting to see result.
WHY are google services such a PITA when it comes to WAKE and BATTERY USE when I've obviously disabled their ability to both WAKE and COMMUNICATE?
It's driven me absolutely BATTY. My wife's S4 has the same issue and I'm about to be DONE with all Google crap on her phone also.
I've google the issues and they are THOUSANDS of reports of similar problems.
If ANYBODY has a better idea I'd really appreciate it. Different ROM, different kernel, ANYTHING.
UPDATE: 4 hours 37 minutes > 90% left... with a lot of 9gagging in that time
Battery help thread linked in my signature.
Had the issue earlier today. Settings > Storage > Clear Cache > Reboot seems to have worked.
Make sure to not disable GPS, doing so for some reason will have that process constantly scan for location and keeping your device awake.
Sent via Telnet
Never heard of the 'GPS on' trick, but I checked location and no apps have requested location.
I tried to load a 'mini Gapps' package for SLIM but it's same story, device NEVER sleeps. No sync, no location, disabled 'wake' for the services, everything... glad I backed up the system with NO Gapps because I'll likely be restoring...
Really, really, really pathetic that SO many people have this program. What the hell is wrong with google??
Im convinced google play services is nsa spyware. Anyone care to prove me wrong? I would feel bette if you could. I have uninstalled it several times and it WILL NOT GO AWAY. And it uses more permissions than any other app I have. It will not stop running. It behaves like a virus in my opinion. Am I just a conspiracy nut?
Sent from my LG-VS450PP using XDA Free mobile app
whodisname said:
Im convinced google play services is nsa spyware. Anyone care to prove me wrong? I would feel bette if you could. I have uninstalled it several times and it WILL NOT GO AWAY. And it uses more permissions than any other app I have. It will not stop running. It behaves like a virus in my opinion. Am I just a conspiracy nut?
Sent from my LG-VS450PP using XDA Free mobile app
Click to expand...
Click to collapse
1. Google uses it for things like Analytics
2. Most apps depend on it as a framework to do things, hence the permissions
3. It updates in the background automatically
4. This is Android. Android means Google.
5. If you don't like that, switch to using the Amazon app store, or buy a crappy iOS device.
Well, I just removed it (it was a pita due to no recovery on phone so i gotta be delicate!) and maps still works. Thats the one app I cant live without. I havent checked everything yet but nothing I have used thus far seems affected. Used TB to remove market links.I use an alternate app store already. My phone runs MUCH faster. I will never own a crappy Iphone device!!!
Everything checked. All works.
Sent from my LG-VS450PP using XDA Free mobile app
You don't need GPS ON, just freeze google play store and services and enjoy LONG battery life. Only thing that works for me 100% of the time....

[Q] Greenify ... Helping or hurting battery life?

So here's my train of thought,
Lollipop put an end to the clear all recent apps button. This caused me to recall something I read on slimroms website a while back regarding why slim recents doesn't have a clear all button either. If I remember correctly, basically they said that the way Linux works, opening an app in it's closed state calls on more ram or cpu than it would if it were just running in the background - so what does this say for greenify? I'm certainly no computer science expert so I could totally be misunderstanding, but if someone could clear this up for me id really appreciate it. Is hibernating my apps saving my battery? Or is the extra effort of opening them back up draining my battery?
Thanks!
First of all, slims rom you close all recent app by pinching it. There is no button. Also, with gcm push abilities, apps like Facebook and whatsapp saves battery by hibernating and using greenify to act as a proxy when a push notification comes in. Google gcm greenify for more details. It isn't about the battery loss in restarting an app but rather what that app is doing while on in the background. Hope that makes sense.
Thanks for the response, I'll have to research a little to wrap my head around it entirely, but I think I understand. Just for reference though, here is the link to the slimrom thing I mentioned:
http://slimroms.net/index.php/faq/slimbean/414-will-you-add-the-kill-all-in-recents
I use LiquidSmooth, which is based on SlimKat, and the pinch to kill all works on it. That said, it really is better to simply kill only the apps you don't want running in the background. If you keep killing apps you frequently use, your phone has to re-load them from storage each time, which takes time, processing power, and battery juice.
Similarly, Greenify is indeed best used to hibernate apps that you don't want running in the background. For example, frequently use Facebook, Words with Friends, Wikipedia, Dolphin, RealCalc, etc. I want to keep these running. Other apps, like the T-Mobile account app, or my banking app, I don't want/need running constantly in the background, so they get Greenified.
Another way to go about this is to use a task killer like Clean Master, but whitelist apps you frequently use.

Categories

Resources