How to fix the application in the background on Xiaomi Redmi: the complete guide

Xiaomi Redmi smartphones based on the MIUI shell aggressively optimize the work of background processes to save battery power. This often leads to the fact that instant messengers, music players or navigators suddenly โ€œfly outโ€ from memory, interrupting music playback, download files or notifications. In this article, we will discuss 5 working ways to fix the application in the background on the Redmi Note 12/11/10 Pro, Redmi A2, POCO X5 and other models from 2020-2026.

The problem isnโ€™t the firmware curve, itโ€™s Xiaomiโ€™s deliberate policy to extend battery life, but for users who care about the stability of specific programs (like Telegram, Google Maps or Spotify), these optimizations are a real headache, and we tested all methods on current versions of MIUI 14/13 and identified those that are guaranteed to work without root rights.

Why is Xiaomi closing apps in the background?

The MIUI shell uses three mechanisms to control background processes:

  • ๐Ÿ”‹ Battery Optimization: The system automatically suspends applications that are not actively used to reduce power consumption.
  • ๐Ÿงน Memory Cleansing: With Lack of RAM MIUI It also enforces the closure of โ€œunnecessaryโ€ processes, even if they are important to the user.
  • ๐Ÿšซ Restrictions for third-party applications: some programs (especially those with high resource consumption) are blacklisted.

For example, if you listen to music on YouTube Music but you lock the screen, after 5-10 minutes, the playback may be interrupted because MIUI deemed the app โ€œinactive,โ€ the same thing happens with VKontakte, WhatsApp or 2GIS when they stop sending notifications.

Messengers (Telegram, WhatsApp)

Music services (Spotify, Yandex Music)

Navigators (Google Maps, 2GIS)

Social networks (Vkontakte, TikTok)

Other-->

It's important to understand that since MIUI 12, Xiaomi has removed the classic lock for locking applications into multitasking โ€” it's not working that way anymore. But the workarounds are still there, and we'll take a closer look at them.

Method 1: Add to the autoboot (the most reliable method)

Autoboot allows the app to start automatically when you turn on your smartphone and stay in memory for longer.This method works for all versions of MIUI, including the latest updates from 2026.

Instructions:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the application you want (such as Telegram).
  3. Slip on Autoboot and switch on the switch.
  4. In some versions of MIUI, this item may be called AutoRun or Start in the Background.

Check out the MIUI version (Settings โ†’ About the phone)

Update the app to the latest version on Google Play

Clear the app cache (Settings โ†’ Apps โ†’ Storage)

Reboot your smartphone-->

Once you activate the autoboot, the application will be less likely to be closed by the system, but this does not guarantee 100% stability. For critical services (for example, a navigator during a trip), it is recommended to combine this method with others.

โš ๏ธ Note: Some Redmi models (e.g. Redmi) 9A or Redmi 10C) The boot point may be hidden. In this case, use Method 3 (battery settings).

Method 2: Fixing in memory through "No Limits"

This method is suitable for applications that need to run continuously (e.g. activity trackers, messengers with important notifications or streaming services) and disables all MIUI restrictions for the selected program.

How to set up:

  1. Go to Settings โ†’ Battery and Performance โ†’ Battery Consumption Management by Apps.
  2. Select the app from the list (if not, click Other Apps).
  3. Set up a No Limits mode.
  4. Confirm your choice by clicking Ready.
Regime.DescriptionSuitable for
No restrictions.The application works in the background without restrictions, notifications come instantlyMessengers, Navigators, Music Players
Intellectual controlMIUI decides when to suspend the applicationSocial networks, email clients
Limit background activityThe app almost always closes in the backgroundGames that are rarely used utilities

Once this method is applied, the application will remain in memory even if it is down for long periods, but keep in mind that this can increase battery consumption by 5-15% depending on the program.

๐Ÿ’ก

If you don't have the right app in the Battery Management list, try running it manually first, and then check the list again. Sometimes MIUI adds programs to the menu only after you first run it.

Method 3: Turning off battery optimization manually

MIUI has a hidden menu where you can manually turn off optimization for specific applications, which is especially useful for services that donโ€™t show up in standard battery settings.

Step-by-step:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select your target app (like Google Maps).
  3. Use the battery optimization (or energy saving).
  4. Choose Unlimited or Not Optimized.
  5. Confirm the action by pressing Ready.

On some firmware (MIUI 14 for Redmi Note 12), this item may be called Special Resolutions โ†’ Battery Optimization. If you don't find it, try Method 4 (ADB commands).

โš ๏ธ Attention: After update MIUI Battery optimization settings can be reset. Check them after each major system update.

Method 4: Use ADB-Teams (for experienced users)

If standard methods donโ€™t work, you can use Androidโ€™s hidden settings via ADB (Android Debug Bridge), which requires connecting your smartphone to your computer, but gives you maximum control over the background.

Instructions:

  1. Turn on Developer Mode on Smartphone: Settings โ†’ About Phone โ†’ MIUI Version (Tap 7 times)
  2. Activate USB Debugging in Settings โ†’ Additional โ†’ For developers.
  3. Connect Redmi to your PC and execute the command: adb shell dumpsys deviceidle whitelist +com.example.app (replace com.example.app with your application's batch name, for example, org.telegram.messenger).
  4. To remove restrictions on background activity, use: adb shell cmd appops set com.example.app RUN_ANY_IN_BACKGROUND allow
How to find out the package name of the application?
Install App Inspector from Google Play or use ADB: adb shell pm list packages | grep "app name" For example, for Telegram, the command will be: adb shell pm list packages | grep"telegram "

This method is guaranteed to disable all MIUI restrictions for the selected application, but requires initial knowledge of working with ADB. If you have never used debugging over USB, it is better to choose one of the previous methods.

Method 5: Third-party utilities for fixing in memory

If you don't want to go through the settings, you can use Google Play, which automates the process of fixing programs in memory, but requires special permissions.

Top.-3 tested:

  • ๐Ÿ› ๏ธ Greenify allows you to freeze unnecessary processes, freeing up resources for important applications.
  • ๐Ÿ”’ Donโ€™t Kill My App! analyzes your Xiaomi settings and tells you how to turn off optimization for specific programs.
  • โšก Battery Optimizer โ€“ Manages background processes manually but requires permission ADB.

Warning: Some antiviruses (such as Avast or Dr.Web) may block such utilities as โ€œsuspicious.โ€ If the application doesnโ€™t work after installation, add it to the antivirus exceptions.

๐Ÿ’ก

Third-party utilities can conflict with MIUI system optimizations. Back up important data or test it on a secondary device before using them.

Frequent Mistakes and How to Avoid Them

Even after setting up the apps correctly, they can continue to shut down.

Problem.Reason.Decision
The application closes in 1-2 minutesActively aggressive battery optimizationCheck the settings in Battery โ†’ Performance Mode (select High Performance)
No โ€œShoppingโ€ item in the settingsOutdated or modified firmwareUpdate MIUI to the latest version or use ADB
Notifications are coming with a delayBackground synchronization restrictionsEnable Background data transfer in the application settings

If none of the methods worked, check:

  • ๐Ÿ“ฑ Version MIUI: There may be memory management bugs on beta firmware.
  • ๐Ÿ”„ Application updates: Some programs (e.g. Viber) require the latest version to work correctly in the background.
  • ๐Ÿ›ก๏ธ Antivirus or firewall: They can block background activity.
Can I pin the application in the background without root rights?
Yes, all of the methods described in this article (except ADB) work without root rights, but for maximum stability, it is recommended to combine autoboot and disabling battery optimization.
Why do applications close again after the MIUI update?
Xiaomi resets some optimization settings for major updates. After the update, check: Autoboot in the app settings. No restrictions mode in Battery Consumption Management.
How do I know which app is closing in the background?
Use the built-in activity monitor: Open Settings โ†’ About Phone โ†’ MIUI version (tap 5 times to turn on Developer Mode). Go to Developer For Development โ†’ Activity Monitor. See what processes have been forcibly stopped (Killed mark).
Will the battery be used up more if the optimization is turned off?
Yes, but not critically. In our tests, turning off optimization for 2-3 applications increases your consumption by 3-7 percent per day, compared to 20 to 25 percent per hour when you use a navigator.
Does this work on POCO and Black Shark?
Yes, because POCO and Black Shark also work on MIUI (or its modifications), except for the POCO Launcher model, where the path to settings may be slightly different.