The secure app feature on Xiaomi smartphones is a key element of MIUI security that often raises questions among users, which can prevent background processes from being closed spontaneously, protect data from being cleaned when the screen is locked, and even bypass some of the energy saving limitations, but not everyone knows that adding the app to this list is possible not only through standard settings, but also through hidden system capabilities.
In this article, we will discuss all the current ways to add applications to the protected list on Xiaomi, Redmi and the Internet. POCO (including models 2023β2026 years MIUI 14/15). You will learn how to start, background and lock cleaning, and how to get around the limitations of the system if the desired application is not displayed in the list. ADB and MIUI Hidden Settings β These methods work even where the standard interface refuses to cooperate.
If you find instant messengers (Telegram, WhatsApp) constantly rebooting, music players (Spotify, VK Music) interrupted when you lock the screen, or background services (such as pedometers or sleep trackers) suddenly turn off β this guide will help solve the problem. We will also look at the risks of improper configuration and explain why some applications (banking, system) can automatically fall into a protected list without your participation.
What are secure applications on Xiaomi and why do they need them?
Protected Apps is a MIUI mechanism that prevents the system from forcing background processes to close, and unlike standard auto-start or background activity resolution, protected status ensures that the application:
- π Will not be killed by the system when cleaning up memory (Cleanup) RAM)
- π Will not lose data when blocking the screen (for example, chats in messengers)
- β‘ Priority in allocation of resources CPU/RAM
- π‘οΈ It will be protected from battery optimization (even in Ultra-Economic mode)
By default, system applications (Settings, Phone, Messages) and some third-party services (Mi Pay, Mi Home) fall into the protected list. However, the user often needs to add instant messengers (Telegram, Viber), navigators (Yandex.Maps, Google Maps), fitness trackers (Mi Fit, Google Fit) or banking applications (Sberbank Online, Tinkoff).
It is important to understand that protected applications β Auto-start. Auto-run just lets the application start when the phone is turned on, but it doesn't guarantee it's running in the background. But protected status is the highest priority, giving the application almost the same rights as system processes.
β οΈ Warning: Abuse of a protected list can lead to accelerated battery drain and slowdowns. Don't add more than 10 to 15 apps β MIUI It is beginning to misallocate resources.
Method 1: Adding through standard MIUI settings
The easiest method is to use the built-in MIUI tools. It works on all Xiaomi, Redmi and POCO smartphones with the MIUI 12-15 firmware version. The instructions are relevant for models from 2020 to 2026, including Xiaomi 13/14, Redmi Note 12/13 and POCO F5/X5.
Steps to add an application to protected:
- Open Settings β Applications β Application Management.
- Select the desired application from the list (for example, Telegram).
- Slip on Battery.
- Select the No Limits option or the Secure Application (the name may vary depending on the version of MIUI).
- Confirm the action by clicking Allow.
If there is no Safe App, try an alternative path:
- Go to Settings β Battery and Performance β Application Battery Management.
- Select the application and activate the Protect (or No Limits) switch.
βοΈ Verification of successful addition
On some firmware (e.g. MIUI 14 Global), the path may look different: Settings β Applications β Permissions β Autorun, where you first need to enable autorun and then manually add the application to the protected ones.
β οΈ Attention: POCO shelled POCO Launcher menus can be hidden behind additional tabs. If you can't find Secure apps, try changing the theme to standard. MIUI display-setting.
Method 2: Use Hidden Settings for MIUI Hidden Settings
If the standard method didnβt work (for example, the desired item is not on the menu), you can use the hidden MIUI settings. This will require the MIUI Hidden Settings application (available on Google Play), which reveals additional features of the system.
Instructions:
- Install. MIUI Hidden Settings from Google Play.
- Open the application and grant it ADB rights (if requested).
- Go to the Battery section β Protected Apps.
- In the list, find the desired application and activate the switch.
- Reboot your smartphone to apply the changes.
The advantage of this method is that it allows you to add to the protected applications even those that are not displayed in the standard menu (for example, some system services or applications with non-standard resolutions).
What if MIUI Hidden Settings doesnβt see the app?
Note that after using MIUI Hidden Settings, some functions may not work well. If you notice increased battery consumption or freezes**, return the settings to their original state.
Method 3: Adding via ADB (for power users)
If previous methods have failed, an advanced method is ADB (Android Debug Bridge), which requires connecting your smartphone to your computer and working with the command line, but it is guaranteed to work on all versions of MIUI, including MIUI 15.
Step-by-step:
USB debugging
Settings β Additional β For Developers
ADB Tools
cmd
adb devicesMake sure your device is listed.
com.example.app
org.telegram.messenger
adb shell dumpsys deviceidle whitelist +com.example.appReboot your smartphone.
To find out the batch name of the application, use the command:
adb shell pm list packages | grep "appendix name"For WhatsApp, it would be com.whatsapp.
adb shell cmd deviceidle whitelist +com.example.appOn some firmware MIUI 14+ This syntax works more consistently.-->
Critical! After using ADB, check if your settings reset after the reboot. On some devices (Xiaomi 12T, Redmi K50), the protected status can be reset, in which case you will have to repeat the command after each system update.
Why the app is not added to protected: common problems
Sometimes even after all the instructions are done, the application doesn't get on the protected list or keeps closing.
| Problem. | Possible cause | Decision |
|---|---|---|
| The item "Secure Applications" is not on the menu | Chinese or modified firmware installed | Install a global version of MIUI or use ADB |
| App disappears from list after reboot | MIUI optimization to save energy | Disable MIUI Optimization via ADB or add the app to Auto-Run |
| It's not working. ADB-team | An outdated version of Platform Tools or an antivirus blocking | Update ADB and temporarily disable antivirus on PC |
| The app is on the list, but it's still closed. | Conflict with other battery settings | Turn off the Adaptive Battery in the settings and restart the phone |
Another common problem is that banking applications (SberBank, VTB, Alfa-Click) are automatically added to protected applications, but they block other services, due to MIUI's security policy, which prioritizes financial applications, to rectify the conflict:
- π± Move the banking application to the Normal (not secure).
- π Reboot the phone.
- π Add the desired application to the protected first (bank will be added automatically second).
How to check if the protected status is working
Putting an app in a secure one is half the battle, and you have to make sure that it doesn't actually kill its processes.
Method 1: Screen lock test
- Open the app (such as Telegram or music player).
- Lock the screen for 5-10 minutes.
- Unlock and check: π¬ Messenger: chats loaded instantly (no reconnection). π΅ Music player: playback is not interrupted. π Navigator: the route did not reset.
Method 2: Checking with ADB
- Connect your phone to your PC and execute the command: adb shell dumpsys deviceidle whitelist
- Make sure your app package is on the list.
Method 3: Monitoring through Developer Options
- Activate Developer Mode (if not already enabled).
- Go to Settings β For developers β Working applications.
- Check if your app disappears from the list after the screen is locked.
π‘
If the application still closes, despite the protected status, the problem may be deep optimization of MIUI. Try to disable the Adaptive Battery and Background Limitation for this application manually.
What happens if you add too many apps to your protected apps?
Many users, trying to solve the problem with background processes, add to the protected all-in-a-kind applications β instant messengers, games, social networks, services. This is a dangerous practice that leads to the following consequences:
- π Accelerated battery discharge (up to 20-30% in 4-5 hours in standby mode).
- π’ Slowing down the system due to overload RAM.
- π₯ Overheating of the processor, especially on budget models (Redmi) 9A, POCO M3).
- π« Automatic removal from the list β MIUI It can reset if it detects too many secure applications.
Optimal number of secure applications: 5-10. Prioritize:
- Messengers (Telegram, WhatsApp, Viber).
- Navigators (Yandex.Maps, Google Maps, 2GIS).
- Fitness trackers (Mi Fit, Google Fit, Strava).
- Music players (Spotify, VK Music, YouTube Music).
- Banking applications (unless they are added automatically)
Games (PUBG, Genshin Impact), social networks (Instagram, TikTok) and browsers (Chrome, Firefox) do not need to be added to protected ones β they consume too much resources and do not require constant work in the background.