How to put the application in the background on Xiaomi: all ways for MIUI

Xiaomi’s MIUI-based smartphones are known for aggressively optimizing background processes β€” the system automatically shuts down apps to save battery power. This causes instant messengers to stop coming notifications, music players to break down, and navigators to lose connection. In this article, we’ll discuss 5 working ways to properly fold an application into the background on Xiaomi so that it continues to work without failure.

The problem is particularly relevant for owners of devices with MIUI 12-15, where energy saving algorithms have become even stricter. We tested all methods on the Redmi Note 12 Pro+, POCO F5 and Xiaomi 13 Ultra models - the instructions work independently of the firmware version. It is important to understand that some settings are hidden in the depth of the menu, and individual functions (for example, No battery restrictions) may not be on budget models.

Why is Xiaomi closing apps in the background?

The MIUI shell uses three key mechanisms that prevent applications from running in the background:

  • πŸ”‹ Battery optimization: Automatically restricts background activity of β€œunnecessary” apps to extend battery life, even for popular services like Telegram or Google Maps.
  • 🚫 Auto-start lock – by default, many applications are not allowed to run themselves after restarting or closing.
  • ⚑ Aggressive Memory Manager – Xiaomi Forcedly Clears RAM, Killing Background Processes Unless Labeled as β€˜Important".

For example, if you roll up Yandex Navigator and lock the screen, after 5-10 minutes, the application may close and the route will be interrupted, the same happens with Spotify (music stops) or WhatsApp (no notifications come), the manufacturer motivates this by caring about the battery, but for users this often becomes a problem.

⚠️ Attention: On devices with MIUI Global (European firmware) some menu items may be called differently or not. If you don't find an option, check the firmware region in Settings β†’ The phone. β†’ Version. MIUI.

πŸ“Š What version? MIUI you use?
MIUI 12
MIUI 13
MIUI 14
MIUI 15
I don't know.

Method 1: Allow the auto-start of the application

The first step is to give the application the right to run on its own, without which, even after it has been curtailed, it may not be able to restart.

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select the application you want (for example, Viber or 2GIS).
  3. Slip on Autostart and switch on the switch.
  4. Go back and press Permissions β†’ Auto Run (on some firmware this item is duplicated).

If you don't have AutoRun, then the application already has that default resolution (as it does with system services), in which case move on to the next method.

Autorun configured | Notifications allowed | Battery optimization disabled |Added to memory cleanup exceptions-->

Method 2: Disable battery optimization

The most effective method is to remove the application from the power saving mode, which will prevent the forced shutdown of the system.

  1. Go to Settings β†’ Battery and Performance β†’ Battery Consumption Management by Apps.
  2. Select an app from the list (or find it through search).
  3. Put it on without restrictions (on some firmware - No restrictions).
  4. Confirm your choice by clicking Ready.

On POCO and some Redmi models, the path may be different: Settings β†’ Battery β†’ Battery settings β†’ Select Power Saving Mode β†’ Select the app and install No Limits.

MIUI versionThe Way to Battery SettingsOption name
MIUI 12–13Battery β†’ Battery managementNo restrictions.
MIUI 14Battery and productivity β†’ Consumption managementNo restrictions.
MIUI 15 (Global)Battery β†’ Battery saver β†’ App battery saverNo restrictions

⚠️ Attention: After update MIUI Power saving settings can be reset, check them after every major update, especially for Xiaomi users. 12T redmi K50, Where battery optimization bugs are more common.

Method 3: Secure the application in multitasking

If you need to keep the app in the background temporarily (for example, to listen to music or navigate), use the fixation in the multitasking menu:

  1. Open the app and roll it up with the Home button (or gesture).
  2. Slip on the app icon in the multitasking panel (or hold your finger to the preview).
  3. Choose to lock (on some firmware - Block).

The attached application will not be closed when you clear the memory or swipe up. To unlock, hold its preview and select Unlock.

πŸ’‘

On POCO F4 and Xiaomi 13, the attached apps are displayed with the lock icon in multitasking. If the icon is not there, then the fixation did not work, repeat the steps.

Method 4: Use Developer Mode (for experienced)

For advanced users, there are hidden settings that allow you to completely disable the limitations of background processes.

  1. Activate Developer Mode: Settings β†’ About Phone β†’ MIUI Version β†’ tap 7 times on the build number.
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. Find options: Do not limit background processes β†’ turn on; Limit background processes β†’ select Without restrictions; Optimize MIUI β†’ turn off (at your own risk!).

Disabling MIUI optimization can cause the battery to run out and the device to overheat, and use this method only if other methods have not worked.

What happens if you turn off MIUI optimization?
The battery will run 15 to 30 percent faster because the background is not limited; the phone can warm up more when multitasking is intense; some system applications (such as Mi Security) may run unstable; and in rare cases, random reboots may occur when memory is scarce.

Method 5: Special settings for messengers and social networks

For apps like WhatsApp, VK or Telegram, there are additional tricks:

  • πŸ“± Enable push notifications: Settings β†’ Notifications β†’ Notification settings for the application β†’ Allow all types of notifications.
  • πŸ”„ Disable "Adaptive battery": Settings β†’ Battery β†’ Adaptive battery β†’ Deactivate for the desired application.
  • πŸ›‘οΈ Add to "Secure Apps": Some firmwares have a hidden list of secure apps (path: Settings) β†’ Annexes β†’ Special access β†’ Secure applications).

It’s also useful for Instagram and TikTok to disable Data Optimization in the app’s settings – this will prevent content loading breaks in the background.

πŸ’‘

For stable operation of messengers in the background, be sure to set up autostart, turn off battery optimization and allow push notifications. Without this notification, they will come with a delay or not come at all.

Frequent problems and solutions

Problem 1: The app closes immediately after locking the screen. Solution: Check the screen lock settings β†’ Sleep mode – if it always is, change to Never for testing.

Problem 2: Music stops at Spotify or YouTube Music Solution: In addition to the basic settings, in the app itself, enable Autoplay and turn off Traffic Savings.

Problem 3: The Navigator (Google Maps) loses the GPS signal. Solution: In the application settings, enable High Accuracy for Geolocation and add it to the Optimization Exceptions.

Can I turn off battery optimization for all applications at once?
No, in MIUI There's no such feature. You have to configure each application separately. ADB-commands to massively disable restrictions, but this requires unlocking the bootloader and can disrupt the stability of the system.
Why do applications start to close again after the MIUI update?
Updates often reset user power saving settings. After the update, check: Autostart Permits; Battery Consumption Mode; Notification settings. On Xiaomi 13 and later, there is a bug with an Adaptive Battery - it has to be turned off again.
How to check if the application works in the background?
Use Activity Monitor: Turn on Developer Mode (see Method 4). Run Settings β†’ Developer β†’ Activity Monitor. Crash the app you're testing and watch it. If the process disappears after a few minutes, battery optimization is still active.
Are there alternative launchers that don’t kill background apps?
Yes, for example, Nova Launcher or Hyperion Launcher allow flexible multitasking management, but they don't change the system limitations of MIUI, because you'll still have to adjust the battery and auto-start to make the full solution.
Will the smartphone warm up more if you turn off all restrictions?
Yes, especially on devices with a weak processor (for example, Redmi 9A or POCO M3). background processes load the CPU, which leads to: Temperature increase by 5-10 Β° C; Accelerated discharge (up to 20% per hour in idle); Possible lags in multitasking.