r/AndroidQuestions • • 7d ago

Other Should i swipe apps away from recent or let android managed them?

What is the best practice on modern Android? Should I leave apps alone in the background, or close them manually?

4 Upvotes

11 comments sorted by

3

u/dolby12345 7d ago

Android ram management will close what it needs to. That's why they reload when opening sometimes. I'm always closing them because I go in there and flip between apps.

0

u/cykelstativet 7d ago

Yeah seriously, what use is the app switcher if every single app is in there in a random order?

6

u/gmes78 7d ago

Android will kill background apps as needed. You don't need to do anything.

But you probably should close things when you're done with them, from an organization standpoint.

3

u/thewunderbar 7d ago

it's completely unnecessary. Android manages background tasks and kills things that aren't needed. That's why apps will reload sometimes when you go back to them in the app switcher.

1

u/SolitaryMassacre 7d ago

Direct answer to your question: Best practice is neither. Android will reclaim RAM when needed, will block background CPU consumption (unless enabled by you). In addition, swiping from recents to close them only puts them doesn't actually stop them. It "restarts" them if they have any processes still active (each app gets a timeout before getting put to sleep without background permissions. Even still, Job scheduler can still run things in background)

In short, you really won't see a difference in swiping them away from recents or not

The true difference comes when you go to that apps info screen and select "force stop app". This fully closes everything and cleans up RAM instantly. The app does not restart until something else triggers it (ie, google apps can be restarted because another process restarted it) but most 3rd party apps will stay closed

I'm rooted, and I have a custom "hold back to kill" enabled which force stops the apps. I mainly do this because I don't want apps running when I am done with them

I notice less lag when opening games (or any RAM heavy app) too because there isn't a delay of the OS closing apps and reclaiming RAM

But without force stopping the package, there is nothing you can do that would "benefit" performance by swiping away from recents

EDIT: Thinking about it more, I guess there could be a benefit to swiping them out of recents. As I believe this puts the app into a lower priority for OOM states. In theory, this means they should be cleaned up sooner/more frequently, then leaving them in recents. This is just speculation tho

1

u/late_merge_88 7d ago

Swiping isn't free. A cold start costs more cpu and battery than resuming a cached app, so clearing everything can use more power, not less. On some skins (Xiaomi, OnePlus, Huawei) a swipe also kills the process and can stop notifications or alarms. If one app is misbehaving, use Force stop in its App info page instead.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

1

u/thewunderbar 7d ago

Unnessary.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

1

u/[deleted] 7d ago

[removed] — view removed comment

7

u/rileyrgham 7d ago

Android sleeps them generally. There's little to no benefit unless it's a full access app with total bg rights.

2

u/thewunderbar 7d ago

unnecessary.

Android manages this for you.