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

Xiaomi Redmi smartphones based on MIUI are known for aggressive battery optimization, which often blocks the background of applications from messengers to fitness trackers. Users face problems: Viber does not send notifications, Google Fit stops syncing data, and music players turn off when the screen is locked. In this article, we will analyze all the ways to adjust the background mode, from basic MIUI parameters to hidden functions for experienced users.

The problem lies in three layers of optimization: Autostart applications, Battery Optimization, and Background Blocking. The manufacturer claims that these mechanisms save power, but in practice they break user experience. For example, in MIUI 14, the optimization algorithm automatically freezes applications if they have not been used for more than 3 days - even if they are critical (for example, bank notifications).

1 Basic settings MIUI: Autostart and Lock

The first step is to check the autorun permissions, which are hidden deep in the menu in MIUI, and many users are unaware of its existence, and without autorun, the application will not be able to run itself after restarting or clearing the memory.

How to turn on autostart:

  1. Open Settings β†’ Applications β†’ Application Management
  2. Select the desired application (for example, Telegram)
  3. Tap on Autostart and activate the switch
  4. Go back and check Other Permits β†’ Auto Run (for some versions of MIUI)

Important: on the Redmi Note 10/11/12 and newer models, the path may be different. If the AutoRun option is not in the app menu, use an alternative method:

  • πŸ” Go to Settings β†’ Battery and Performance β†’ Battery Management
  • πŸ“± Select Application Selection (or Auto-Run Applications in Older Versions)
  • ⚑ Turn on the switch for the desired application

⚠️ Warning: After the MIUI update, the autorun settings may reset. Check them after each major update (especially when upgrading to a new version of Android).

πŸ“Š What Redmi model do you use?
Redmi Note 10/11/12
Redmi 9/9A/9C
Redmi K40/K50
Another model

Battery Optimization: How to Disable Restrictions

MIUI by default limits the background activity of all applications except system, even popular services like WhatsApp or Spotify, to remove the restrictions:

Method 1 (for most applications):

  • πŸ”‹ Go to Settings. β†’ Battery and productivity β†’ Battery management
  • πŸ“² Select Application Choice (or Battery Optimization)
  • πŸ”„ Find the right application and set the No Limits mode

Method 2 (for system applications):

1. Open Settings β†’ About the phone


2. Tap 7 times on the item "Version MIUI" (activates the developer mode)




3. Return to Settings β†’ Additional β†’ For Developers




4. Find MIUI Optimization and turn it off.




5. Reset the device

On Redmi with Android 12+, an additional step may be required: in the Developer Menu, find Background Process Limitation and set the No Limits value or Process Maximum 4.

MIUI versionThe Way to Optimization SettingsRecommended treatment
MIUI 12-13Settings β†’ Battery β†’ Battery Management β†’ Applications SelectionNo restrictions.
MIUI 14Settings β†’ Battery and Performance β†’ Battery OptimizationNo Limitations or High Performance
MIUI 15 (Android 14)Settings β†’ Applications β†’ Special access β†’ Battery optimizationNot optimize

πŸ’‘

If after optimizing, the battery starts to run out faster, try turning on Adaptive Battery mode in the developer settings, which keeps the balance between performance and power consumption.

3. Hidden settings: fixing applications in memory

Even after optimizing is disabled, MIUI can kill background processes when memory is scarce, to lock the application into RAM:

Method for MIUI 12-14:

  • πŸ“Œ Open the Settings. β†’ Annexes β†’ Application management
  • πŸ” Select the desired application (e.g. Yandex.Navigator)
  • πŸ” Slip on Block (or Lock in new versions)

For Android 11+ with MIUI 13/14, an alternative method is available via ADB (requires PC):

adb shell cmd appops set com.example.app RUN_ANY_IN_BACKGROUND allow


adb shell cmd device_idle whitelist +com.example.app

Replace com.example.app with a real app package (e.g. com.whatsapp for WhatsApp) and find out through the App Inspector app from Google Play.

⚠️ Warning: Fixing too many applications in memory can slow down the system.The optimal number is 2-3 mission-critical applications (e.g., navigator + messenger + music player).

Autorun enabled | Battery optimization disabled |Application locked in memory |Notifications allowed in app settings-->

4.Setting up notifications: why they don't come

A common problem with Xiaomi Redmi is that notifications come late or not at all, even if the background is set up.This is due to the Mi Push Framework service, which filters notifications at the system level.

How to fix it:

  1. Open Settings β†’ Notifications and Status Bar β†’ Notification Management
  2. Find the problem app and activate all the switches: πŸ”” Allow notifications πŸ“Œ Priority notifications πŸ”• Sound and Vibration πŸ“± Show on the lock screen

Management of notifications

Notification settings

Adaptive notifications

Grouping of notifications

For instant messengers (Telegram, Viber, WhatsApp) additionally:

  • πŸ”„ In the settings of the application itself, turn off Traffic Optimization (if any)
  • πŸ“Ά Enable Permanent Connection or Background Sync
  • πŸ”’ In Settings β†’ Privacy β†’ Special permissions give access to AutoRun and Change System Settings (for some versions)
Why do notifications come in packs?
This is due to the Doze Mode mechanism in Android, which Xiaomi has reinforced with its algorithms. When the device is long inactive (for example, at night), the system β€œfreezes” network activity and delivers notifications only when the screen is turned on the next time. To avoid this, add the application to the Doze exceptions via ADB: adb shell dumpsys deviceidle whitelist +com.example.app

5. Problems with specific applications

Some applications require customization due to their work, and let's look at the most problematic cases:

πŸ“± Messengers (WhatsApp, Telegram, Viber)

  • πŸ”Ή Enable Autoboot Media in Messenger Settings
  • πŸ”Ή Turn off Traffic Savings in MIUI (Settings β†’ SIM-Maps and Mobile Networks β†’ Traffic Saving)
  • πŸ”Ή For Telegram: In the app settings, activate Autoboot and Background connection

🎡 Music players (Spotify, Yandex.Music, VLC)

  • 🎧 In the player settings, enable Background playback
  • πŸ”Š Turn off Sound Optimization in Settings β†’ Sound and Vibration β†’ Audio Effects
  • πŸ”„ For Spotify: In the app settings, activate Device broadcast status

πŸƒ Fitness trackers (Google Fit, Mi Fit, Strava)

  • πŸ“Š In the application settings, enable Background Synchronization
  • πŸ”„ Turn off Location Optimization in Settings β†’ Location β†’ Mode (set High Accuracy)
  • πŸ”‹ For Mi Fit: In the application settings, activate Autosynchronization and Background mode

For banking applications (SberBank, Tinkoff, VTB) additionally requires:

1. In the application settings, disable "Operation Optimization"


2.In Settings β†’ Applications β†’ Special Access β†’ Display over other apps allow overlay




3.In Settings β†’ Battery β†’ Battery Optimization Set β€œNo Limits”

6. Radical methods: disabling MIUI Optimization

If standard methods don’t work, you can turn off MIUI optimization completely, which will give you maximum freedom for applications, but can reduce battery life by 15-20%.

Instructions:

  1. Activate Developer Mode (7 taps according to MIUI version in About Phone)
  2. Go to Settings β†’ Additional β†’ For Developers
  3. Find the items: MIUI Optimization – disable Background Process Limitation – set Without Limits Do Not Save Actions – Disable

Reset the device

For MIUI 14+ on Android 13/14, you will need:

adb shell settings put global hidden_api_policy 1

This command unlocks the hidden APIs that Xiaomi uses for aggressive optimization.

⚠️ Warning: Complete shutdown of MIUI Optimization may result in: Faster battery drain Overheating of the device at high loads Slowdown of operation after 2-3 days without restarting We recommend using this method only if other methods have not helped.

πŸ’‘

Disabling MIUI Optimization is the most effective, but also the riskiest method. Before using it, check all other methods and make sure that the problem is in the optimization of the system, and not in the application itself.

7. Alternative solutions: third-party utilities

If manual settings don't work, you can use specialized applications that automate the background setting process and often offer additional features.

Top-3 utilities for Xiaomi Redmi:

AnnexFunctionsReferenceFeatures
MIUI Battery OptimizerAutomatic optimisation disablement for selected applications Background activity monitoring Process blocking notificationsGoogle PlayRequires ADB rights for full-time work
GreenifyManual and automatic hibernation of unnecessary applications Unlock background work for important services Integration with Xposed (for advanced users)Google PlayThe free version has limitations.
AutoStartAutorun All Applications Manages Hidden System Services Export/Import SettingsGoogle PlaySome models of Redmi require root

For the use of these utilities:

  1. Download and install the app from Google Play
  2. Launch and provide all requested permissions
  3. In the main menu, select problem apps and apply the recommended settings.
  4. Restart the device to apply changes

Important: Some utilities (such as Greenify) require additional customization through ADB. Instructions are usually included in the application description.

8. Checking results and troubleshooting

After applying all the settings, you need to check if the application is working in the background.

Methods of verification:

  • πŸ“± Notification test: Ask a friend to send you a message in the messenger. The screen must be locked for at least 5 minutes.
  • 🎡 Playback test: Run the music in the player, lock the screen and wait 10 minutes. The music must not be interrupted.
  • πŸ“ Location Test: Turn on tracking in a fitness app (like Strava), put your phone in your pocket and walk 200-300 meters.The route must be recorded without passes.
  • πŸ”„ Sync Test: For cloud services (like Google Drive), create a test file and check if it appears on other devices in 1-2 minutes.

If the app is still not working in the background:

  1. Check the Battery Log (Settings β†’ Battery β†’ Battery Use) If the app doesn’t appear on the list, it’s blocked by the system.
  2. Install BetterBatteryStats from Google Play for a detailed background analysis.
  3. Try Clearing the app cache (Settings β†’ Applications β†’ App management β†’ Clear the cache).
  4. If nothing helps, check if there are any problems on the server side of the application (for example, WhatsApp sometimes blocks accounts when suspicious activity occurs).

⚠️ Warning: On Redmi with Android 13+, after resetting to factory settings, all background permissions are reset. Save a list of important apps in advance to quickly restore settings.

πŸ’‘

If you frequently reflash your Redmi, back up your background settings using the Swift Backup app (requires root).

Frequently asked questions

❓ Why did the background mode break again after the MIUI update?
Xiaomi regularly tightens its battery optimization policy in new versions MIUIAfter major updates (e.g., with MIUI 13 on MIUI 14) all background settings are reset. Re-enable AutoRun for all important applications Check Battery Optimization – often the path to settings changes Update the utilities used (e.g. Greenify) before the latest version of B MIUI 14 added a new mechanism Intelligent battery saving, which automatically blocks background processes at low battery charge (less than 15%). Turn it off in Settings. β†’ Battery β†’ Intelligent charge conservation.
❓ Can I set up the background without disabling the optimization MIUI?
Yes, in most cases, it is enough: Enable AutoRun for the application Disable Battery Optimization for a particular application (not completely! Lock the application in memory via Settings β†’ Apps β†’ Block Add the application to Doze Mode exceptions via ADB These measures will give 80-90% of the effect of completely disabling optimization, but without negatively affecting autonomy. For example, for Google Maps in navigation mode this is quite enough.
❓ Why do some applications (e.g. banking) still not work in the background?
Banking applications (SberBank, Tinkoff, VTB) often have additional protection mechanisms that conflict with the optimization of MIUI. The problem is solved as follows: In the application settings, turn off Operation Optimization (if there is such a point) In Settings β†’ Applications β†’ Special access give permissions: Display over other apps (display over other applications) Modify system settings (change system settings) For SberBank Online, you additionally need to turn on notifications in the application settings and turn off Traffic Savings in the MIUI settings. If the problem remains - try to restate the application often in the internal instructions for them.
❓ How do you check which applications are blocked by the system?
There are several ways: Through the battery log: Go to Settings β†’ Battery β†’ Use the battery tap on the chart and select Application details that do not appear in the list are most likely blocked through ADB: adb shell dumpsys battery unplug This command will show a list of apps that have been stopped by the system. Using BetterBatteryStats: Install the app from Google Play Give it access ADB (PC connection required) Partial wakelocks or Alarms will show blocked processes on MIUI 14 You can also use built-in monitoring: Settings β†’ The phone. β†’ Debugging β†’ Activity monitoring (Developer Mode needs to be activated).
❓ Does disabling optimization affect phone performance?
Yes, but the impact depends on the model: Redmi Note 10/11/12 (with Snapdragon 6xx/7xx): it is possible to slow down while running 5+ background applications. It is recommended to fix in memory no more 3 applications. Redmi K40/K50 (with Snapdragon 8xx): There's little impact on performance, thanks to the powerful processor and the large amount of RAM. Redmi 9/9A/9C (budget models): you can have a lot of lags when you're using it heavily. You don't want to turn off the optimization completely, you have to configure each application separately. If after optimizing, the phone starts to warm or run out quickly, return some of the restrictions. For example, leave Optimization MIUI on, but manually set exceptions for mission-critical applications.