How to add an app to the exceptions on Xiaomi: full instructions MIUI hyperos

Xiaomi smartphones based on MIUI or HyperOS actively optimizes applications in the background to extend battery life, but sometimes this optimization gets in the way: apps don't get notifications, stop syncing, or close when the screen is locked. The solution is to add the desired application to the exclusion lists so that the system does not limit its operation.

In this article, you will find current ways to configure exceptions for different versions of firmware (MIUI 14, HyperOS), including battery optimization, autostart and permissions for background activity, we will also discuss why some applications (such as messengers or fitness trackers) require special attention, and what to do if settings are reset after a system update.

Why add apps to the exceptions on Xiaomi

By default. MIUI And HyperOS aggressively manipulates the background to reduce battery consumption, and that leads to the following problems:

  • πŸ“΅ No notifications from messengers (Telegram, WhatsApp) or email clients.
  • πŸ”„ No updates are made in weather, news or stock quotes.
  • 🚫 Applications close when the screen is locked (for example, music players or navigators).
  • πŸ“Š Not synchronized data fitness trackers (Mi Fit, Google Fit).

Adding exceptions solves these problems, but it's important to understand that too many applications in exceptions can reduce battery life by 15 to 30 percent.

πŸ“Š What apps do you most often add to exceptions?
Messengers (WhatsApp, Telegram)
Social networks (Instagram, TikTok)
Fitness trackers (Mi Fit, Strava)
Navigators (Google Maps, Yandex.Maps)
Others

Types of exceptions on Xiaomi: what and where to set up

Xiaomi smartphones have four key exception lists, each of which is responsible for different aspects of how apps work:

  1. Battery Optimization – Disables energy saving restrictions for selected applications.
  2. Auto-Run – allows the application to start automatically after the device is restarted.
  3. Background activity – allows you to work in the background (for example, for notifications).
  4. Blocking in memory – prevents the application from being forced to close by the system.

Not all apps require you to configure all four settings, for example, Telegram just needs to turn off battery optimization and allow background activity, and Google Maps may also need to lock in memory.

Type of exceptionWhat applications are needed forImpact on the battery
Optimizing the batteryMessengers, email clients, fitness trackersAverage (increase in expenditure by 5-10%)
Auto-startApplications with widgets, synchronization servicesMinimum (1-3%)
Background activityAll applications requiring notificationHigh (10-20%)
Locking in memoryNavigators, music players, gamesHigh (15–25%)

πŸ’‘

If after setting the exceptions, the application still closes, check whether the Ultra-Battery Saving mode is included in the Settings. β†’ He ignores all the exceptions!

Step-by-step: how to add an application to exceptions

Let us consider the universal method for MIUI 14 and HyperOS (relevant to Redmi Note 12, Xiaomi 13 models, POCO X5 The interface may vary slightly depending on the firmware version.

1. Disabling battery optimization

This is the most important step for most applications.

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select the application you want (such as Telegram).
  3. Slip on Battery Optimization.
  4. Choose Unlimited (or Not Optimized in HyperOS)

Appendix selected from the list|Open menu "Battery optimization"|The β€œNo restrictions” regime is in place"|Changes retained-->

Authorization of auto-start

If the application needs to start automatically (for example, after the device is restarted):

  1. Go to Settings β†’ Applications β†’ Application Management β†’ Autorun.
  2. Find the app in the list and turn on the switch.

On some models (Redmi 10 and older), the path may look like this: β†’ Battery and productivity β†’ Autostart control.

3. Background activity resolution

For applications that must work in the background (messengers, trackers):

  1. Open the Settings. β†’ Annexes β†’ Permits β†’ Background activity.
  2. Select the application and enable permission.
What to do if there is no "Background Activity" item?
On some versions MIUI This item is hidden. Alternative path: Open Settings. β†’ About the phone, tap 5 times on the version. MIUI, To turn on the developer mode. Go back to Settings. β†’ Additionally. β†’ For developers, find the Background Process Limitation and install it without limits.

4. memory lock (for critical applications)

This feature prevents the application from being forced to close by the system, suitable for navigators or music players:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select an app (such as Google Maps).
  3. Slip it on the side. β†’ Locking in memory.
  4. Turn on the option.

πŸ’‘

Locking your memory has a huge impact on battery consumption, and use it only for applications that really can’t be closed (like a navigator while traveling).

Features of setting up for HyperOS (2026)

In the new firmware HyperOS (installed on Xiaomi 14, Redmi Note 13 and other models in 2026), the interface has changed.

  • πŸ”§ Battery Optimization Menu Moved to Settings β†’ Battery β†’ Optimizing the battery.
  • πŸ”„ The Auto Start point is now called Auto Start and is in Settings β†’ Annexes β†’ Permit management.
  • πŸ“± HyperOS has a new section Performance, where you can configure priority for games and resource-intensive applications.

HyperOS also adds Adaptive Optimization, which automatically adjusts background activity, to turn it off for a specific application:

  1. Go to Settings. β†’ Battery β†’ Adaptive optimization.
  2. Select the app and turn off optimization.

πŸ’‘

On HyperOS, after the system update, all exceptions are reset. To avoid this, back up your settings in Settings. β†’ Google β†’ Backup.

Frequent problems and their solutions

Even after setting up exceptions, applications may not work properly, so let's look at typical situations and how to fix them.

1.Settings are reset after the update

This is a common problem on Xiaomi. MIUI or HyperOS system resets all exceptions:

  • πŸ”„ Restore settings from backup (if it was created).
  • πŸ“± Use third-party utilities like AutoStart (available on Google Play) to manage autoruns centrally.
  • πŸ”§ Turn off automatic optimization in Settings β†’ Battery β†’ Battery settings β†’ Optimization.

2.The app is still closing down.

If the app closes despite all settings, check:

  • ⚑ Battery Savings or Ultra-Economies (they ignore exceptions).
  • πŸ”’ Does the application have permission for Background activity (see section above).
  • πŸ“΅ Does the application not block? MIUI Optimization (can be turned off via ADB, But it's risky).
How to turn off MIUI Optimization via ADB
Attention, this method can disrupt the stability of the system. Use it at your own risk. --user 0 com.miui.analytics adb shell pm uninstall --user 0 com.xiaomi.midrop After executing commands, restart the device.

3.No notifications are coming.

If notifications are not shown, even after setting exceptions:

  1. Check if notifications for the application are included in Settings β†’ Notifications β†’ Management of notifications.
  2. Make sure that notifications are not disabled in the app itself (such as Telegram or WhatsApp).
  3. Turn off the mode Do not disturb in the curtain notifications.

πŸ’‘

In some models (POCO F5, Redmi K60) Notifications block the built-in Spam Blocker. Check its settings in Settings β†’ Annexes β†’ Spam blocker.

Some applications require a special approach to setting exceptions, and let's look at the most common cases.

Messengers (Telegram, WhatsApp, Viber)

For stable operation of messengers it is necessary:

  • πŸ“± Disable battery optimization.
  • πŸ”„ Allow auto-start.
  • πŸ”” Background activity activated.
  • πŸ“Ά Permit AutoRun in Mobile Data (C Settings) β†’ SIM-maps and mobile networks β†’ Transfer of data β†’ Auto-Running in Mobile Data).

For Telegram, it is also recommended to enable Without limitation in the notification settings of the app itself.

Navigators are sensitive to system closure, except for the standard exceptions:

  • πŸ“ Enable Locking in Memory.
  • πŸ”‹ Turn off location optimization in Settings β†’ Location β†’ Battery mode (select High Accuracy).
  • πŸš— In the settings of the navigator, turn on the background navigation (if there is such an option).

Fitness trackers (Mi Fit, Google Fit, Strava)

For the correct synchronization of data:

  • πŸƒ Turn off battery optimization.
  • πŸ”„ Allow auto-start.
  • πŸ“Š Enable Background Update in the App Settings.
  • πŸ”— Make sure the app has access to the body and sensors (in Settings) β†’ Annexes β†’ Permits).

Mi Fit may also require permission to Persistent Activity in the background (located in the application settings).

How to check if the exception works

To make sure that the settings are applied correctly, follow the following steps:

  1. Check the status of optimization: Open Settings β†’ Battery β†’ Battery optimization. Make sure it's near the app without restrictions.
  2. Background test: Close the application (swipe up in the multitasking menu). Lock the screen for 5-10 minutes. Unlock and check if the application has closed (for example, whether music is still playing or the location in the navigator is updated).
  3. Notification check: Send a test message to another account (e.g. Telegram) and make sure the notification arrives without delay.

If the test fails, repeat setting the exceptions or check if the application conflicts with other services (for example, with the application). MIUI Optimization or Antivirus).

πŸ’‘

For a deep diagnosis, use the AccuBattery app (available on Google Play), which shows what processes the system shuts down and helps identify the cause of problems.

FAQ: Frequent questions

Can I add system applications to the exceptions?
Yes, but that doesn't always make sense. System applications (like Settings or Phone) are usually already optimized for the background, adding them to an exception can lead to increased battery consumption without noticeable benefit, except for apps like Google Play Services, which sometimes require manual adjustments to properly sync your account.
Why do all the exceptions disappear after resetting?
When reset to factory settings (Settings) β†’ The phone. β†’ Resetting) all user settings, including exceptions, are deleted. /data, To avoid resetting, backup through Settings. β†’ Google β†’ Backup or use third-party utilities like Swift Backup (requires root).
How to add an application to the exceptions if it is not in the list?
If the app doesn't show up in Battery Optimization or Auto Run menu, try this: Make sure the app is installed and running at least once. Check if it's hidden in settings (sometimes system apps are hidden by default). Restart the device - sometimes the list of apps is updated only after the reboot. If the application is system (such as the Camera), its settings can be blocked for change.
Does adding exceptions affect productivity?
Yes, but not critically. Each application, except for the exceptions, takes up a portion of RAM and can use the processor in the background.+ GB of RAM doesn't usually lead to noticeable lags, and it's much more powerful for performance to be affected by the number of background processes running simultaneously.+ The optimal number of applications is 5-10 critical applications.
Can exceptions be set up through ADB?
Yes, there are teams for experienced users. ADB, So, for example, to disable battery optimization for all applications: adb shell dumpsys deviceidle whitelist. +<package> However, this method requires an unlocked bootloader and can lead to unstable system operation.