Closing applications on Xiaomi smartphones seems like a simple task, but many users face nuances: some programs continue to work in the background, consuming battery power, and others suddenly restart after βclosingβ. In this article, we will discuss all the current ways to terminate applications on devices with the shell of MIUI (versions 12-15), including hidden functions and forced stop.
Itβs important to understand that Xiaomi aggressively optimizes background work through the MIUI Optimization mechanism, so standard βswipingβ a card from the menu of recent apps does not always mean complete closure. Weβll look at methods for different scenarios, from basic completion to deep cache cleaning and forced stop through the developer settings.
The article will suit the owners of all lines: Redmi Note 10/11/12, POCO F3/F4/F5, Xiaomi 12/13/14 and other models on MIUI. If your application freezes, brakes or does not close in standard ways - here you will find a solution.
1. Standard Closing through the Recent Apps Menu
The most obvious way is to use the recent taskbar, and on most Xiaomi smartphones, to do this:
- π± Click on the βRecent Appsβ button (usually a swipe up late or a three-bar button at the bottom of the screen).
- π Scroll through the list of open programs and find the right one.
- β¬οΈ Swipe the app card upwards (on some models - sideways).
However, this method does not guarantee complete shutdown: MIUI can leave the application in sleep mode for a quick restart. To check if the program has actually closed, go to Settings β Applications β Application Management and see the status of the process.
On devices with MIUI 14/15, a group closing option has been introduced: hold your finger on one application card and select others for mass termination, which is convenient if you need to free up RAM before launching a heavy game or program.
β οΈ Warning: Frequently closing applications manually can increase battery consumption. MIUI Optimized to control background processes automatically β forced termination causes the system to waste resources on restarting.
2. Forced stop through application settings
If the program is frozen or does not close in the standard way, use the "Forced Stop" function, which is guaranteed to terminate all the processes of the application, but can reset unsaved data.
Instructions:
- Open Settings β Applications β Application Management.
- Find the app you want in the list (use a search if itβs not at the top).
- Slip on it and select Force Stop (or Force Stop in English).
- Confirm the action in the pop-up window.
Save all data in the app
Close all related processes (e.g. widgets)
Remember that notifications from the app will temporarily disappear.
After a stop, a reboot may be required.-->
This is useful for system applications (e.g. com.miui.gallery or com.android.settings) that cannot be removed but sometimes need to restart. However, beware: stopping critical services (e.g. Google Play Services) can cause the phone to malfunction.
3. Cleaning the cache and application data
If the app not only doesn't close, but it doesn't work properly (flys, slows, shows errors), try clearing its cache and data. This is a radical method that will reset all the program settings to factory.
How to do this:
- ποΈ Go to Settings. β Annexes β Application management β [Title of the annex].
- π§Ή Select "Clear Cache" (will delete temporary files, but not settings).
- π If the problem persists, click Clear Data (full reset, including accounts and settings).
| Action. | What's removed | Effects of consequences |
|---|---|---|
| Clearing the cache | Temporary files, images, web browsing cache | The application can be loaded longer at the next start |
| Clearing the data | All settings, accounts, local files | You will have to re-enter your account and set up the program. |
| Forced stopping | Active processes in memory | Temporary loss of functionality before restart |
Warning: Clearing data for system applications (such as Mi Browser or Security) can cause MIUI to malfunction. Do not apply this method to services named com.android. or com.miui. unless absolutely necessary.
4.Using Developer Mode for Deep Closing
For power users who want to have full control of background processes, MIUI has hidden developer settings that allow you to disable optimization for individual applications or even completely unload them from memory.
How to turn on the developer mode:
- Go to Settings. β The phone.
- Tap 7 times on the item "Version" MIUI" (A notice will appear saying, βYou have become a developer!").
- Return to the main settings menu and open a new section for developers.
Now you can:
- π Disable optimization for a specific application: find it in the list and uncheck the box MIUI Optimization.
- π§ Limit background activity: Set Do Not Limit or Limit in the battery settings for the application.
- π Complete all processes through adb shell am force-stop [package_name] (requires a connection to the PC).
How to find the name of the application package?
β οΈ Attention: Disconnection MIUI Optimization for system applications can cause your phone to overheat or cause your battery to run out faster.
5. Close through Safe Mode (for suspended applications)
If the app is so overly getting stuck that it doesn't respond to swipes or buttons, try Safe Mode, which only downloads system programs, allowing you to remove or stop the problem software.
How to run Safe Mode on Xiaomi:
- π Turn off the phone with a long press on the power button.
- π Hold the "Switch off" button until the offer to go to safe mode appears.
- π± Confirm the transition. The phone will reboot with the words Safe Mode at the bottom of the screen.
In safe mode:
- Check if the problem has disappeared (if so, the third-party app is to blame).
- Go to Settings β Applications and remove or stop the problem program.
- Reboot your phone to exit safe mode.
This method is useful if the virus software blocks access to settings or if the application does not allow you to leave full-screen mode (for example, some games or banking programs).
π‘
If the phone doesnβt respond to the buttons, try holding the power button + volume up for 10 seconds for a forced reboot.
6. Automatic closing through battery settings
MIUI has built-in tools to limit the background activity of applications that can be used to automatically close them.
How to set up:
- π Go to Settings. β Battery and productivity β Battery consumption management.
- π Select the application from the list (sorting by charge consumption).
- β‘ Set a limit: "No restrictions" - the application works freely; "Limit background activity" - closes when the screen is locked; "Deep optimization" - is forced to close after 10 minutes of inactivity.
For maximum battery savings, turn on the "Ultra-Economic" mode in the battery settings - it aggressively closes all background processes except system ones.
7.Alternative methods: ADB and third-party utilities
For advanced users, there are additional ways to manage applications:
- π₯οΈ Through ADB: Connect your phone to your PC and use the commands: adb shell am force-stop com.package.name adb shell pm clear com.package.name (replace com.package.name with the real name of the package).
- π οΈ Third-party utilities: Apps like Greenify or Brevent allow you to βfreezeβ background processes without root rights.
- π Tasker: Automate the closure of applications on a schedule or under certain conditions (for example, when connecting to Wi-Fi).
π‘
Using ADB requires USB debugging enabled in the developer settings, and without that, the commands won't work.
Remember that third-party utilities can conflict with MIUI Optimization, so after using them, monitor the stability of the phone.