Background mode on Xiaomi: how to make applications work without interruptions

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.

๐Ÿ“Š What kind of background work problem did you notice on Xiaomi?
Applications close when the screen is blocked
No notifications from messengers come
Music/Podcasts are interrupted in the background
No problem, everything is stable.

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:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the app you want (such as WhatsApp).
  3. Slip on AutoRun (or AutoRun in HyperOS).
  4. 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

Done: 0 / 4

โš ๏ธ 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:

  1. Open Settings โ†’ Battery and Performance โ†’ Battery Optimization
  2. Select All Apps (or Applications in HyperOS)
  3. Find the right application in the list and tap on it.
  4. 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 versionThe path to settingsRecommended treatment
MIUI 12Settings โ†’ Battery โ†’ Battery OptimizationNo restrictions.
MIUI 13Settings โ†’ Battery and Performance โ†’ Battery OptimizationNot optimize
MIUI 14 / HyperOSSettings โ†’ Battery โ†’ Battery Mode โ†’ Setup of applicationsNo 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:

  1. Open Settings โ†’ Battery and Performance.
  2. Select Battery Mode (or HyperOS Performance).
  3. 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:

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version (you will be notified "You became a developer").
  3. 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?
Disabling this parameter removes all energy-saving MIUI algorithms, including: - Automatic RAM Cleaning - Autostart Restrictions - Background Battery Optimization Result: applications will work stably, but battery consumption will increase by 20-30%, and the system can slow down due to background congestion.

How to set exceptions for individual applications:

  1. In Developer Settings, find Not Optimize with Deep Optimization.
  2. Add to the list the apps that should work in the background (e.g. Google Maps, Spotify).
  3. 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.

FAQ: Frequent questions about background work on Xiaomi

Why is WhatsApp not sending notifications to Xiaomi?
The reason is to block the background. Solution: Enable autorun for WhatsApp. Add it to the battery optimization exceptions. Allow "accurate notifications" in the app settings. If the problem persists, check the sync settings in Settings โ†’ Accounts and Sync.
How to ensure that the music is not interrupted when the screen is locked?
For Spotify, YouTube Music or VK Music: Turn off battery optimization for the player. Enable autorun. In the player settings, activate the Playback in the Background option. For YouTube Music, additionally allow Settings โ†’ Apps โ†’ Special Access โ†’ Battery Optimization.
Why Google Play Services is constantly running in the background and running out of battery?
Google Play Services is responsible for syncing your account, notifications and geolocation. To reduce activity: Limit background work: Settings โ†’ Apps โ†’ Google Play Services โ†’ Battery โ†’ Restricted Background. Turn off unnecessary sync: Settings โ†’ Accounts and Sync โ†’ Google โ†’ Account Sync. Update services to the latest version on Google Play. Warning: completely disabling Google Play Services will disrupt many applications.
How to check which apps are working in the background?
Ways: ๐Ÿ“Š Through Settings. โ†’ Battery โ†’ Battery use (indicates active processes). ๐Ÿ” Developer Options: Developer Options โ†’ Processes (shows all background tasks). ๐Ÿ“ฑ Apps like Greenify or AccuBattery (analyze activity in the background).
Why did the notifications to MIUI 14 stop coming?
MIUI 14 tightened control of background processes Solution: Reset battery settings: Settings โ†’ Battery โ†’ โ‹ฎ โ†’ Reset battery settings. Enable adaptive battery mode and add problem apps to exceptions. โ†’ Notifications โ†’ Additionally. โ†’ Priority of notifications.