Why apps are closing in the background on Redmi Note 9 and how to fix it
Owners of Xiaomi Redmi Note 9 often face a problem: messengers, music players or navigators suddenly βfly outβ from the background, interrupting playback or notifications. The reason for this is the aggressive optimization of the battery in the MIUI firmware, which forcibly closes βunnecessaryβ processes. But the solution is: the correct setting of background processes and exceptions will keep critical applications always active.
In this article, we will discuss 5 working methods for fixing applications in the background, including hidden MIUI settings that Xiaomi does not advertise. Importantly, some methods require administrator rights or enable developer mode - but the result is worth it. Let's start with the simplest and end with advanced tricks for power users.
Method 1: Setup the autoloading of the application
The first step is to add the app to the autoboot list, which will allow it to start automatically after the device is restarted and reduce the chances of forced closure.
Instructions:
- π± Open the Settings. β Annexes β Application management
- π Find the desired application (for example, Telegram or Yandex.Navigator) and tap it
- π Go to the Autoboot section and activate the switch
- β‘ Reboot your smartphone to make changes take effect
This method works for most applications, but does not guarantee 100% stability. For instant messengers (such as WhatsApp), additionally check the notification settings - they must be enabled without restrictions.
Add to autoload|Check notifications|Reset the device|Testing in the background 10-15 minute-->
Method 2: Disabling Battery Optimization for a Specific Application
MIUI by default limits the background activity of hated applications to remove the restrictions:
Algorithm of action:
- Go to Settings β Battery and Performance β Battery Optimization
- Select All Apps in the top menu
- Find the right app (like Google Maps) and tap it.
- Choose the No Limits option (not to be confused with Optimized!)
β οΈ Note: This method can increase battery consumption 5-15% Don't use it for all programs in a row, only for mission-critical programs.
| Annex | Recommended treatment | Estimated increment in consumption, % |
|---|---|---|
| Telegram | No restrictions. | 3-7% |
| Yandex.Music | No restrictions. | 5-10% |
| Google Maps | No restrictions. | 8-15% |
| Viber | Intelligent optimization | 1-3% |
Telegram|WhatsApp|Yandex.Navigator.|Google Maps|Spotify|Other-->
Method 3: Fixing through developer settings
For advanced users, there's a hidden method that uses developer mode, which allows you to forcefully limit the number of background processes, but it requires caution.
How to turn on:
- Activate Developer Mode: Settings β About Phone β MIUI Version (Tap 7 times)
- Go back to the main settings and open a new section for developers
- Find the parameter Background Process Limit and set the No Limits or Standard Limit
- In the same menu, activate Do not disable background processes
β οΈ Note: setting the "No Limits" value can cause the device to overheat when multitasking is intense. Use this method only if previous ones have not helped.
What to do if after the changes the smartphone began to slow down?
Method 4: Use the memory lock function (MIUI 12+)
Starting with MIUI 12, Xiaomi added a useful feature, which is to block applications in memory, which prevents the application from unloading from RAM even when resources are scarce.
Step-by-step:
- π² Open the latest apps (swipe up with a delay)
- π Find the card of the desired application and swipe down (not to the right!)
- π‘οΈ The lock icon will appear - tap it for activation
- π Repeat for all critical applications (maximum) 3-5 piece)
This method works instantly and does not require rebooting. However, remember: abuse of locking (more than a few). 5 applications) may slow down the system. 1-2 major.
π‘
If the lock icon does not appear when swiping down, upgrade to the latest version of MIUI. In older versions (below 12.0.3), this feature may not be available.
Method 5: Adjust system settings through ADB (for experienced)
If standard methods donβt work, the last option is to disable MIUI optimization via ADB. This requires a computer and basic command line knowledge.
Instructions:
1. Connect Redmi Note 9 to your PC via USB (enable USB debugging in the developer settings)
2. Open the command line (Windows) or the terminal (Mac/Linux)
3. Enter the command:
adb shell dumpsys deviceidle whitelist +com.example.app
(Replace com.example.app with your applicationβs batch name)
4. To disable all restrictions, use:
adb shell dumpsys deviceidle force-idle
adb shell settings put global hidden_api_policy 1π How to find a batch name? Install the App Inspector app from Google Play, which will show the exact packet names for all installed programs.
β οΈ Attention: misuse ADB-commands can lead to unstable system operation or reset settings. Before experiments, back up your data through Settings β Additionally. β Backup and reset.
Additional tips for stable operation of background applications
Besides the basic techniques, there are a few assistive tricks that will improve the situation:
- π Turn off the Adaptive Battery in the battery settings β it often conflicts with manual settings
- π΅ Add the application to Memory Cleanup Exceptions (Cleanup section in settings)
- π Regularly (once a month) reset the system cache through Settings β Memory. β Cleanup
- π² For instant messengers, disable push notification optimization in their individual settings
If the problem persists despite all efforts, check the firmware version. Redmi Note 9 is the most stable global build MIUI 12.5.3 and later. Update the system through Settings β Software Update.
π‘
The combination of 2 (disable battery optimization) + 4 (lock in memory) gives the best result for 90% of users.