Have you noticed that notifications from messengers come with a delay, the activity tracker stops recording steps, and music apps suddenly “fly out” from the background? The fault is the optimization of power in the MIUI firmware, which aggressively restricts the operation of background processes in order to save battery life. This feature is useful for extending autonomy, but often interferes with the correct operation of applications, especially if you are using Xiaomi, Redmi or POCO with MIUI version 12-14.
In this article, we’ll look at how to completely or selectively disable power optimization on Xiaomi devices, including hidden settings that the manufacturer does not advertise. You’ll learn which applications are most often affected by restrictions, how to check current battery settings and what to do if changes do not persist after rebooting. We’ll also touch on the nuances for specific models (for example, Xiaomi 13 Pro or Redmi Note 12) and explain why some applications can still “fall asleep” even after optimizing is turned off.
What is power optimization in MIUI and why it interferes with the
Power optimization is a set of algorithms in MIUI firmware that automatically pauses application background processes to reduce charge consumption. In theory, this should prolong the life of the smartphone, but in practice leads to:
- 📱 Notification delays (e.g., messages to Telegram or WhatsApp only come after an app is opened).
- 🎵 Stop music playback in the background (especially in Spotify, YouTube Music).
- 📊 Loss of fitness tracker data (apps like Google Fit or Mi Fitness stop counting steps).
- 🔄 The spontaneous closure of applications (e.g., Yandex.Navigator or 2GIS is reset after 5-10 minutes in the background).
Complicating the problem is that Xiaomi is actively masking these settings: in new versions of MIUI, menu items are moved or hidden behind several layers of the interface, and after updating the firmware, optimization settings can be reset to default values.
It is important to understand that nutrition optimization works on three levels:
- System layer – Global battery saving settings (e.g., Balanced or Super Savings mode).
- Application level – individual restrictions for each software (background activity, auto-run).
- The MIUI layer is a hidden algorithm that cannot be disabled through the standard menu (ADB- commands are required).
How to check if the application is optimized
Before you turn off optimization, make sure that it's the problem.
- Open Settings → Applications → Application Management.
- Select a problem app (such as Telegram).
- Go to Battery (or Charge Consumption in older versions of MIUI).
- Look at the item Optimization of power or background activity.
If it says Optimized or Restricted, it means the system artificially slows down the application. Also, note the AutoRun section - if it is disabled, the application will not be able to start automatically after the device restarts.
💡
In MIUI 14, the path to battery settings may be different. If you don't find the Battery section, try: Settings → Battery and Performance → Battery Management
| Sign of a problem | Probable cause | Decision |
|---|---|---|
| Notifications are coming with a delay | Background activity restricted | Disable optimization for the application |
| The app closes after 5-10 minutes in the background | Active “Aggressive Optimization” | Disable via ADB or Hidden Menu |
| Music stops when the screen is blocked | Restricted access to audio in the background | Add an app to battery exclusions |
| Fitness tracker doesn't count steps | Autostart and background activity disabled | Allow auto-start and disable optimization |
Step-by-step: how to turn off power optimization
There are three ways to disable optimization: through standard settings, the hidden developer menu, and the ADB- command, starting with the simplest.
Method 1: Through battery settings (for individual applications)
- Go to Settings → Battery and Performance → Battery Management (in MIUI 12, the path may be different: Settings → Battery → Application Selection).
- Click on App Selection (or Battery Optimization).
- In the list, find the desired application and select Without restrictions.
- Go back and check the AutoRun section – turn it on for that app.
Background activity permitted | Autostart enabled |Application added to battery exceptions |Notifications not blocked by system-->
Important: MIUI 13/14 may require additional confirmation in the Background Activity section after selecting No Limits, and some apps (like Facebook) may reset settings after the update, and they will have to be reconfigured.
Method 2: Through the Developer's Hidden Menu
If standard settings don’t help, try activating developer mode and disabling system-level optimization:
- Activate Developer Mode: Go to Settings → About Phone and click on MIUI Version 7 times.
- Back to Settings → Additionally. → For developers.
- Find the item Limit background processes and set without restrictions.
- Turn off MIUI Optimization (if there is one).
What to do if there is no MIUI optimization?
Method 3: Through ADB (to completely disable)
If the first two fail, you have to disable optimization through ADB. This is a radical method that completely removes all the limitations of MIUI, but requires a connection to a computer.
You'll need:
- 🖥️ A computer with installed Xiaomi drivers and ADB Tools.
- 📱 Included debugging by USB on a smartphone (Settings) → For developers → Debugging by USB).
- 🔌 USB-Type C Cable (preferably original).
Instructions:
- Connect your smartphone to your computer and confirm the debugging permission.
- Open the command prompt (cmd) in the folder with ADB.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Execute the command to disable optimization: adb shell dumpsys deviceidle disable
- Reboot your smartphone.
Once this command is executed, all background constraints will be disabled until the next setup reset or firmware update, but note that this can slightly increase battery consumption (by 5-10% depending on the model).
Features for different Xiaomi models
MIUI firmware behaves differently on devices of different lines, and this is what you need to know for owners of specific models:
| Model/line | Features of optimization | Recommendations |
|---|---|---|
| Xiaomi 12/13/14 | Aggressive optimization due to the flagship Snapdragon 8 Gen chipset. | Use ADB to completely shut down. |
| Redmi Note 10–12 | Frequent resets after updates. | Check the battery settings after each update. |
| POCO F3–F5 | Optimization is weaker than Redmi, but the background is still limited. | Standard settings are enough without ADB. |
| Xiaomi Pad 5/6 | Optimization is not difficult due to the large battery. | Disable only for critical applications (e.g. Zoom). |
For example, on Xiaomi 13 Pro, even after manual optimisation is disabled, some applications (such as Google Maps) can continue to “fall asleep”, in which case only the ADB- command or custom firmware installation (such as LineageOS) will help.
💡
On devices with a MediaTek chipset (like the Redmi Note 11), optimization is more stringent than on Snapdragon, due to the features of the processor’s energy-saving cores.
What to do if settings are reset after rebooting
One of the most common problems is automatically resetting your optimization settings after rebooting or updating your MIUI.
- 🔄 Security Policy MIUI, which returns “dangerous” settings to default settings.
Decisions:
- Freeze system applications via ADB: adb shell pm disable-user --user 0 com.miui.powerkeeper ⚠️ Attention: Disabling com.miui.powerkeeper may cause battery instability. Use this method only if other methods have not helped.
If you don’t want to mess with ADB, try the Google Play Battery Optimizer app, which automatically applies optimization settings after you reboot. However, note that these utilities require Accessibility Service rights, which may not be secure.
What applications are most often affected by optimization
Not all programs are equally sensitive to power optimization. Here are the TOP-5 apps that most often fall asleep on Xiaomi:
- Telegram/Whatsapp – notification delays up to 1-2 hours.
- Spotify/YouTube Music – Music stops when the screen is locked.
- Google Fit/Mi Fitness – stop counting steps in the background.
- Yandex.Navigator / 2GIS - reset in 5-10 minutes.
- Zoom/Microsoft Teams – The microphone or camera is turned off in the background.
For these annexes, it is recommended that:
- 🔧 Disable manual optimization (see Method 1).
- 🔄 Add to the battery exceptions (Settings → Battery → Exceptions).
- 📌 Secure in the latest applications (swipe down and icon retention).
💡
For Telegram, additionally enable the option Without restrictions in the application settings: Settings → Data and memory → Data Use → Background data transfer
Alternative ways to combat the “falling asleep” of applications
If optimizing doesn’t work, try these methods:
1.Using a VPN to circumvent restrictions
Some applications (like WhatsApp) are more stable if VPN is active in the background. This is because MIUI is less likely to suspend processes using the network. Install any VPN- application (like ProtonVPN) and leave it running in the background.
2. set up automatic start-up via MacroDroid
MacroDroid allows you to create rules for automatically running programs, such as:
- 🔄 Launch Telegram every 30 minutes.
- 📱 Unlock Spotify when connecting headphones.
- 🔋 Disable optimization for selected applications after charging.
Installation of custom firmware
If you are willing to take drastic measures, install firmware without optimizing MIUI, for example:
- 📱 LineageOS is pure Android without any restrictions.
- 🔧 Pixel Experience – firmware with Google Pixel features.
- ⚡ Evolution X is a custom firmware with advanced battery settings.
⚠️ Warning: Installing custom firmware will void warranty and may cause the device to operate unstable. Before firmware, back up the data via TWRP.