Background mode on Xiaomi: how to enable and configure for applications (MIUI 12-14)

Xiaomi MIUI-based smartphones are known for aggressive battery optimization, which often blocks applications from running in the background, leading to missed notifications, download breaks and messaging problems. In this article, we’ll discuss how to properly set up the background on Redmi, POCO and Xiaomi devices (relevant to MIUI 12-14 and HyperOS).

It’s important to understand that the background mode is not a single setup, but a combination of autostart options, battery optimization, and permissions for individual applications. We’ll look at all the ways, including hidden developer menus, that will help even in cases where standard methods don’t work.

If you still have questions after reading, check the FAQ at the end of the article, which breaks down typical issues (for example, why WhatsApp is not receiving messages or how to disable optimization for Google Play Services).

What is the background mode and why it is blocked on Xiaomi

Background mode allows applications to perform tasks when they are folded or the screen is off, such as:

  • πŸ“₯ Upload files to Telegram or Chrome after the application is closed
  • πŸ”” Receiving push notifications from VK, Instagram or banking apps
  • 🎡 Playing music in Spotify or Yandex Music with a locked screen
  • πŸ“ Location tracking in Google Maps or Yandex Navigator

MIUI actively restricts background activity to extend battery life. It's part of MIUI Optimization, which:

  • πŸ”‹ Suspends applications 3-5 minutes after folding
  • ⚑ Blocks the auto-start of applications after restarting
  • 🚫 Limits Internet access in the background for β€œenergy-intensive” applications

The problem is that MIUI often misclassifies useful services (such as messengers or fitness trackers) as β€œunnecessary,” resulting in users experiencing:

  • πŸ•’ Delayed notifications (sometimes up to several hours)
  • πŸ”„ Interrupted file downloads
  • πŸ“΅ Loss of connection in VoIP calls (WhatsApp Calls, Zoom)
πŸ“Š What background problem bothers you more often?
Notifications are coming with a delay
Apps close themselves
No downloads in the background
Calls are terminated when the screen is blocked
Another problem.

Method 1: Setup Auto-Run Applications

The first step is to allow apps to automatically start when you turn on your smartphone, without which they will not be able to work in the background after the reboot.

Instructions for MIUI 12-14 and HyperOS:

  1. Open Settings β†’ Applications β†’ Application Management
  2. Slip on the three dots in the upper right corner and select AutoRun
  3. Find the desired application in the list and turn on the switch

On some models (Redmi Note 10 Pro, POCO X3 Pro) the path may be different:

Settings β†’ Battery and Performance β†’ Battery Management β†’ Applications Selection β†’ AutoRun

Note that MIUI has autoruns disabled by default for most applications except system ones, and if you don't find the right app on the list, it didn't ask for that permission when it was installed.

Is autorun for instant messengers enabled (WhatsApp, Telegram)

Auto-run for navigation applications (Google Maps, Yandex Navigator)

Are fitness tracking apps checked (Strava, Google Fit)

Autorun for cloud services (Google Drive, Dropbox)

-->

Method 2: Disabling Battery Optimization for Individual Applications

Even if auto-run is enabled, MIUI can pause applications after a few minutes, and to avoid this, you need to turn off battery optimization for them.

How to do this:

  1. Go to Settings β†’ Battery and Performance β†’ Battery Management
  2. Select App Choices (or Battery Optimization on some models)
  3. Find the app in the list and select Without Limits

For Android 12+ (including HyperOS), the path may be different:

Settings β†’ Applications β†’ Application Management β†’ [Select App] β†’ Battery β†’ Without Limitations

Important: Don't turn off optimization for all applications, it will significantly reduce battery life.

πŸ’‘

If the No Limits option is not on the list, try to enable auto-run for that application first (Method 1), then go back to the battery optimization menu - the option should appear.

Method 3: Configure permissions to work in the background (MIUI 14 / HyperOS)

The new versions of MIUI have a separate menu for controlling background activity, which is hidden deep in the settings, but allows you to more accurately control the behavior of applications.

Path to settings:

Settings β†’ Applications β†’ Application Management β†’ [Select App] β†’ Permissions β†’ Additional β†’ Working in the background

In this menu you will see three options:

Option.What's he doing?When to use
Permission.The application can work in the background without restrictionsFor messengers, navigators, music services
LimitThe app will be suspended after 10 to 30 minutes in the backgroundFor rarely used applications
BannedThe app will not work in the background at all.For energy-intensive games or unnecessary services

On some models (such as the Xiaomi 13 Pro with HyperOS), this menu may be called β€œBackground Activity” and may be located in the β€œSpecial Access” section.

Method 4: Using Developer Mode for Deep Customization

If standard methods don't work, you can use the developer menu to disable aggressive MIUI optimization globally.

First, activate the developer mode:

  1. Go to Settings. β†’ The phone.
  2. Tap 7 times on the MIUI version (or HyperOS build number)
  3. Enter your password/pattern lock if required.

Now open the additional settings:

Settings β†’ Additional β†’ For Developers

Find and enable the following options:

  • πŸ”„ Do not disable background processes (or background processes limit) β†’ Standard limit)
  • πŸ“Ά Always active mobile traffic (if you use mobile Internet)
  • πŸ”‹ Turn off optimization MIUI (firmware)
What happens if you turn off MIUI optimization?
Disabling this option can result in: - Faster battery discharge (15-25% faster) - Overheating of the device under heavy load - Automatic turn on after reboot (MIUI resets this setting) It is recommended to use only temporarily for testing, and then return individual settings for individual applications (Methods 1-3).

Note: on POCO and some Redmi models, the option to disable MIUI optimization may not be available, in which case use an alternative method via ADB (described in the next section).

Method 5: ADB-commands to force optimisation to disable

If the developer menu doesn't provide the right options, you can use ADB (Android Debug Bridge) for deep customization, which works on all versions of MIUI, including HyperOS.

You'll need:

  • πŸ–₯️ Computer with installed ADB Tools
  • πŸ“± Included debugging by USB smartphone
  • πŸ”Œ USB-cable (preferably original)

Steps to disable optimization:

  1. Connect your phone to your PC and allow debugging over USB
  2. Open the command line (Windows) or the terminal (Mac/Linux) in the adb folder
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Execute the command to disable battery optimization: adb shell dumpsys deviceidle force-idle
  5. To disable background restrictions: adb shell settings put global hidden_api_policy 1

After you execute the commands, restart your smartphone. These settings will reset after the MIUI update, so you will have to repeat the procedure.

πŸ’‘

ADB-Teams are the most powerful way to disable restrictions MIUI, But it requires technical skills and can cause the system to run in an unstable way.

Method 6: Alternative solutions for specific applications

Some applications have their own settings for working in the background, which do not depend on the system parameters of MIUI.

Examples for popular services:

  • πŸ“± Telegram: Settings β†’ Data and memory β†’ Autoboot media β†’ Insert "Use" 2G/3G/4G" + Settings β†’ Notifications β†’ Insert "Show notifications"
  • πŸ’¬ WhatsApp: βš™οΈ β†’ Warehouse β†’ Autoboot media β†’ Enable for mobile data and Wi-Fi
  • 🎡 Spotify: Settings β†’ Reproduction β†’ Auto-reproduction β†’ Turn it on. + Settings β†’ Data data β†’ Autoplay through the mobile network
  • πŸ—ΊοΈ Google Maps: Settings β†’ Navigation β†’ Sound and notification settings β†’ Insert β€œTraffic notifications"

For Yandex.Maps and 2GIS, check:

  • πŸ“ Permission to Permanent Location (in the application settings)
  • πŸ”„ Option Work in the background in the "Battery" section of the application settings

If the app is closed anyway, try using the web version in your browser (like Telegram Web or WhatsApp Web). Browsers usually have fewer restrictions on background work.

Frequent problems and their solutions

Even after all the settings, some users are having problems, and here are the most common cases and solutions.

Problem 1: Notifications come with a delay of 1-2 hours.

⚠️ Attention: This issue is often associated with Google Play Services, check if it is auto-starting and battery optimization turned off, and make sure that sync is enabled in your Google account settings (Settings). β†’ Accounts. β†’ Google β†’ Synchronization of the account).

Problem 2: Apps close immediately after the screen is locked.

  • Check if the charge saving or ultramode mode is enabled in the battery settings.
  • Open Settings β†’ Display β†’ Sleep mode and set the value Never (temporary test solution).
  • Make sure that the application settings allow access to Overlay (for some messengers this is critical).

Problem 3: File downloads in the background are not working.

⚠️ Note: For downloads via mobile network, check if the option to limit background traffic is enabled in Settings β†’ SIM-maps and mobile networks β†’ Transfer of data β†’ Background restriction: Some operators (e.g. MTS or Beeline) block background traffic on Internet-limited fares.

Problem 4: The navigator (Google Maps, Yandex Navigator) shuts down after 5-10 minutes.

  • Turn on In-Car Mode in the Navigator settings (this often resets the background activity timer).
  • Connect your smartphone to charging – many navigators work in the background only when connected power.
  • Check if Traffic Optimization is included in your mobile network settings.

FAQ: Answers to Frequent Questions

Why did all the background settings reset after the MIUI update?
MIUI (Especially version 13-14) often resets custom optimization settings after major updates.This is due to Xiaomi's security policy.To avoid problems: Before upgrading, take screenshots of all background settings. ADB-commands to force optimisation to disable (they are less susceptible to resetting). Check settings 1-2 days after the update - sometimes the reset does not happen immediately. If the problem recurs regularly, consider rolling back to a more stable version. MIUI (For example, from 14 to 13) or switch to custom firmware type LineageOS.
How to check if the application works in the background?
There are several ways: Through Task Manager: Open Settings β†’ Applications β†’ Application Management β†’ Launched and check if the app appears in the list. Through ADB: Connect your phone to your PC and execute the command: adb shell dumpsys activity activities | grep "mFocApp" It will show which application is currently active. Notification test: Ask a friend to send you a message in the messenger and check if it came immediately (with the screen on and off). For a deeper diagnosis, use the AccuBatter app (show you are suspended by the system).
Can battery optimization be turned off globally without ADB?
On most Xiaomi devices, you can’t completely disable optimization without ADB, but you can relax the limitations as much as possible: Turn on Performance in the battery settings (Settings β†’ Battery β†’ Performance Mode). Turn off the Adaptive Battery in the developer menu (Settings β†’ For developers β†’ Adaptive battery). Add critical applications in Unlimited (Method 2). Some firmware (e.g. Xiaomi.EU) has Disable MIUI Optimization option in the developer menu, but it’s not in the official builds.
Why is the background not working on POCO F3/F4/F5?
Series devices POCO F. Especially on MIUI 13-14) have additional limitations due to the "game" positioning. Solutions: Update the firmware to the latest version (in new builds some restrictions are removed). ADB-Teams from Method 5 are more stable POCO. Check the settings in the Security app (Security) β†’ Optimization β†’ Viral protection β†’ Settings β†’ Background optimization.If nothing helps, consider unlocking the bootloader and installing custom firmware (e.g., Pixel Experience) where there is no aggressive optimization. MIUI.
How to reset all background settings to factory?
To return all optimization parameters to the original state: Open Settings β†’ System system β†’ Settings reset. Select App Settings Reset (this won't affect your data, only permissions and settings). Confirm action and restart the device. If you only need to reset the battery settings, use ADB-Adb shell cmd battery reset