How to Add Apps to Exclusions on Xiaomi: A Complete Guide with Pictures and Tips

Xiaomi smartphones based on MIUI or HyperOS actively optimize applications in the background to save battery power and improve performance. However, sometimes this optimization interferes: applications do not send notifications, close when the screen is locked or do not update data in real time, the solution is to add them to the system exceptions.

In this article, you will find current ways to configure exceptions for MIUI 14/15 and HyperOS, including auto-run, memory cleanup protection, and battery limitations. We will analyze step-by-step instructions for different firmware versions, and explain what settings affect messengers, navigators, and other background services.

Why add apps to the exceptions on Xiaomi?

Xiaomiโ€™s operating system by default limits the background activity of applications to extend battery life, leading to the following problems:

  • ๐Ÿ“ฑ Applications close when the screen is curled up or locked (for example, music players or navigators).
  • ๐Ÿ”” Notifications from messengers (WhatsApp, Telegram, Viber) or email clients do not come.
  • ๐Ÿ”„ Real-time data (weather, exchange rates, delivery trackers) are not updated).
  • โšก Background processes are reset after memory optimization (e.g., Google Maps restarts when switching to another application).

Adding exceptions solves these problems, but it has the downside: it increases battery consumption, so it's important to set exceptions only for critical applications.

๐Ÿ“Š What apps do you most often add to exceptions?
Messengers (WhatsApp, Telegram)
Navigators (Google Maps, Yandex.Maps)
Music Services (Spotify, VK Music)
Social networks (Instagram, TikTok)
Others

Method 1: Auto-Run applications (background activity resolution)

Autorun setting allows the application to start automatically after the device has restarted and run in the background. This is the most basic exception level that you need to enable first.

Instructions for MIUI 14/15 and HyperOS:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the desired application from the list (for example, Telegram).
  3. Slap on Autostart.
  4. Turn on the Autostart Allow switch.
  5. Go back and check if Background Activity permissions and Show notifications are enabled.

On some firmware, the path may be different. For example, in HyperOS for the global version, the AutoRun option is sometimes hidden in Settings โ†’ Applications โ†’ Special Permissions โ†’ AutoRun.

Auto-start enabled for application |Background activity allowed |Notifications not blocked by system |Application not optimized by battery-->

โš ๏ธ Note: On HyperOS devices for the Chinese market (CN-Auto-run menus may be hidden, in which case use Developer Mode (see Method 5).

Method 2: Exclusion from battery optimization

Xiaomiโ€™s system automatically limits the background activity of apps to save charge, to disable these restrictions:

  1. Go to Settings โ†’ Battery and Performance โ†’ Battery Consumption Management.
  2. Select No Limits mode for critical applications (such as navigators or instant messengers).
  3. Or tap on the Battery Consumption Settings with apps and manually set the No Limits mode for the desired application.

On HyperOS, the path might look like this: Settings โ†’ Battery โ†’ Energy Saving โ†’ Energy Management of Applications.

Optimization modeImpact on workRecommendations
No restrictions.Maximum background activity, notifications arrive instantlyOnly for messengers, navigators, health trackers
Intellectual managementRestrictions are applied selectively, notification delays are possible.For most applications (social networks, games)
Strict restrictionsBackground activity is blocked, notifications may not arriveFor rarely used applications

๐Ÿ’ก

If notifications still donโ€™t come after setting up the exceptions, check the permissions for the application in Settings โ†’ Notifications. Sometimes the system blocks them separately from the background activity.

Method 3: Protection against memory cleansing (fixation in multitasking)

Xiaomi aggressively clears background processes to free up RAM, to prevent the closure of important applications:

  1. Open Settings โ†’ Applications โ†’ Special permissions โ†’ Fixing applications.
  2. Turn on the switch for the desired applications (for example, Google Maps or music player).
  3. Alternatively: swipe up to open multitasking, find the app and swipe down on its card โ€“ a lock icon will appear (๐Ÿ”’).

On HyperOS, fixation works differently: after swiping down the application card, a menu appears with the option to Attach.

โš ๏ธ Attention: Fixed applications continue to consume RAM even after curtailment. If you attach too many processes, the device may start to slow down.

Method 4: Resolution for background work (for Android 12+)

Starting with Android 12, Google tightened its control over background activity, and Xiaomi has implemented this through additional permissions:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the application you want (for example, Viber).
  3. Slip it on the Permit. โ†’ Additionally.
  4. Turn on the options: ๐Ÿ”„ Allow background activity ๐Ÿ“ก Allow automatic start-up ๐Ÿ”‹ Ignore battery optimization

If these are not available, the app does not request extended permissions, in which case use Developer Mode (Method 5).

What to do if there is no item "Ignore battery optimization"?
On some firmware, Xiaomi hides this item to save energy. To unlock it: 1. Activate Developer Mode (7 taps by build number in Settings โ†’ About phone). 2. Return to Settings โ†’ Additional โ†’ For Developers. 3. Find the option to Turn off background restrictions and turn it on. 4. After that, Ignore Battery Optimization will appear in the application settings.

Method 5: Developer Mode for Extended Exceptions

If standard methods don't work, use hidden settings for developers to disable all restrictions on selected applications.

How to turn on:

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version (or HyperOS build number) and you will be notified of becoming a developer.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Find the options: ๐Ÿ› ๏ธ Do not limit background processes (include for the right applications). โšก Turn off optimization MIUI (completely disables background optimization, but increases battery consumption). ๐Ÿ”„ Background Process Limit (set a Standard Limit or No Limits).

On HyperOS, some items may be called differently, such as Background Checking or Application Limitations.

๐Ÿ’ก

Developer mode gives you maximum control over background processes, but incorrect settings can lead to overheating or rapid battery discharge. Use it only for critical applications.

Frequent problems and solutions

Even after setting up exceptions, applications may not work correctly.

  • โŒ Notifications do not arrive: Check if notifications are blocked in Settings โ†’ Notifications. Make sure that push notifications are enabled in the application (e.g. in Telegram: Settings) โ†’ Notifications โ†’ Turn on push).
  • โŒ The app closes when you lock the screen: Add it to App Fixing (Method 3). Turn off adaptive brightness in the battery settings - sometimes it resets processes.
  • โŒ Geolocation in the background does not work: Enable the App's permission Exact location in Settings โ†’ Confidentiality โ†’ Permits โ†’ Location. In the battery settings, select No Limits mode.

If the problem persists, try clearing the app's cache or reinstalling it.Relatively, resetting the network settings (Settings) helps. โ†’ SIM-maps and networks โ†’ Resetting network settings).

๐Ÿ”น Why After Updating MIUI all exceptions have been dropped?
When major system updates (e.g., MIUI 14 to HyperOS) reset some optimization settings. After the update: Check Autorun for all critical applications. Update permissions in Settings โ†’ Applications โ†’ Permissions Management. Reboot the device. If exceptions keep resetting, use the developer mode to fix the settings.
๐Ÿ”น How to add system applications (e.g., โ€œHealthโ€) to exceptions?
Xiaomi system applications are often hidden from manual configuration. To configure them: Activate Developer Mode (Method 5). โ†’ Appendices tap on three points (โ‹ฎ) And you can select Show Systems. You can find the right application (like Mi Fit or Health) and set the exceptions as you would for a regular application. On HyperOS, system applications can be called differently, like com.mi.health.
๐Ÿ”น Can I add all the exceptions immediately?
Technically, but it's not recommended. Mass optimisation shutdowns will result in: Fast battery drain (20-30% faster); overheating of the device under high load; slowing down due to overload of RAM; Optimally adding no more than 5-7 applications to exceptions; For the rest, use standard optimization settings.
๐Ÿ”น How to check if the application works in the background?
To make sure the app doesnโ€™t close by the system: Open the app (like Google Maps). Crash it (donโ€™t close!). Open Settings โ†’ Apps โ†’ App Management and find it in the list. Check status: If written Works or In the background, optimization is disabled correctly. You can also use third-party utilities like Greenify (in analysis mode) or AccuBattery to monitor background activity.
๐Ÿ”น Why Xiaomi does not have a HyperOS auto-start item"?
HyperOS has moved the autorun menu for the global version. To find it: Go to Settings โ†’ Annexes โ†’ Special permissions. Tap AutoRun (could be called AutoRun). If you don't, check the firmware version: some HyperOS betas have this feature temporarily disabled. Alternatively, use the software. ADB-commands for manual auto-start configuration (PC required).