Background work on Xiaomi: how to enable auto-start and disable MIUI restrictions

Xiaomi’s MIUI-based smartphones are known for aggressive power optimization, which often blocks the background work of applications. Users face problems: messengers (WhatsApp, Telegram) do not send notifications, fitness trackers (Google Fit, Mi Fitness) lose data, and music services (Spotify, Yandex Music) are interrupted 5 minutes after blocking the screen. In this article, we will analyze all ways to enable background work on Xiaomi devices, from basic settings to hidden developer parameters.

To make matters worse, MIUI is constantly repositioning menus in newer versions (12-15). We updated the 2026 manual with the latest updates. It's important to understand that background constraints are not a bug, but a deliberate manufacturer's policy to save battery life. However, for many users, app stability is more important than an additional 10% of autonomy.

Why Xiaomi is blocking the background of applications?

The MIUI shell uses three levels of optimization that affect background processes:

  • πŸ”‹ Battery optimization: automatically suspends applications if they are not actively used, even affects system services.
  • 🚫 Autostart Limit: Blocks the launch of applications when you turn on your smartphone or after restarting.
  • ⚑ Adaptive brightness and performance: Reduces CPU frequency for background tasks, leading to applications falling asleep.

MIUI 14/15 adds another layer, Deep Optimization, which analyzes user behavior and pauses apps if they haven’t opened for more than 3 days, for example, if you haven’t run Viber for several days, the system can completely block its background activity, even if you have unread messages.

The manufacturer argues that 80 percent of users don’t notice the difference in the application experience, but they benefit from autonomy, but for those who actively use messengers, health trackers or cloud services, such limitations become a critical problem.

πŸ“Š What apps are most often blocked in the background?
Messengers (WhatsApp, Telegram)
Fitness trackers (Google Fit, Mi Band)
Music services (Spotify, Yandex Music)
Navigators (Yandex Maps, Google Maps)
Others

Method 1: Setup Auto-Run Applications

The first step is to allow apps to automatically start when you turn on your smartphone, without which, even after unlocking the background, apps will not be able to start after you restart.

Instructions for MIUI 12-15:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Slip on three dots in the upper right corner and select AutoRun.
  3. Enable the slider for the desired applications (for example, Telegram, WhatsApp, Google Play Services).
  4. Some applications (such as Mi Fit) may require additional permission – click on the app name and activate Auto Run in its settings.

Note that MIUI 15 has a deeper autorun menu, and if you don't have Autorun in application management, try an alternative path:

Settings β†’ Battery and Performance β†’ Battery Settings β†’ Applications Choice β†’ AutoRun

Enable auto-start for messengers

Allow Autoplay for Google Play Services

Check the settings for fitness trackers

Reboot your smartphone to apply changes-->

Method 2: Disabling Battery Optimization

Battery optimization is the main culprit for background problems, and in MIUI, it works on two levels: global (for all applications) and individual (for each application separately), to completely disable the restrictions:

Step 1: Global optimisation shutdown

  1. Go to Settings β†’ Battery and Performance β†’ Battery Settings
  2. Choose App Choices (or Battery Optimization in older versions).
  3. Select All Apps and select No Limits for Critical Services.

Step 2: Individual settings for applications

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select the app you want (such as WhatsApp).
  3. Go to Permits. β†’ Optimizing the battery.
  4. Choose No Limits or No Limits (depending on the version of MIUI).

πŸ’‘

If the list of applications does not include the item "Battery Optimization", try to first enable the developer mode (7 taps by the build number in "About Phone"), and then repeat the steps.

For applications that actively use geolocation (for example, Yandex Maps or Google Maps), further disable location optimization:

Settings β†’ Privacy β†’ Permits β†’ Location β†’ System Settings β†’ Disable β€œOptimization of Location Accuracy”

Method 3: Permissions for background work in application settings

Even after battery optimization is turned off, some apps (especially from Google) require additional permissions to run steadily in the background.For example, Google Play Services can block notifications from Gmail or YouTube if it does not have auto-run rights.

How to check and configure:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Select an app (e.g. Google Play Services).
  3. Go to the Permissions section and enable: πŸ“ Location (if the application uses geodata) πŸ”” Notifications (for messengers and email clients) πŸ”„ Auto-start (unless previously included) πŸ“Ά Mobile data in the background (for online services)

For MIUI 14/15, a new item has been added, Background Activity, which should be enabled for applications that need to run constantly (e.g. Mi Fitness for sync with smartwatches), and can be found in the settings of a particular application:

Settings β†’ Applications β†’ [Application Name] β†’ Background Activity β†’ Enable
Which apps should be set up first?
1. Messengers (WhatsApp, Telegram, Viber) – without background work, no notifications come. 2. Fitness trackers (Google Fit, Mi Fitness, Strava) – lose data on steps and training. 3. Music services (Spotify, Yandex Music, Apple Music) – interrupt playback when blocking the screen. 4. Navigators (Yandex Maps, Google Maps, Waze) – can β€œfall asleep” during the route. 5. Cloud services (Google Drive, Onebox) – do not synchronize files.

Method 4: Developer settings for advanced users

If standard methods don't work, you can use hidden developer settings to turn off system-level constraints, but you need to be careful that improper changes can lead to increased battery consumption or overheating.

Step 1: Activate the Developer Mode

  1. Go to Settings. β†’ The phone.
  2. Tap 7 times on the MIUI version (you will be notified "You became a developer").

Step 2: Disable the limitations of background processes

  1. Return to Settings β†’ Additional β†’ For Developers (or Settings β†’ System β†’ For Developers in New Versions).
  2. Find and turn on: πŸ”„ Do not limit background processes (or background processes) β†’ Standard limit) πŸ“± Turn off optimization MIUI (if) πŸ”‹ Turn off the adaptive brightness of the battery

MIUI 15

Priority background processes

πŸ’‘

Changes to the developer settings are reset after the MIUI update. After the update, check them again!

Step. 3: Turn off "Deep Optimization" (for the purpose only) MIUI 14/15)

Settings β†’ Battery and Performance β†’ Battery Settings β†’ Deep Optimization β†’ Disable

⚠️ Caution: Disabling deep optimization can reduce battery life by 15-20%. Use this method only if other methods have not helped.

Method 5: Use of third-party utilities (for power users)

If manual settings don't work, you can use specialized utilities that automate the process of unlocking background restrictions, but require root or ADB rights.

Popular tools:

  • πŸ› οΈ MIUI Optimizer (requires Magisk): disables battery optimization at the system level, adds advanced settings for background processes.
  • πŸ”§ ADB AppControl (without root): allows you to use ADB disable restrictions for specific applications.
  • ⚑ Greenify (with Donate): Manages the β€œsleep mode” of applications, preventing them from being forced to close.

An example of a team for ADB that disables battery optimization for WhatsApp:

adb shell dumpsys deviceidle whitelist +com.whatsapp

To massively disable restrictions, use the script:

adb shell settings put global hidden_api_policy 1


adb shell dumpsys deviceidle whitelist +com.google.android.gms




adb shell dumpsys deviceidle whitelist +com.whatsapp




adb shell dumpsys deviceidle whitelist +org.telegram.messenger

⚠️ Attention: Use ADB or root rights may result in loss of warranty or unstable system operation.

Table: Comparison of methods for incorporating background work

MethodDifficultyRequired rightsEfficiencyImpact on the battery
Auto-launching applications⭐No.MediumMinimum
Disabling battery optimization⭐⭐No.Tall.Moderate (5-10%)
Developer settings⭐⭐⭐No.Very high.Significant (10-15%)
ADB-team⭐⭐⭐⭐USB debuggingMaximumDepends on the settings.
Root applications (MIUI Optimizer)⭐⭐⭐⭐⭐Root rightsAbsolute.High (20%+)

Important: On devices with a Snapdragon processor (for example, Xiaomi 13, Redmi Note 12 Pro+), background work is blocked more aggressively than on models with MediaTek (Redmi Note 11, POCO X5).

FAQ: Frequent questions about background work on Xiaomi

Why are notifications blocked again after MIUI update?
When you update MIUI, you reset some settings, including permissions for background work. After the update: Check Autorun for critical applications. Turn off battery optimization again. Reboot your smartphone. In MIUI 15, you add Restore Settings after the update β€” turn it on in Settings β†’ About Phone β†’ System Update β†’ Settings.
How to check if the application works in the background?
There are a number of ways: πŸ“± Use the settings. β†’ Battery and productivity β†’ Battery usage – if the app consumes charge in the background, it is active. πŸ” Install. CPU Monitor or Background App Inspector from Google Play – they show active processes. πŸ“Š For instant messengers, send a test message from another device – if the notification came right away, the background work is set up correctly.
Can I turn off background work for individual applications?
Yes, it's useful for battery saving. For example, you can block background activity for games or rarely used social networks: Go to Settings β†’ Applications β†’ Application Management. Select an application (e.g. TikTok). Open Permissions β†’ Battery Optimization. Choose Limit or Strict Limits. MIUI 15 adds the Deep Limit option β€” it completely blocks background activity, including synchronization.
Why does music stop 5-10 minutes after the screen is locked?
This is due to optimizing audio in the background. Solutions: Open the settings of a music app (like Spotify) and turn on Playback in the background. In Settings β†’ Sound optimizing to save charge. For MIUI 14/15 in the developer settings, turn on Do Not Stop Audio in the background. If the problem persists, try alternative players (VLC, Poweramp) that bypass the limitations of MIUI.
How to reset all the limitations of background work to factory?
If you've experimented with settings and want to get everything back to the original state: Go to Settings β†’ Applications β†’ Application Management. Tap three points β†’ Reset applications. Confirm reset (this won't delete data, but will return all permissions to factory). To completely reset the battery optimization, run the command via ADB: adb shell dumpsys deviceidle reset