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:
- Open Settings โ Applications โ Application Management.
- Select the application you want (such as Telegram).
- Slip on Autoboot and switch on the switch.
- 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:
- Go to Settings โ Battery and Performance โ Battery Consumption Management by Apps.
- Select the app from the list (if not, click Other Apps).
- Set up a No Limits mode.
- Confirm your choice by clicking Ready.
| Regime. | Description | Suitable for |
|---|---|---|
| No restrictions. | The application works in the background without restrictions, notifications come instantly | Messengers, Navigators, Music Players |
| Intellectual control | MIUI decides when to suspend the application | Social networks, email clients |
| Limit background activity | The app almost always closes in the background | Games 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:
- Open Settings โ Applications โ Application Management.
- Select your target app (like Google Maps).
- Use the battery optimization (or energy saving).
- Choose Unlimited or Not Optimized.
- 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:
- Turn on Developer Mode on Smartphone: Settings โ About Phone โ MIUI Version (Tap 7 times)
- Activate USB Debugging in Settings โ Additional โ For developers.
- 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).
- 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?
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 minutes | Actively aggressive battery optimization | Check the settings in Battery โ Performance Mode (select High Performance) |
| No โShoppingโ item in the settings | Outdated or modified firmware | Update MIUI to the latest version or use ADB |
| Notifications are coming with a delay | Background synchronization restrictions | Enable 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.