this post was submitted on 12 Jun 2024
16 points (86.4% liked)

Ask Android

2180 readers
3 users here now

A place to ask your questions and seek help related to your Android device and the Android ecosystem.

Whether you're looking for app recommendations, phone buying advice, or want to explore rooting and tutorials, this is the place for you!

Rules
  1. Be descriptive: Help us help you by providing as many details as you can.
  2. Be patient: You're getting free help from Internet strangers, so you may have to wait for an answer.
  3. Be helpful: If someone asks you for more information, tell us what you can. If someone asks you for a screenshot, please provide one!
  4. Be nice: Treat others with respect, even if you don't agree with their advice. Accordingly, you should expect others to be nice to you as well. Report intentionally rude answers.
  5. No piracy: Sharing or discussing pirated content is strictly prohibited. Do not ask others for a paid app or about how to acquire one.
  6. No affiliate/marketing links: Posting affiliate links is not allowed.
  7. No URL shorteners: These can hide the true location of the page and lead people to malicious places.
  8. No lockscreen bypasses: Please do not comment, link, or assist with bypassing lock screens or factory reset protection.
  9. No cross-posting: Please take the time to make a proper post instead of cross-posting.
Other Communities

founded 1 year ago
MODERATORS
 

So I noticed that when you close an app, most apps, they never actually quit. Is this a new behavior? Or am I missing a setting to terminate, completely, an app when I actually close it without using Force Stop on everything.

top 4 comments
sorted by: hot top controversial new old
[–] Max_P@lemmy.max-p.me 16 points 5 months ago

What makes you think it's not really closed?

Just because it shows the Force Stop button doesn't mean it's running, merely that at least one of its components is loaded. That can be just about anything. I have apps I know for a fact cannot run in the background that shows the force stop button.

Mainly, it boils down to battery management and the Android architecture. Android apps are very modular, so the Java class for handling push notifications might be loaded but none of its screens or other services would be loaded and it uses negligible amounts of memory. It's way more battery efficient than reloading it from storage, and if the system needs memory it'll clear some caches.

[–] avidamoeba@lemmy.ca 10 points 5 months ago* (last edited 5 months ago)

Apps don't necessarily stop running unless you do Force Stop. It's always been this way.

In addition, swiping apps away in order to stop them has always been counterproductive on Android. Not only because it doesn't necessarily stop all of the app components, but also because it wastes resources. Android will stop apps as needed when memory is needed. In all other cases it will maximize memory usage in order to minimize CPU and IO making things faster. Stopping apps is only useful in special circumstances like killing a misbehaving app, etc.

You could limit per-app background usage since Android something, but even then it doesn't matter if you close them from the app list. Shortly after the all is no longer in the foreground, it will stop running, all of its components. It might still be possible for it to wake up now and then but for the majority of the time it wouldn't run.

[–] Fake4000@lemmy.world 6 points 5 months ago

Seems like an application specific thing.

I run android 14 and I only get this on certain apps (gmscore for example).

[–] limerod@reddthat.com 2 points 4 months ago

In android 14 most apps background apps are frozen in memory. Just because you see a force stop button doesn't mean its actually doing any work or consuming batttery.

Android does memory and battery management on its own. You also get some options to further restrict apps should you desire but that may break some apps.