Why apps continue to work in the background
Xiaomi Redmi 9 smartphone based on MIUI It is optimized for multitasking, but sometimes background processes start consuming too many resources. Applications can freeze due to code errors, conflicts with other services, or overloading of RAM. For example, instant messengers like Telegram or WhatsApp often remain active even after closing, consuming battery power and mobile Internet data.
Android 10 (or MIUI 12+ on Redmi 9) manages process priorities, but not always correctly. If a game or social network suddenly starts to slow down, warm the phone body or make errors, they must be forcibly stopped.
In this article, we will discuss all working methods - from basic to advanced, including: ADB-It is important to understand that some system applications (e.g., Security or Themes) cannot be stopped without the risk of failure. MIUI.
Method 1: Standard Stop through Android Settings
The safest method, which is 90 percent of the time, doesn't require superuser rights, and it works even on locked devices.
- Open Settings β Applications β Application Management.
- In the list, find the desired application (for example, Facebook or TikTok) and tap it.
- Click Stop (or Force Stop in new versions of MIUI).
- Confirm the action in the pop-up window.
β οΈ Note: After a forced stop, the app may stop sending notifications until you manually launch it. For example, Viber will not show new messages until you reopen it.
Check if the application is system-based (e.g., Camera or Contacts)
Restart your phone and try again.
Update the app through Google Play
Try alternative methods from this article.-->
This method does not delete the application data, but only stops it. If the goal is to save battery power, additionally turn off auto-start in the same application settings (Battery β Auto-Start).
Method 2: MIUI Task Manager (Fast Closing)
Xiaomi has added its own task manager to MIUI, which allows you to close applications without going into settings, a method that is convenient when you need to quickly free up RAM.
- π± Swipe up from the bottom of the screen and hold your finger. 1-2 Seconds to open the multitasking menu.
- π At the top of the screen will appear a panel with a memory usage schedule and the βClearβ button (or βClose allβ buttonΒ»).
- π« Click on it to stop all background processes except system processes.
- π― Or swipe left/right on a particular app card to close only it.
β οΈ Warning: Completely clearing memory through Task Manager can lead to rebooting of frequently used applications (e.g. Google Play Services), which will temporarily increase battery consumption.
Every day.
1-2 times a week
Only when the phone is slowing down.
Never clean.-->
If the application starts again after cleaning, check its autorun settings (see Method 4). Some programs (for example, AliExpress or Yandex.Browser) aggressively return to the background.
Method 3: Using Developer Mode (for experienced)
If standard methods donβt work, you can use hidden Android features, and you need to activate the developer mode first:
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row until the notification βYou became a developerβ appears.
- Return to the main settings menu and open a new section β For developers.
Now you have access to advanced settings to stop the unkillable app:
- π οΈ Enable the option βDo not remain activeβ** (the section of the Application in the developer settings).
β οΈ Warning: Improper changes in developer mode can cause disruptions MIUI. For example, disabling the option Do not turn off the screen while charging will result in the phone not showing the percentage of charge when connecting to the network.
What if the developer mode disappeared after the update?
Method 4: Disabling Autostart and Background Activity
Many apps automatically start when you turn on your phone or connect to the Internet, and to avoid this, you need to turn off auto-start and limit background work.
| Setting up | The way is on the menu | The effect |
|---|---|---|
| Auto-start | Settings β Applications β Application Management β [Select App] β Battery β Auto Run | The app will not start when the phone is turned on. |
| Background activity | Settings β Battery β Applications Selection β [Select App] β Background Activity | Limits work in the background but may disrupt notifications |
| Optimizing the battery | Settings β Battery β Battery Optimization β All applications | The system will be forced to close the application at a low charge |
For example, for Instagram or YouTube, it is enough to turn off autostart and background activity, this will reduce battery consumption by 15-20% without losing functionality, but for messengers (WhatsApp, Viber), it is better to leave autorun, otherwise notifications will come with a delay.
π‘
If the application still starts after disabling autorun, check it in Settings β Permissions β Autorun. Some programs (such as Mi Fit or Google Play Services) have separate permissions to start automatically.
For maximum effect, combine this method with Method 1 (forced stopping).
- Stop the application through the settings.
- Turn off autostart and background activity.
- Reboot the phone.
Method 5: ADB-Compulsory Closing Commands (Advanced)
If the application is not closed by any means (for example, virus software or system failure), you can use ADB, a debugging tool for Android, which requires connecting the phone to the computer.
Be prepared first:
- π₯οΈ Install Android SDK Platform-Tools on PC.
- π± Put the debugging on. USB in the developer settings (Settings) β Additionally. β For developers β Debugging by USB).
- π Connect Redmi 9 to your computer and confirm your trust in the device.
Now run commands in the terminal (or cmd):
adb devices # Checking the connection
adb shell pm list packages # Show list of all applications
adb shell am force-stop com.example.app # Replace com.example.app with the desired application packageβ οΈ Attention: Misuse of the right ADB This can cause data loss or system failure, such as adb shell pm clear com.miui.home resetting the home screen settings. MIUI.
To find the name of the package of the problem application, use the command:
adb shell pm list packages | grep -i "appendix name"For example, Facebook would be com.facebook.katana.
π‘
ADB allows you to stop even system applications, but it can disrupt MIUI. Always check the name of the package before executing a command.
What to do if the application does not close anyway
If none of these methods worked, the problem may be deeper:
- π¦ Virus or malware: Scan through Dr.Web or Malwarebytes. some Trojans block attempts to shut them down.
- π System failure: Try resetting to factory settings (Settings) β System system β Reset settings), but save data first.
- π¦ Damaged application files: Delete and reinstall it. System applications (e.g. Mi Video) may require firmware.
- π Memory failure: If your phone is constantly braking and overheating, contact a service center β you may need to replace your memory chip.
If the problem occurs after the MIUI update, try to revert to the previous version via Fastboot (instructions are available on the 4PDA forum). For example, switching from MIUI 13 to MIUI 12.5 sometimes resolves conflicts with background processes.