How to stop Android apps from closing in the background

Keep apps from being killed when you switch away from them on Android. This suits anyone whose app restarts or reloads when they return to it. You only need your phone's settings, and the exact menu names vary by brand and Android version.

YouTube video: How to Keep Android Apps Running in the Background (No Closing) | [background apps auto close]

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

Video length
1 min 40 s
Time to do it
10 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Open Settings on your phone and find the Apps or App management section. The name depends on your brand, for example Apps on Samsung or Apps on Pixel.

  2. Find the app that keeps closing and open its App info page. Tap Battery or Battery usage if that option is shown.

  3. Set the app's battery use to Unrestricted or turn off battery optimization for it. This stops the system from putting the app to sleep.

  4. Go back to Settings and open Battery, then look for Adaptive battery or Battery optimization. Turn off adaptive battery if your phone offers it.

  5. Open the Recents or running apps screen and lock the app if your phone has a lock icon. Locked apps are less likely to be cleared.

  6. Check the app's own settings for a background activity or autostart option and turn it on. Some apps manage this themselves.

  7. Restart your phone, open the app, switch to another app, then return. Check whether the app kept its state.

Tips and common mistakes

Turning off battery optimization for many apps at once will drain your battery faster.

On Xiaomi, Oppo and Vivo phones, also allow Autostart for the app in its App info page.

If the app still restarts, clear its cache in Storage and try again before reinstalling.

Questions

Why does my app restart when I come back to it?

Android frees memory by closing background apps, and aggressive battery settings make this happen sooner. Allowing the app to run unrestricted usually fixes it.

Will this work on Samsung and Pixel phones?

The general path is the same, but menu names differ. Look under Settings, then Apps or Battery, for the app's battery options.

Does keeping apps running in the background use more battery?

Yes. Apps that stay active use more power, so only unrestrict the apps you really need running.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all