Stop Android from Aggressively Killing Background Apps
Music stops playing, fitness trackers disconnect, and VPNs close automatically. Configure unrestricted battery usage and lock apps in memory.
Confirmed working on: Android 11 · Android 12 · Android 13 · Android 14
Problem overview
Apps running in the background are constantly force-closed by the operating system. Background music stops playing, fitness trackers lose connection, and you frequently have to reload apps from scratch.
Common causes
- Manufacturer-specific aggressive battery management (MIUI, One UI, ColorOS)
- RAM limits being reached
- Apps lacking the proper ‘foreground service’ permissions
Solution 1: Use ‘Unrestricted’ battery profiles
- Open Settings > Apps > See all apps.
- Find the app being killed prematurely.
- Tap Battery.
- Change the profile to Unrestricted.
Solution 2: Lock the app in memory (OEM specific)
- Open the app you want to keep alive.
- Swipe up and hold to enter the Recent Apps overview screen.
- Tap the app icon at the top of the card.
- Select Keep open or Lock this app. A lock icon will appear, preventing the OS from sweeping it away during memory cleanups.
Visit dontkillmyapp.com to find specific, step-by-step instructions for disabling aggressive app killers on heavily customized devices like Samsung, Huawei, and Xiaomi.
Solution 3: Check RAM expansion settings
- Go to Settings and search for RAM Plus or Memory Extension.
- If enabled, the system might be aggressively shuffling apps between fast RAM and slow flash storage.
- Try toggling this feature off, as it can sometimes introduce stuttering and app reloads on devices with plenty of physical RAM.
Solution: Roll back app or system updates
System glitches or app crashes following an update can be fixed by uninstalling app updates or rolling back system software.
- Open Settings on your Android device and tap Apps (or App Management).
- Select the malfunctioning app (e.g., Google Play Services, Camera, or System WebView).
- Tap the three dots menu in the top-right corner and select Uninstall updates.
- Confirm by tapping OK to restore the app to its factory version.
- If the issue is system-wide after an OTA update, clear the System Cache Partition via Recovery Mode (power off device, then hold
Power + Volume Upto enter Recovery).
Disable automatic updates for that specific app in the Google Play Store by opening the app page, tapping the three dots, and unchecking Enable auto update.
Did this fix work for you?
Weighted Consensus Protocol
Did this solution resolve your issue?
Confirming if this works strengthens verification statistics on the registry.
FixingTeam10,000 rep
Official Project Maintainers
The core engineering and moderation team behind FixingBook. We curate, verify, and maintain the standards of the troubleshooting ledger.
Discussion (0)
No comments yet. Share your experience or verify if this fixed your issue!
