MIUI optimization is a built-in mechanism that should extend battery life and speed up the system by limiting background processes. But in practice, many Xiaomi Redmi users face the opposite effect: apps suddenly close, notifications come with a delay, and games and messengers slow down, especially on the budget models of the Redmi Note or POCO series, where aggressive optimization literally โstranglesโ multitasking.
In this article, weโll look at how to disable MIUI optimization on any Xiaomi Redmi smartphone, from the old MIUI 12 models to the new ones with HyperOS. Youโll learn not only the standard ways through settings, but also the hidden tricks of using ADB, and what you risk by completely deactivating system restrictions. Importantly, some methods require unlocking the bootloader or root rights โ weโll explain in detail when this is necessary and when you can do without radical measures.
Why MIUI Optimization is Interfering with Smartphone Performance
On paper, the MIUI battery optimization feature looks useful: it closes down unnecessary processes, reduces energy consumption and prevents overheating. But in fact, Xiaomi algorithms often mistook active applications for "background garbage."
- ๐ฑ Messengers (Telegram, WhatsApp) stop syncing messages in real time.
- ๐ฎ Games (Genshin Impact, PUBG Mobile) depart in 5-10 minutes in the background.
- ๐ Notification from VK, Instagram or banking apps are delayed by 1-2 hours.
- ๐ Background music (Spotify, YouTube Music) is interrupted when the screen is locked.
To make matters worse, MIUI prevents users from flexibly adjusting optimization rules, and even if you manually add an application to the No Limits list, the system may ignore it in a few days, especially on MIUI 13/14 firmware and new HyperOS devices, where the algorithms have become even more aggressive.
Another nuance: optimization works differently on models with different processors, such as the Redmi Note 10 Pro (Snapdragon 732G), the background restrictions are less stringent than the Redmi 9A (Helio G25), where the system saves resources on literally everything, due to the fact that Xiaomi adapts the algorithms to the hardware capabilities of each device.
Method 1: Disable optimization through MIUI settings (without root)
The safest and easiest method is to use the built-in MIUI tools, which are suitable for most users and do not require technical skills, but keep in mind that you can not completely turn off optimization in this way, you can only reduce its impact on individual applications.
The following instructions are used for MIUI 12-14 and HyperOS:
- Open Settings โ Applications โ Application Management.
- Select an app that slows down or closes down (like Telegram).
- Tapping on Battery Limits (or Energy Consumption in newer versions)
- Choose the option without restrictions.
- Go back and open AutoRun โ turn on the permission.
- In the Additional (or Permissions) section, activate the Block in the background option.
Is the battery restriction for the application disabled?|Auto-start is on|Is the blockage activated in the background?|Reboot your smartphone after the changes-->
This method works for most applications, but has limitations:
- โ ๏ธ Some system processes (e.g., com.miui.securitycenter) will still be optimized.
- โ ๏ธ After updating MIUI settings may reset.
- โ ๏ธ On HyperOS devices, the path to settings may differ (see table below).
| Firmware version | The Way to Constraint Settings | Features |
|---|---|---|
| MIUI 12/13 | Settings โ Applications โ Application Management โ [Application] โ Battery Limitations | The โBlocking in the backgroundโ option may not be available. |
| MIUI 14 | Settings โ Applications โ Permissions โ Autorun | You need to separately configure autostart and background activity |
| HyperOS | Settings โ Applications โ Energy consumption โ [Appendix] | The interface is simplified, some options are hidden |
๐ก
If the application is closed after the changes, try clearing its cache in Settings โ Apps โ [Application] โ Storage โ Clear the cache.
Method 2: Using ADB to Deeply Disable Optimization
If manual settings don't work, you can use ADB (Android Debug Bridge) commands, which disables system-level optimization but requires connecting your smartphone to your computer, and it works even on a locked bootloader (without root).
What you need:
- ๐ฅ๏ธ Computer with installed Xiaomi and ADB-tools drivers.
- ๐ฑ Included debugging by USB (Settings โ The phone. โ Version. MIUI (tap 7 times) โ Settings โ Additionally. โ For developers โ Debugging by USB).
- ๐ USB-TypeC Cable (preferably original).
Step-by-step:
- Connect your smartphone to your PC and confirm the debugging permission on the device screen.
- 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 Redmi.
- Execute the command to disable battery optimization: adb shell dumpsys deviceidle force-idle
- Then type: adb shell settings put global hidden_api_policy 1 It unlocks the hidden. API, which MIUI optimize.
- Reboot your smartphone: adb reboot
Important: After the reboot, the optimization will be turned off globally, but this can lead to an increase in battery consumption by 10-15%.
adb shell dumpsys deviceidle unforceWhat if the ADB canโt see the device?
Method 3: Disconnection through the engineering menu (hidden method)
MIUI has a hidden engineering menu where you can turn off some system optimizations, a method less well known but works on most Redmi devices (except the newest ones on HyperOS), plus you don't need root or ADB.
How to open the engineering menu:
- Open the Phone app.
- Enter the code ##4636##
- Select the Battery Information item.
- Slip on three dots in the upper right corner and select Advanced Settings (if you have an option).
- Find the MIUI Optimization option and turn it off.
Some firmware may have different paths, such as MIUI 13 for Redmi Note 11.
- Enter the code ##284##.
- Go to Test Mode โ Battery.
- Disable MIUI Optimization and Background Process Limit.
โ ๏ธ Attention: changes in the engineering menu can lead to unstable operation of the system. If after switching off the optimization, the smartphone begins to overheat or discharge quickly, return the settings to place.
๐ก
The engineering menu is a powerful tool, but it's dangerous. Don't change the parameters that you don't know what they're supposed to do.
Method 4: Installation of a custom core or firmware (for advanced)
If you're willing to take drastic measures, you can completely remove MIUI optimization by installing a custom kernel (like FrancoKernel) or alternative firmware (LineageOS, Pixel Experience), which gives you maximum freedom, but requires:
- ๐ Unlocked bootloader (bootloader).
- ๐ ๏ธ Established TWRP ornamental.
- ๐ฅ Compatible firmware for your Redmi model.
The advantages of this approach:
- โ Completely disabling all restrictions MIUI.
- โ Ability to fine-tune the kernel (e.g., change the scheduler) CPU).
- โ Updates directly from the community (without waiting for official patches from Xiaomi).
Cons:
- โ Loss of warranty (if the bootloader is unlocked).
- โ Risk of "bricking" the device in case of error.
- โ Certain functions MIUI (The Game Turbo may not work.
If you do, follow the instructions for your model on the XDA Developers or 4PDA forums. For example, the Redmi Note 10 Pro features Pixel Experience, which offers pure Android without MIUI optimizations.
Method 5: Automation with Tasker or MacroDroid
For those who donโt want to dig into the settings manually, thereโs a solution using automating apps like Tasker or MacroDroid that lets you create rules that will automatically disable optimization for your chosen apps.
Example of settings in MacroDroid:
- Install MacroDroid from Google Play.
- Create a new macro command with a trigger When you launch an application (select the one you want, for example, WhatsApp).
- Add the action Execute the ADB command with the following text: dumpsys deviceidle whitelist +com.whatsapp
- Save the macro and activate it.
This method allows you to manage optimization flexibly without manual intervention, for example, you can adjust the rules so that:
- ๐ต Musical Apps (Spotify, VK Music) not closed in the background.
- ๐ฎ Games (Genshin Impact, Call of Duty Mobile) get the maximum resources.
- ๐ง Mail and messengers check new messages every 5 minutes.
โ ๏ธ Attention: Private use of teams ADB It can lead to conflicts with system processes through automation.
What happens if you completely disable MIUI optimization?
Turning off optimization completely gives you freedom, but it also has a downside.
| Pluses | Cons |
|---|---|
| โ Apps don't close in the background | โ Increased battery consumption by 15โ30% |
| โ Notifications come in instantly | โ Possible overheating with prolonged load |
| โ Quick switching between tasks | โ Slowing down the system when opening 10+ applications |
| โ Stable operation of games and streaming services | โ Accelerated battery wear (with frequent overheating) |
Our recommendations:
- ๐ If the battery is critical to you (for example, you are often on the road), turn off optimization selectively only for the most important applications.
- ๐ฅ On the flagship models (Redmi) K60, POCO F5) The effects are less noticeable thanks to a powerful processor and improved cooling.
- ๐ On budget smartphones (Redmi) 10A, Redmi 9C) A complete optimisation disabling can make the device virtually unusable.
If after switching off the optimization, the smartphone began to warm up strongly or discharge quickly, try:
- ๐ Recover some of the limitations for non-critical applications.
- โ๏ธ Install a battery monitoring app (e.g. AccuBattery) and monitor problem processes.
- โ๏ธ Use the power saving mode manually when necessary.