How to Close the Application on Xiaomi: All Ways to MIUI 12, 13, 14 and 15

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.

πŸ“Š How often do you close your apps on Xiaomi?
Every day.
Only if it's slowing down.
Never close.
I close everything before bed.

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:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find the app you want in the list (use a search if it’s not at the top).
  3. Slip on it and select Force Stop (or Force Stop in English).
  4. 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 removedEffects of consequences
Clearing the cacheTemporary files, images, web browsing cacheThe application can be loaded longer at the next start
Clearing the dataAll settings, accounts, local filesYou will have to re-enter your account and set up the program.
Forced stoppingActive processes in memoryTemporary 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:

  1. Go to Settings. β†’ The phone.
  2. Tap 7 times on the item "Version" MIUI" (A notice will appear saying, β€œYou have become a developer!").
  3. 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?
The name of the package (e.g. com.whatsapp) can be found through the App Inspector app (available on Google Play) or the adb shell pm list packages | grep command at the terminal.

⚠️ 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:

  1. Check if the problem has disappeared (if so, the third-party app is to blame).
  2. Go to Settings β†’ Applications and remove or stop the problem program.
  3. 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.

FAQ: Frequent questions about closing apps on Xiaomi

❓ Why does the app open again after closing?
This is a feature of MIUI, where the system automatically restarts some applications to speed up their opening. To turn it off: Go to Settings β†’ Applications β†’ Application Management β†’ [App Name] β†’ Battery. Select "Limit Background Activity." Turn off the "Out-Start" option in the same menu.
❓ How to Close a System Application That Cannot Be Stopped?
For system applications (e.g. Mi Video or Security): Use ADB with the pm disable-user command --user 0 com.package.name (disable the application before restarting) Install an alternative launcher (like Nova Launcher) that can hide system programs. ⚠️ Disabling critical services (e.g. com.miui.home) can make your phone inoperable!
❓ Why is it still on the menu after the app is closed?
In MIUI, the recent app menu shows not only active processes, but also "frozen" states for quick resumption.To completely remove the app from the list: Close it swipe up. Go to Settings β†’ Applications β†’ [Name] β†’ Forced Stop. If the problem recurs, clear the launcher cache (com.miui.home).
❓ Can I close all applications immediately?
Yeah, in MIUI There are a number of ways: 🧹 In the menu of recent apps, tap on the β€œClose Everything” icon (cross or basket at the bottom of the screen). πŸ”„ Use gesture: swipe up with finger retention for 2 seconds (does not work on all models). πŸ“± Hold the Home button (if you have one on your model) to call the cleaning menu. On some firmwares, the mass closing option is disabled, and can be returned through the developer settings (Settings). β†’ For developers β†’ Enable the "Close all" button").
❓ How to close the app if the screen does not respond to touch?
If the touch screen is not working: Connect your phone to your PC and use ADB to force stop: adb shell input keyevent 3 # Press Home adb shell am force-stop com.package.name If the ADB is not configured, hold the power button for 10+ seconds for a forced reboot. Some models have a power button combination + volume increase for reset. After rebooting, check the sensor performance in Settings β†’ About phone β†’ Diagnostic β†’ Touch Test.