How to Turn Off Optimization on Xiaomi: MIUI Optimized, Background Processes and Autoboot

Xiaomi, Redmi and POCO are known for aggressive system optimization, which often interferes with application performance, worsens multitasking and even reduces battery life. The manufacturer implements several levels of โ€œoptimizationโ€ at once, from background process restriction to forced application closure a few minutes after curtailment. In this article, we will understand how to disable optimization on Xiaomi completely or partially โ€“ from standard settings to hidden developer parameters.

The main problem is that MIUI defaults to activate MIUI Optimized (formerly MIUI Optimization), which is responsible for aggressive memory and process management, which causes messengers to stop receiving notifications, music players to stop after 5 minutes in the background, and games lose progress when switching. Fortunately, most of these limitations can be removed โ€” but this will require not only to dig into the settings, but also to understand what optimization mechanisms are active on your device.

What is โ€œoptimizationโ€ in Xiaomi and why it should be turned off

The term "optimization" in MIUI is used to describe a range of functions that, in theory, should extend battery life and speed up the system, but in practice, these mechanisms often work against the user:

  • ๐Ÿ”‹ Aggressively closing background processes โ€“ the system kills applications through 5-15 minutes after curtailment, even if they are critical (for example, navigators or messengers).
  • โšก Autoboot Limitation โ€“ Applications cannot start automatically after the device is restarted.
  • ๐Ÿ“ฑ Block notifications โ€“ some apps stop showing push notifications for no apparent reason.
  • ๐Ÿ”„ Slowing down animations โ€“ the system artificially reduces the frame rate in the interface to โ€œsave charge".
  • ๐Ÿšซ Blocking backgrounds for certain apps โ€“ for example, YouTube Music or Spotify stop playing music when the screen is locked.

The main culprit behind these problems is MIUI Optimized, which is enabled by default on all Xiaomi, Redmi and POCO devices. Not only does it manage background processes, it also override Android standard settings, ignoring the application priorities set by the user. For example, even if you manually let an app run in the background, MIUI can ignore this decision in a few hours.

Disabling optimization is especially important for:

  • ๐ŸŽฎ Gamers โ€“ so that the games are not unloaded from memory when switching to the messenger.
  • ๐Ÿš— Drivers โ€“ for stable operation of navigators (Yandex.Navigator, Google Maps, Waze).
  • ๐Ÿ’ฌ Active users of instant messengers โ€“ so that Telegram, WhatsApp or Viber do not lose the connection.
  • ๐ŸŽต Melomanov - for uninterrupted music playback in the background.
  • ๐Ÿค– Developers โ€“ so that debugging applications do not close arbitrarily.
๐Ÿ“Š Why you want to turn off optimization on Xiaomi?
Games are offloaded from memory
No notifications coming.
The music stops in the background
Slow multitasking
Other

Method 1: Disable MIUI Optimized through Developer Settings

The most effective method is to completely disable MIUI Optimized, which is responsible for most problems, but this option is hidden in the developer menu and requires pre-activation.

Steps to shut down:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone. Click 7 times in a row on the MIUI Version (you will be notified "You are a developer").

Settings โ†’ Additional โ†’ For Developers

Settings โ†’ System โ†’ Advanced settings โ†’ For developers

MIUI optimization

MIUI Optimized

Turn it off.

Restart the device and the changes will take effect.

โ˜‘๏ธ Preparation for shutdown MIUI Optimized

Done: 0 / 5

โš ๏ธ Note: Some models (Xiaomi 12, Xiaomi 13, Redmi Note 11 and later) after the shutdown MIUI Optimized may have problems with navigation gestures. If swipes stop working, return the setting back and use alternative methods from the following sections.

Xiaomi modelDoes it support MIUI Optimized Disconnection?Side effects
Xiaomi Mi 10/11, Redmi Note 9/10Yes.No critical issues.
Xiaomi 12/13, Redmi Note 11/12Yes.Navigational gestures may break
POCO F3/F4, POCO X3/X4Yes.Possible lags in animations
Xiaomi Pad 5/6Partially.Some multimedia functions may not work.

If you notice unstable system operation after disabling MIUI Optimized, try an alternative method โ€“ manually adjusting background processes (described in the next section).

Method 2: Manual control of background processes without disabling MIUI Optimized

If you're having a problem with optimizing completely, or you're afraid of side effects, you can fine-tune the behavior of individual applications, which is less radical, but takes longer.

Instructions for setting:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the application you want (such as Telegram or Google Maps).
  3. Go to Battery (or Energy Consumption on new MIUI versions).
  4. Select No Limits (or No Limits) mode.
  5. Go back and open Permissions โ†’ Autostart, turn on permission.
  6. In the Other permissions section, find Show pop-ups and Lock screen, activate them.

๐Ÿ’ก

If the app is closed in the background anyway, try installing it. APK-version with Doze disabled (for example, modified Telegram or YouTube Music builds from third-party developers).

โš ๏ธ Attention: On devices with MIUI 14 and later, some menu items may be called differently. For example, instead of AutoRun, you can have AutoRun, and instead of Without Limits, you can have No Energy Saving. If you don't find the right item, use the settings search (the magnifying icon in the upper right corner).

Method 3: Use ADB-teams for deep optimization

If standard methods do not help, you can resort to ADB-This method requires connecting the phone to the computer, but allows you to completely disable background restrictions for specific applications at the system level.

Step-by-step:

  1. Download and install. ADB-computer-assist.
  2. Activate USB debugging on your phone: Go to Settings โ†’ Developer. Enable USB debugging.

Connect the phone to your computer and confirm the debugging permission.

Terminal

adb devices

(The name of your device should appear).

Next, run the command to disable battery optimization for a particular application (replace com.example.app with an app package, for example, org.telegram.messenger for Telegram):

adb shell dumpsys deviceidle whitelist +com.example.app

To check which apps are already on the whitelist, use:

adb shell dumpsys deviceidle whitelist

To completely disable Doze mode (deep battery optimization) perform:

adb shell dumpsys deviceidle force-idle
How to find out the package name of the application?
Open Google Play, find the app you want, copy the link -- the batch name will be after id=. For WhatsApp, for example, it's com.whatsapp.

โš ๏ธ Warning: Disabling Doze can significantly reduce battery life. Use this method only for mission-critical applications (navigators, messengers, medical trackers).

Method 4: Alternative firmware (for advanced users)

If you're not comfortable with standard MIUI and its optimizations, you might want to consider custom firmware.

  • ๐Ÿ“ฑ Xiaomi.EU โ€“ modified version MIUI without Chinese services and with advanced optimization settings.
  • ๐Ÿค– LineageOS โ€“ โ€œpureโ€ Android without unnecessary background processes.
  • โšก Pixel Experience โ€“ firmware with interface from Google Pixel and minimal optimization.
  • ๐Ÿ”ง ArrowOS โ€“ lightweight open source firmware.

Advantages of custom firmware:

  • โœ… No forced closure of applications.
  • โœ… More control over background processes.
  • โœ… No Advertising and Unnecessary Xiaomi Services.
  • โœ… Regular security updates.

Disadvantages:

  • โŒ Installation difficulty (requires unlocking the loader).
  • โŒ Possible bugs (not all camera or sensor features may work).
  • โŒ Loss of warranty on most devices).

๐Ÿ’ก

Installing custom firmware is an extreme method, and if you're not willing to risk the stability of the device, you'd better use standard settings or ADB-team.

To install custom firmware will require:

  1. Unlock the bootloader through the official Xiaomi tool.
  2. Install TWRP Recovery or other custom Recovery.
  3. Download firmware from the official website (for example, Xiaomi.EU or LineageOS).
  4. Perform a full backup of data and flash the device.

Method 5: Using third-party utilities to manage optimization

If manual settings seem too complicated, you can use specialized applications that automate the process of disabling optimization.

AnnexFunctionsReferenceNeed a ROOT?
GreenifyHybernation of unnecessary applications, auto-start managementGoogle PlayNo (but with ROOT more options)
Battery GuruMonitoring background processes, disabling optimization for individual applicationsGoogle PlayNo.
MIUI Battery OptimizerAutomatic optimisation switch off for selected applicationsXDA DevelopersYes.
AutoStartAuto-Run Applications Management (alternative to standard settings)Google PlayNo.

Example of working with Greenify:

  1. Install the app from Google Play.
  2. Provide all necessary permissions (including Special Access in MIUI settings).
  3. Add problematic apps to the hibernation list (like Facebook, Instagram, which often work in the background needlessly).
  4. Activate Aggressive Doze (ROOT required for full effect)

โš ๏ธ Attention: Some applications (e.g, MIUI Battery Optimizer requires root rights. If you're not ready to receive ROOT, Use only those utilities that work without it (e.g. Greenify or AutoStart).

Frequent problems after optimisation disabling and their solutions

Disabling optimization can have unexpected consequences, and let's look at some of the most common problems and ways to fix them:

  • ๐Ÿ”‹ Fast battery discharge - if after switching off the optimization, the phone began to discharge for a short time 3-4 Check which apps consume the most power in Settings โ†’ Battery โ†’ Battery use: Messengers or social networks that are constantly synchronized in the background are the most commonly to blame. Solution: manually limit background activity for unnecessary apps.
  • ๐Ÿข Lags and slowdowns โ€“ if the system is running slower, try clearing the cache in Settings โ†’ Memory. โ†’ Clean. Also help disabling animations in the developer settings (Window animation scale, Transition animation scale - set Off.).
  • ๐Ÿ“ต Navigation gestures do not work โ€“ if after switching off MIUI Optimized swipes stopped working, return the setting back and use ADB-commands to point-off optimization only for the desired applications.
  • ๐Ÿ”Š Missing notifications โ€“ check if they block MIUI At the system level, go to Settings. โ†’ Notifications โ†’ Setting up app notifications and manually enable impressions for the desired applications.
  • ๐ŸŽต Music stops when you lock the screen โ€“ open the settings of the player app (for example, Spotify or YouTube Music) and activate the option Play in the background. Also check if the mode is on Saving battery power in the notification curtain.

If none of these methods worked, try resetting to factory settings (with pre-data backup) and repeating the optimisation disabling procedure.

FAQ: Answers to Frequent Questions

โ“ Disabling Optimization Will Affect Productivity?
No, on the contrary, performance can improve as the system stops constantly closing and opening applications, but battery life can be reduced by 10-20% if you turn off optimization for resource-intensive applications (for example, social networks or instant messengers).
โ“ Can you turn off optimization only for individual applications?
Yes, for this purpose use: Standard settings MIUI (battery-set โ†’ No restrictions). ADB-commands (e.g. dumpsys deviceidle whitelist) +com.example.app. Third-party utility like Greenify.
โ“ Why Optimization is Back on After Reboot?
It's a feature. MIUI โ€” The system resets some settings after the reboot. Solutions: Use ADB-Install Tasker or MacroDroid to automatically apply settings after rebooting. Check if settings are reset due to updates MIUI (In this case, you will have to repeat the procedure after each update).
โ“ Will this method work for POCO?
Yes, POCO devices (e.g. POCO F3, POCO X4) run on the same MIUI firmware, so all of the methods described are applicable. Except for some models on POCO Launcher, where the path to settings may be slightly different.
โ“ Can you turn off optimization without a computer?
Yes, but with limitations: Through the developer settings (disabled) MIUI Optimized. Through standard battery settings (no app restrictions mode) with third-party applications (e.g. Greenify) for full control (e.g., no app restrictions, ADB-commands) the computer will still be required.