[HELP] Prevent app running background - Android Q&A, Help & Troubleshooting

So there are a few apps on my phone which I want to only run when I specifically open them. And then to completely be disabled/killed as soon as I leave. No processes, no start up, no notifications, no services, wakelocks etc etc.
What's the most effective route for this? I'm using Greenify at the moment but noticing that for some of these apps are still waking up from time to time. Amplify is showing the occasional wakelock from them too. Any way to completely disable an app as soon as I leave it?

Related

[Q] google talk always on - battery drain?

Something that is catching my attention as i mess with roms, is whenever I first sign into google services the google talk app is immediatly alerting me i have invite requests etc. meaning that app seems to be sitting in the background running and probing for network access. Clearly a battery drain, but I cant find a way to disable this behaviour short of freezing the app in titanium backup.
Have google really been this silly and put an social chat app on the OS that is forcefully always running unless removed?
On GB roms there is an option to not auto sign in, on ICS/JB roms (and also on GB if you update it to hangout app) there is no way to avoid auto signing in.
So am I right the app cannot be turned off, and is there any known ill affects to freezing the app?
Freeze it. It's always the first thing I freeze when I do a clean install.

[Q] how to stop apps that keep restarting themselves?

How do I stop google play store and play services from running non stop in the background?? I have my location turned off, and privacy guard turned on, but somehow play services and google maps can get my location? Google play store runs something called "daily hygiene"and all three of these apps restart themselves when I kill them. I don't need play services running, when only the location part of it is running. When I try and disable autostart, receivers, freeze them, use advanced freeze through ROM toolbox, they either revert back instantly, or as soon as the phone reboots. Can anyone tell me how to get this crap to stop running when it's not being used, and stop getting location, or whatever other things I'm trying to keep private?
update
Update what?
Sent from my Nexus 4 using xda app-developers app
Freeze them with titanium backup. It'll stick through a reboot.
Is there a way to make it stop constantly running in the background and become a cached process without freezing?
Sent from my Nexus 4 using xda app-developers app
If you do not want to freeze them. You might try Greenify. http://forum.xda-developers.com/showthread.php?t=2155737
Although system app hibernation might only be with the donation package. But I can't remember. Might want to read up on the OP in the link.
Use greenify
yes the best option is to use greenify which stops those apps run in background unnessecerily

[Q] Finally realised something about greenify

I'm sorry if something like this has come up before, it's quite hard to search for specific things like this and I probably look stupid for just realising this now but here goes:
I always assumed that Greenify would only hibernate apps that I myself didn't have running (ie apps that weren't in overview or the foreground) yet I've recently realised that apps in the overview page (recent tasks) on lollipop are also susceptible to being greenified. Is it possible to have apps be excluded from hibernation whilst they are in overview?
For example, I greenify the Eurosport app because it runs a service even though I have push notifications off for it, but I still want to be able to have it in the background and jump back to it without it reloading, so the ideal would be I could leave it in the overview and multitask into it again later. However if the screen has been off for a few minutes Greenify hibernates it meaning it requires a reload, which may in fact use more battery overall than I saved by greenifying it in the first place.
Is it possible to add the condition that apps only get greenified once they've been cleared from overview/recent tasks/multitasking (whatever you want to call it)
It has been discussed before.
1. Android 5.0 removed the ability for an app to get the list of recent apps.
2. Recent app list is actually managed by Android system. An app in the list does not mean its process is still running, and some being squeezed out of the list also do not mean their processes are ended.
So it's not reliable for hibernation to depends on the recent apps list.
In your case, if that app does not cause battery issue, it's suggested to keep it out of Greenify for process to be cached.

Galaxy S3 running CM11 - SystemUpdateService won't stay enabled?

Hi,
For some reason SystemUpdateService is absolutely destroying my battery (phone awake 98% of the time) because it's not running and Android is constantly trying to run checks against it.
The service is under both of the following apps:
Google Play Services
Google Play Services Framework
If I use the DisableService app I can kick them back into action again... but whenever I restart my phone, they're disabled again. Also, sometimes they randomly switch off again at random.
Any idea how to keep these services running please?
Many thanks

Freeing up memory

I'm seeing sluggish performance after turning my screen back on. My battery usage is already fairly good. I mainly am using Greenify to attempt to free up some memory. There are apps that I rarely use but don't want to uninstall (ie facebook, whatsapp, etc). The way I understand it, the more I hibernate, the more memory I save. However, I read that doing this too much can cause sluggish performance when waking up. How does this work exactly? I have noticed sluggish performance after turning the screen back up. However, what does this have to do with greenify? The apps are still hibernated.
eng3 said:
I'm seeing sluggish performance after turning my screen back on. My battery usage is already fairly good. I mainly am using Greenify to attempt to free up some memory. There are apps that I rarely use but don't want to uninstall (ie facebook, whatsapp, etc). The way I understand it, the more I hibernate, the more memory I save. However, I read that doing this too much can cause sluggish performance when waking up. How does this work exactly? I have noticed sluggish performance after turning the screen back up. However, what does this have to do with greenify? The apps are still hibernated.
Click to expand...
Click to collapse
- Greenify won't directly free up memory
- sluggishness is likely do to multiple apps/services competing for resources when the device wakes; that's why native doze has occational​ maintenance windows
- aggressive doze can contribute to this behavior
- consider a start-up (broadcast receiver) blocker if the social media apps you reference are found running after the device starts; that way they never get loaded into memory in the first place
Can you recommenced a start-up blocker? this means the app will never be launched into memory unless I do it manually?
I thought that "greenify" will "compress" the program in memory causing it to use less. I don't want the app to be completely disabled (otherwise I could just freeze it). For example, if someone sends me a message on facebook (which is very rare), I'd like to know.

Categories

Resources