Xiaomiβs MIUI-based smartphones are known for aggressive battery optimization, which often blocks application background activity. Users face problems: messengers donβt send notifications, health trackers stop recording steps, and music players suddenly stop, and the reason lies in energy-saving algorithms that automatically pause processes to save charge.
In this article you will find the latest ways to unlock background work for all modern versions. MIUI (12 to 15), including hidden settings and workarounds for stock and custom firmware, and we'll look at how the constraints differ on Redmi models, POCO We will also explain why some applications (such as WhatsApp or Google Fit) require separate configuration. MIUI The parameters can be reset β we will show you how to avoid it.
Why Xiaomi is blocking the background of applications
The MIUI shell uses three levels of optimization that directly affect background processes:
- π Adaptive battery: the algorithm analyzes user habits and limits rarely used applications. For example, if you havenβt opened Telegram for 2 days, the system can suspend its background synchronization.
- β‘ Power saving mode: activated automatically at a charge level below 15% or manually via Settings β Battery: In this mode, background activity is blocked for all applications except system.
- π‘οΈ Protection of confidentiality: in MIUI 14+ added restrictions on access to geolocation and sensors in the background, which affects fitness trackers and navigators.
The manufacturer argues that this is due to concern about battery life, but in practice, aggressive optimization leads to the loss of up to 40% of notifications in messengers and improper operation of geolocation services. MIUI It is often mistakenly classified as βenergy-intensive".
Method 1: Auto-Run permission for applications
The first step is to enable auto-run for the right programs, without which they will not be able to start automatically after restarting or cleaning the memory.
- Open Settings β Applications β Application Management.
- Slip on the three dots in the upper right corner and select AutoRun.
- Find the right app (like Viber) and activate the switch.
In MIUI 14/15, the path has changed: Autorun is now hidden in Settings β Applications β Permissions β AutoRun. On some models (POCO F5, Redmi Note 12), this item may be called Autoboot.
βοΈ Auto-start check
β οΈ Attention: After update MIUI The list of auto-run applications is reset. To avoid this, back up your settings through Settings. β Additionally. β Backup and select System Settings.
Method 2: Disabling Battery Optimization
Even with auto-run enabled, MIUI can pause applications after 5-10 minutes of inactivity.
- Go to Settings β Battery β Battery Optimization.
- Select All Apps in the drop-down menu.
- Find the app you want (like Google Maps) and tap it.
- Select No Limits (in older versions β No Limits).
A new option for MIUI 15, Intelligent Control, has been added, and must be disabled for critical applications (messengers, navigators) or the system will ignore manual settings after 24 hours of inactivity.
| MIUI version | The path to settings | Optimal regimen |
|---|---|---|
| MIUI 12/13 | Settings β Battery β Battery Optimization | No restrictions. |
| MIUI 14 | Settings β Battery β Battery management | No restrictions + disable the adaptive battery |
| MIUI 15 | Settings β Battery β Intelligent Control | Disable for selected applications |
π‘
If the optimization list does not have the right application, open it at least once β MIUI adds programs to the list only after the first run.
Method 3: Fixing applications in memory (blocking cleansing)
MIUI aggressively clears background processes when the screen is locked, to prevent this from happening:
- Open Recent Apps (swipe up with a delay).
- Find the card of the desired application (for example, a music player).
- Swipe down the card - an icon will appear. π Block it.
- Slip it to fix the application in memory.
Nana POCO and the new Redmis (C) MIUI 14+) This method only works for 3-5 The other two will need to use the same app. ADB-commands (see method) 5). Also note that the fixation increases the battery consumption on the 5-15% depending on the application.
How do you check if the fixation is working?
Method 4: Configure permissions for background work
MIUI 13+ has additional restrictions on background access to:
- π Geolocations: affects Google Maps, Yandex.Navigator, fitness trackers.
- πΆ Mobile data: without this permission, applications are not updated in the background through 3G/4G.
- π Autosynchronization: Critical for email clients and cloud services.
To set up:
- Go to Settings β Applications β Application Management.
- Select the desired application β permissions.
- Activate: Allow background activity (if any) Permanent access to geodata (for navigators) Autorun when booting the system
β οΈ Attention: On Xiaomi 13/14 s MIUI 15 The permissions section is divided into two tabs: Primary and Additional. background permissions are hidden in the second tab and are disabled by default for all applications.
Method 5: ADB-Deep tuning teams (for experienced ones)
If standard methods don't work, use ADB to disable all restrictions, which requires a computer and USB Debugging enabled.
Steps:
- Enable Developer Mode (7 taps on the MIUI version in Settings β About Phone).
- Activate USB Debugging in Settings β Additional β For developers.
- Connect your phone to your PC and execute the commands: adb shell dumpsys deviceidle whitelist +com.example.app adb shell cmd appops set com.example.app RUN_ANY_IN_BACKGROUND allow adb shell cmd appops set com.example.app RUN_IN_BACKGROUND allow you to replace com.example.app with your applicationβs batch name (e.g. com.whatsapp).
To massively disable optimization for all applications, use:
adb shell settings put global hidden_api_policy 1π‘
ADB-Commands are reset after a phone reset or update MIUI. To automate the process, create a.bat file with the right commands and run it after each update.
Solving problems with specific applications
Some programs require additional action:
- π¬ Messengers (WhatsApp, Telegram): Enable the Display of notifications in the app settings. β Notifications β Special permissions activate Pop-up notifications.
- π΅ Music players (Spotify, YouTube Music): In the player settings, turn off Battery Optimization (if any). Lock the application in memory (method 3).
- π Fitness trackers (Google Fit, Mi Fitness): Allow Persistent Access to Geodata. Add to the Battery Optimization Exceptions (Mode 2).
For Google Play Services (critical for many apps) do:
adb shell cmd appops set com.google.android.gms RUN_ANY_IN_BACKGROUND allowFrequent Mistakes and How to Avoid Them
Users often face the following problems:
- Settings are reset after the update: Solution: Before updating MIUI, back up through Settings β Additional β Backup by selecting System Settings. After the update, restore the settings from the backup.
- The application does not appear in the autorun list: Solution: first open the application at least once. MIUI adds programs to the autorun list only after the first start. If the problem persists, check if the application is removed from the system (for example, through ADB or root rights).
- Notifications come with a delay: Solution: In addition to autorun, check your sync settings in Settings β Accounts and Sync. Turn off Background Traffic Limitation for your Mi or Google account.
β οΈ Attention: POCO M6 Pro and Redmi Note 13 with MIUI 15 new parameter appeared - Intelligent optimization in Settings β The battery must be turned off for the background processes to function properly.