Why applications need exceptions in MIUI and what it does
Xiaomiโs MIUI operating system is known for aggressive resource optimization, automatically shutting down background processes, limiting autoloads, and blocking notifications to save battery life. For most users, this is a plus, but some applications โ messengers, health trackers, or work tools โ require constant activity. Without adding to the exception lists, they can:
โ Stop updating data in the background (for example, WhatsApp does not show new messages).
โ Lose connection to servers (problems with Google Play Services or banking applications).
โ Close spontaneously a few minutes after clotting.
In this article, we will discuss all the ways to add applications to exceptions on Xiaomi, including hidden settings MIUI 14/13/12. Instructions are relevant for models Redmi Note 12/11/10, POCO X5/F4, Xiaomi 13/12/11 and other devices based on Android 13/12/11.
Types of exceptions in MIUI: what and why to disable
MIUI has 4 key exception lists, each of which is responsible for different aspects of how applications work, and they are often confused, but their functions are different:
- ๐ Autoboot โ allows the app to start automatically when the phone is turned on or after restarting. Critical for Telegram, Viber and system services.
- ๐ Battery optimization โ disables energy saving restrictions; without this, Google Maps or Strava will โfall asleepโ in the background in 5 minutes.
- ๐ฑ Blocking in multitasking โ prevents the application from being cleared from memory when you press the โClose Allโ button.
- ๐ Notifications - allows you to show push notifications even when optimised.
For example, if you add WhatsApp to boot only, but do not turn off battery optimization, the messenger will start when you turn on the phone, but after 10 minutes in the background it will again close the system.
What happens if you donโt add the app to the exceptions?
Method 1: Add to autoboot (auto-start permission)
Autoboot is the first step for any application that needs to run in the background, and without that permission, the system will block it from running after restarting or clearing the memory.
Instructions for MIUI 14/13/12:
- Open Settings โ Applications โ Application Management.
- Select the application you want (such as Telegram).
- Slip on the "Autostart" item (or "Automatic Start" in older versions).
- Turn on the "Allow" switch.
On some models (POCO F3, Redmi Note 10 Pro) the path may be different:
Settings โ Applications โ Permissions โ AutorunFind the application in "Application Management"
Activate the Autostart switch
Restart the phone to check
Open the app and roll it up for 5 minutes
-->
โ ๏ธ Attention: MIUI 14 for Android 13 auto-run list may be hidden.If item is not in the menu, try an alternative path: Settings โ Battery and productivity โ Battery management โ Choice of applications โ [attachment] โ Auto-start.
Method 2: Disable battery optimization (without background restrictions)
Even with auto-run enabled, MIUI will shut apps in 5-15 minutes in the background, unless battery optimization is turned off, a most important item for instant messengers, navigators and fitness trackers.
How to turn it off:
- Go to Settings โ Battery and Performance โ Battery Management.
- Select "App Select" (or "Battery Optimization" in MIUI 12).
- Find the desired application in the list and tap it.
- Select the option "No restrictions" (or "No restrictions").
For Android 13 on Xiaomi 13/13 Pro, the path could be different:
Settings โ Applications โ Application Management โ [Application] โ Battery โ Without Limitations| Xiaomi model | The Way to Optimization Settings | Notes |
|---|---|---|
| Redmi Note 12/11 | Settings โ Battery โ Battery management | MIUI 14 may be called Battery Optimization. |
| POCO X5/F4 | Settings โ Applications โ Permissions โ Special Permits โ Battery Optimization | Some firmware points are hidden |
| Xiaomi 13/12 | Settings โ Battery and Performance โ Battery Management โ Applications Selection | Android 13+ is required |
| Redmi 10/9 | Settings โ Battery โ Battery Optimization | In older versions, MIUI 12 may not be available. |
๐ก
If you donโt have the app on the list, try opening it first and giving all the permissions (geolocation, notifications, etc.) and then it will appear in the battery optimization menu.
Method 3: Prohibiting purification from multitasking (fixing in memory)
By default, MIUI clears all applications from memory when you click on the "Close All" button or when you don't have enough resources, and to avoid that, you need to lock the application into multitasking.
Instructions:
- Open the app you want to log (like YouTube Music).
- Turn it down, but donโt close it โ leave it in multitasking.
- Slip the app icon in the multitasking bar and select โSecureโ (pin icon).
MIUI 14 for the POCO F5 or Redmi Note 12 Pro+ may require:
Settings โ Special features โ Fixing applicationsImportant: Fixed applications don't close even when you manually clear memory through the "Close All" button, which is the only way to guarantee that they're kept in the background.
๐ก
Multitasking is the most reliable way to prevent an application from closing, but use it only for critical programs (navigators, players), as this increases the load on RAM.
Method 4: Allow notifications (push messages without delay)
Even if the app is added to the startup and the battery optimization is disabled, MIUI can block push notifications, including Telegram, VK, Gmail and other services that depend on instant notifications.
How to set up:
- Go to Settings โ Notifications and Status bar โ Notification management.
- Find the desired application in the list and turn on the "Allow notifications" switch.
- Tap the app and activate all notification categories (e.g., โMessagesโ, โGroupsโ for Telegram).
- Enable the option of "Priority Notifications" (if any).
For MIUI 14 on Xiaomi 13 Ultra or POCO F5 Pro, an additional step may be required:
Settings โ Applications โ Application Management โ [Application] โ Notifications โ Show notificationsโ ๏ธ Note: Some apps (such as Facebook or Instagram) have separate notification settings within the app itself. Even if you have allowed them on the system, check the settings in the app itself: Profile โ Settings โ Notifications.
Additional settings for advanced users
If standard methods donโt help (e.g. Google Play Services still shuts down), try the hidden MIUI settings:
- ๐ Developer Mode: Include it in Settings โ The phone. โ Version. MIUI (Tap 7 times. Then go to Settings. โ Additionally. โ For developers, disable "Background Process Limitation" and "Optimization" MIUI".
- ๐ง ADB-commands: to completely disable optimization, perform through ADB: adb shell dumpsys deviceidle whitelist +com.example.app (replace com.example.app with an app package, such as com.whatsapp).
- ๐ฆ Resetting battery settings: If nothing works, reset optimization settings in Settings โ Battery โ โฎ โ Reset the settings.
For Android 13 models (Xiaomi 13T, Redmi Note 12 Pro+), you may need to turn off Adaptive Optimization in your battery settings, which automatically limits background processes based on your habits.
How to find out the application package for ADB?
Frequent problems and solutions
Even after adding to the exception, some applications may not work properly.
| Problem. | Possible cause | Decision |
|---|---|---|
| The app closes after 5 minutes in the background | Battery optimization is not completely switched off | Check the settings in Battery Management โ Without restrictions |
| Notifications from Telegram/WhatsApp | Blocking notifications or background activity | Allow notifications and add to autoboot |
| Google Play Services is permanently shutting down | System optimization to save battery | Turn off optimization via ADB or developer mode |
| The app does not appear in the battery optimization list | App has not requested permission for background work | Open the app and give all permissions manually |
If the problem persists, try:
- Reinstall the app.
- Clear the cache in Settings โ Apps โ [app] โ Clear the cache.
- Update MIUI to the latest version (in some firmware, optimization bugs have been fixed).