Xiaomiโs MIUI-based smartphones are known for aggressive battery optimization, which often blocks application backgrounds. Users face problems: messengers donโt send notifications, music is interrupted when the screen is locked, and activity trackers lose data. The reason lies in the systemโs energy-saving algorithms, which by default limit the activity of programs in the background.
In this article, we will explore all the ways to customize the background on Xiaomi, Redmi and POCO devices, from basic autostart settings to hidden developer settings. The instructions are relevant for MIUI 12-14 (including global and Chinese versions) and take into account the features of the latest updates in 2026.
- ๐ Unlock AutoRun for Critical Applications
- โก Disable battery optimization for selected programs
- ๐ ๏ธ Use performance modes for background tasks
- ๐ฑ Set up exceptions for Android 12+ subject to new restrictions
Important: settings may vary depending on the model (Xiaomi 13 Pro, Redmi Note 12, POCO F5) and the firmware version. If your device is running on HyperOS (the new shell from Xiaomi), some menu items will be renamed - we will specify alternative paths.
Why Xiaomi is blocking the background of applications?
The MIUI system uses three levels of background control:
- ๐ Battery optimization: automatically suspends applications that are not actively used, for example, Telegram or Viber can โfall asleepโ 5-10 minutes after curtailing.
- ๐ซ Autorun Limits: Blocks automatic program launches after reboot or on schedule (relevant for widgets and services like Google Fit).
- ๐ Adaptive optimization: Analyzes user habits and forcibly closes โrarely usedโ applications (even if they are important).
These mechanisms save battery life, but often work too aggressively โ especially on budget models (Redmi 10A, POCO M5), where the manufacturer sacrifices user experience for the sake of autonomy. For example, MIUI 14 by default limits background work for all applications except system ones (Mi Browser, Mi Video).
Warning: Some settings (e.g., disabling MIUI Optimization in developer settings) can result in a 15 to 25 percent increase in battery consumption, and we recommend that you use them selectively only for critical applications.
Method 1: Autostart setup (autostart permission)
The first step is to allow applications to automatically start up after a reboot or on schedule, without which even allowing the background to work does not guarantee stability.
Instructions for MIUI 12-14:
- Open Settings โ Applications โ Application Management.
- Select the app you want (such as WhatsApp).
- Slip on AutoRun (or AutoRun in HyperOS).
- Activate the switch and confirm the action in the dialog box.
For mass activation of auto-start:
- ๐ฑ Go to Settings. โ Battery and productivity โ Battery management.
- ๐ Select App Choices (or Battery Optimization in New Versions).
- ๐ Enable auto-run for all critical programs (messengers, navigators, fitness trackers).
โ๏ธ Checklist for auto-start
โ ๏ธ Note: On some models (Xiaomi) 12T, Redmi K50) The autostart item is hidden. To see it, first add the application to the Battery Optimization Exceptions (see Method 2).
Method 2: Disabling Battery Optimization for Individual Applications
Even with auto-run enabled, the system can pause applications "to save energy." To avoid this, add the program to the exceptions.
Step-by-step:
- Open Settings โ Battery and Performance โ Battery Optimization
- Select All Apps (or Applications in HyperOS)
- Find the right application in the list and tap on it.
- Choose Unlimited (or Unoptimized)
For Android 12+ (including MIUI 13/14), add the app to the deep exceptions:
- ๐ง Go to Settings. โ Annexes โ Special access โ Optimizing the battery.
- ๐ Select All Apps โ find out โ Not to limit.
- ๐ For HyperOS: Settings โ Battery โ Battery mode โ Set-up of applications.
| MIUI version | The path to settings | Recommended treatment |
|---|---|---|
| MIUI 12 | Settings โ Battery โ Battery Optimization | No restrictions. |
| MIUI 13 | Settings โ Battery and Performance โ Battery Optimization | Not optimize |
| MIUI 14 / HyperOS | Settings โ Battery โ Battery Mode โ Setup of applications | No Limits or High Performance |
๐ก
If the app disappears from the Battery Optimization list, open it first and wait for the system to notify you of the high power consumption.
Method 3: Using Performance Modes
MIUI offers three modes of operation of the system that directly affect the background processes:
- ๐ Battery: Maximum savings, background applications are blocked after 1-2 minutes.
- โก Balanced: moderate restrictions (background work allowed for priority applications).
- ๐ Performance: Minimum limits, but battery consumption increases by 20-30%.
How to change the regime:
- Open Settings โ Battery and Performance.
- Select Battery Mode (or HyperOS Performance).
- Set Performance or Balanced (for a balance of autonomy and functionality).
For fine tuning:
- ๐ฏ Enable Adaptive Mode (available in the MIUI 14) so that the system automatically switches between modes depending on the charge.
- ๐ For games and resource-intensive tasks, use Game Mode (Settings) โ Special facilities โ Game mode).
โ ๏ธ Warning: Performance mode can cause overheating on devices with Snapdragon processors 7xx (If the phone gets too hot, go back to Balanced Mode and set exceptions manually.
๐ก
Performance mode disables most background restrictions, but reduces battery life by 15 to 30 percent. Use it only when necessary.
Method 4: Configure the developer parameters for background work
Hidden MIUI settings allow you to completely disable optimization for individual applications or the entire system, a method that requires caution, as it can affect stability.
How to turn on the developer parameters:
- Go to Settings. โ The phone.
- Tap 7 times on the MIUI version (you will be notified "You became a developer").
- Go back to the Settings โ Additional โ Developer settings.
Key parameters for background work:
- ๐ง Background Process Limitation: Set No Limits or Standard Limit (4 Processes).
- ๐ Do not save actions: disable this item for critical applications.
- ๐ฑ MIUI Optimization: Disabling this parameter removes all restrictions MIUI background work, but may cause malfunctions in the shell.
What happens if you turn off MIUI optimization?
How to set exceptions for individual applications:
- In Developer Settings, find Not Optimize with Deep Optimization.
- Add to the list the apps that should work in the background (e.g. Google Maps, Spotify).
- Reset the device.
Method 5: Verify Permissions for Android 12 and Newer
Since Android 12, Google has tightened its control over background processes. MIUI 13/14 imposes additional restrictions, so you need to:
- ๐ Allow accurate notifications: Settings โ Annexes โ [Select an application] โ Notifications โ Accurate notifications.
- ๐ Allow access to location in the background (for navigators and fitness trackers): Settings โ Confidentiality โ Permits โ Location โ [Annex] โ Allow me all the time.
- ๐ Disable the restriction on the use of data in the background: Settings โ SIM-maps and mobile networks โ Transfer of data โ Background restriction.
For Android 13+ (including HyperOS):
- ๐ฑ Check the Settings. โ Annexes โ Special access โ Access to notifications โ some applications (such as AutoNotification) require explicit permission.
- ๐ B Settings โ Battery โ Battery Mode Select Adaptive or Performance for applications with background tasks.
โ ๏ธ Note: On Android 14 (in HyperOS), Xiaomi blocks background work for apps that haven't been updated for more than 3 months.To get around this, open such programs regularly or turn off automatic optimization in Developer Settings.
Method 6: Alternative methods (for power users)
If standard settings donโt help, try these methods:
- ๐ง ADB-Adb shell dumpsys deviceidle whitelist +com.example.app Replace com.example.app with your applicationโs batch name (e.g. com.whatsapp).
- ๐ฑ Magisk modules: Disable Flag Secure (for screenshots in protected applications). - MIUI Battery Optimizer Disabler (completely disables battery optimization).
- ๐ Resetting battery settings: Settings โ Battery โ โฎ โ Resetting battery settings (helps with failures in energy-saving algorithms).
๐ก
To find the batch name of the application, install App Inspector from Google Play or use the ADB command: adb shell pm list packages | grep "application name"
Risks of alternative methods:
- ๐ Increased battery consumption by 30-50%.
- ๐ ๏ธ Possible system failures (especially when using Magisk).
- ๐ Loss of warranty when unlocking the loader.