Xiaomi Phones Closes Background Apps? Here’s How to Fix

Xiaomi mobiles are specially designed to run battery optimization in the background to increase battery life. However, this feature also closes down background apps. If you want to keep your apps running in the background for easy access, you can modify certain settings to achieve that.

In this guide, we have listed multiple ways to turn off battery optimization and the app-killing process. So let’s begin!

1. Turn off battery optimization

Battery optimization settings are the primary reason for the frequent closing of background apps. MIUI might have set a timer for apps to run in the background, causing them to shut down after a specific period of time. However, we can disable this option in the settings to keep the apps running. Here is how to do it:

  1. Go to Settings > Privacy Protection.
  2. Look for the Special Permissions option and open it.
  3. Tap on Battery Optimization in the new window.
  4. Now, it will only open the apps that are not optimized. Tap on the drop-down menu and select All Apps.
  5. Look for your desired app in the list and tap on it.
  6. Now, select Don’t Optimize.
  7. Finally, tap on Done to finish the process.

Battery optimization settings have been altered, and your desired application is locked. Now, MIUI won’t close it while it is running in the background.

2. Lock the Desired Apps

Sometimes, we want our application to run in the background to complete a specific task. For example, a pending download of a YouTube video will require the app to run consistently. For that purpose, we can lock our desired application to prevent it from being killed while the download is pending. Follow the steps below to close the application.

  1. Open your desired application to be locked and run any program.
  2. Return to the home screen so your desired application runs in the background.
  3. Look for the Security app in your apps list and open it.
  4. Now tap on the Boost Speed option.
  5. Look for the Settings icon at the top right corner and tap on it.
  6. Then select the Lock Apps option.
  7. In the apps list, turn on the toggle to lock your desired application.

Return to the home screen and check the apps running in the background. Here, you will see a lock sign on your desired application. Now, check whether your problem has been solved. If the issue persists, move to the next method.

3. Autostart in MIUI

Xiaomi allows apps to run in the background using the Autostart feature. This feature can be adjusted according to your requirements to prevent the automatic background app-killing process. After enabling this feature, apps set to auto-start will continue running in the background even when you restart your phone. Follow the steps below to turn on the Autostart feature:

  1. Open the Security application on your Xiaomi mobile.
  2. Tap on the Manage Apps option.
  3. Now, tap on the Permissions icon at the top right corner of the screen.
  4. Select AutoStart and it will take you to the list of mobile apps.
  5. Once here, select your desired application and turn on the toggle to enable the Autostart feature.

4. Enable the Built-in App Lock

You can utilize the built-in app lock to prevent your application from being killed in the background. Here is how you can use it:

  1. Go to Settings and scroll down to select Apps.
  2. Now tap on the App Lock option in the new window.
  3. Turn on the toggle for your desired apps in the list.
  4. The system will ask you to put a pattern/lock on it. Set Pattern/Pin/Password or fingerprint lock for your app lock.

Your selected application is now under extra security measures. Therefore, no one can breach it when running in the background. Even if the system wants to close it, it will not be able to do so.

4. Use Developer Options

MIUI is excessively focused on providing its users with a low-drain battery setup. It also allows you to control the number of processes running in the background.

In the default settings, few processes are allowed to run in the background to keep the battery intact for a long time. It might be the reason why the background apps shut down too soon. However, you can change this setting as per your desire. Here is how:

  1. Go to the Settings app and open Additional Settings.
  2. Select Developer options in the new window.
  3. Now, scroll down and tap on Background Process Limit.
  4. Select your desired processes in the dropdown list. Always decide the processes according to the size of your battery.
  5. Reboot the device, and your settings will finally be updated.

If you are using the developer options for the first time, you might not find it in the additional settings. Do this simple process to turn on the developer options.

  1. Go to the Settings app on your mobile.
  2. Now tap on the About Phone option.
  3. Here look for the option named MIUI Version. Tap on it four to five times unless it enables the developer options.
  4. Now go back again and look for the Developer options in Additional settings.

Now that you have enabled the Developer options, you can follow the steps mentioned above to change the Background Processes Limit.

Source
DontKillMyApp
ABOUT THE AUTHOR

Maryam Gilani


Maryam is a tech enthusiast with a passion for all things digital. She has a deep understanding of the latest technological trends and advancements. With her strong problem-solving abilities and exceptional attention to detail, she can quickly identify and fix any IT-related problem that comes their way. But what sets Maryam apart is her proficiency in mobile troubleshooting. Be it a problematic app, slow device, or frustrating software update, Maryam is skilled in tackling any mobile issue with ease.