How to Add an Application to the Exclusions on Xiaomi: A Complete Guide to MIUI

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.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 12/11/10
POCO X5/F4
Xiaomi 13/12/11
Another model
I don't know.

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?
MIUI aggressively optimizes background processes. Without exceptions: - Messengers (Telegram, Viber) will not show notifications of new messages. - Navigators (Google Maps, Yandex.Maps) can "hang" after 5-10 minutes in the background. - Fitness trackers (Strava, Mi Fit) will stop recording activity when the screen is blocked. - Banking applications (Sberbank Online, Tinkoff) will require re-authorization.

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:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the application you want (such as Telegram).
  3. Slip on the "Autostart" item (or "Automatic Start" in older versions).
  4. Turn on the "Allow" switch.

On some models (POCO F3, Redmi Note 10 Pro) the path may be different:

Settings โ†’ Applications โ†’ Permissions โ†’ Autorun

Find 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:

  1. Go to Settings โ†’ Battery and Performance โ†’ Battery Management.
  2. Select "App Select" (or "Battery Optimization" in MIUI 12).
  3. Find the desired application in the list and tap it.
  4. 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 modelThe Way to Optimization SettingsNotes
Redmi Note 12/11Settings โ†’ Battery โ†’ Battery managementMIUI 14 may be called Battery Optimization.
POCO X5/F4Settings โ†’ Applications โ†’ Permissions โ†’ Special Permits โ†’ Battery OptimizationSome firmware points are hidden
Xiaomi 13/12Settings โ†’ Battery and Performance โ†’ Battery Management โ†’ Applications SelectionAndroid 13+ is required
Redmi 10/9Settings โ†’ Battery โ†’ Battery OptimizationIn 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:

  1. Open the app you want to log (like YouTube Music).
  2. Turn it down, but donโ€™t close it โ€“ leave it in multitasking.
  3. 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 applications

Important: 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:

  1. Go to Settings โ†’ Notifications and Status bar โ†’ Notification management.
  2. Find the desired application in the list and turn on the "Allow notifications" switch.
  3. Tap the app and activate all notification categories (e.g., โ€œMessagesโ€, โ€œGroupsโ€ for Telegram).
  4. 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?
1. Install App Inspector from Google Play. 2. Open the app and find it in the list. 3. Copy the value of the "Package Name" field (e.g. com.telegram for Telegram). 4. Use this value in the ADB-team.

Frequent problems and solutions

Even after adding to the exception, some applications may not work properly.

Problem.Possible causeDecision
The app closes after 5 minutes in the backgroundBattery optimization is not completely switched offCheck the settings in Battery Management โ†’ Without restrictions
Notifications from Telegram/WhatsAppBlocking notifications or background activityAllow notifications and add to autoboot
Google Play Services is permanently shutting downSystem optimization to save batteryTurn off optimization via ADB or developer mode
The app does not appear in the battery optimization listApp has not requested permission for background workOpen the app and give all permissions manually

If the problem persists, try:

  1. Reinstall the app.
  2. Clear the cache in Settings โ†’ Apps โ†’ [app] โ†’ Clear the cache.
  3. Update MIUI to the latest version (in some firmware, optimization bugs have been fixed).
Do I need to add system applications (e.g. Google Play Services) to the exceptions?
Yes, but be careful. Google Play Services is responsible for many features, and optimizing it can lead to errors in other applications (e.g. geolocation or authorization doesn't work). Add it to autoboot and disable battery optimization, but don't lock in to multitasking - it will increase battery consumption.
Why did all the exception settings reset after the MIUI update?
For major updates (e.g., from MIUI 13 to MIUI 14), the system resets some permissions. After the update, check: Autoboot (Settings โ†’ Applications โ†’ Application Management), Battery Optimization (Settings โ†’ Battery โ†’ Battery Management). Notification permissions.
How to add an application to the exceptions that is not in the list of "Battery Management"?
If the app doesn't appear in the optimization menu, follow these steps: Open the app and give all the permissions you're asking for (geolocation, notifications, etc.) Reboot your phone. Check the list again. If the app doesn't, try searching for it through the settings. System applications (such as Mi Fit) may need to reset your battery settings.
Is it safe to turn off battery optimization for all applications?
No. Turning off optimization for all applications will result in: 15-30% battery consumption increase; a phone slowdown due to background overload; overheating of the device; and adding only critical applications (messengers, navigators, fitness trackers) to the exceptions.
Can I add an app to the root-free exceptions?
Yes, all of the methods described in this article work without root rights. However, some system applications (such as Google Play Services) may need ADB (but not root). If you are not familiar with ADB, use standard MIUI settings.