Why Xiaomiβs Sleep Mode is Interfering with Users and When to Turn It Off
Sleep mode (or βsleep modeβ) on Xiaomi smartphones is an energy-saving feature that automatically turns off the screen and pauses background processes when the device is inactive. In most cases, it is useful: saves battery power and prolongs battery life. However, there are situations when automatic switching off the screen becomes a problem.
For example, you watch a long video on YouTube or Twitch, you read an e-book in an app, or you use your phone as a navigator in your car, and the screen goes out after 30-60 seconds, interrupting the process. This is especially annoying on Redmi Note and POCO models, where aggressive power saving timeouts are installed by default. Another common reason to turn off is to test apps where you want the screen to stay on all the time.
In this article, we will analyze all available ways to turn off sleep mode on Xiaomi, including standard MIUI settings, hidden developer parameters, as well as advanced methods using ADB. Separately, we will dwell on the nuances for different versions of firmware (from MIUI 12 to MIUI 14) and models (Xiaomi 13, Redmi Note 12, POCO F5, etc.).
Method 1: Change the time of automatic screen shutdown
The easiest and safest method is to increase the interval before the screen is turned off, which will not completely turn off sleep mode, but will make it less intrusive, suitable for most users who only need a little more time before blocking.
Instructions:
- π± Open the Settings. β Screen.
- β±οΈ Find the Sleep option after (or Automatically turn off the screen in new versions) MIUI).
- π’ Choose the maximum value β usually 10 minutes or 30 minutes (depending on the model).
- π On some devices (POCO X5, Redmi K60) You may need to confirm your password.
Please note: Xiaomi with AMOLED-screens (e.g. Xiaomi) 12T or Redmi K50) Long periods of inactivity with the display on can cause pixels to burn out. If you need to keep the screen on for more than 30 minutes, it's best to use alternative methods from this article.
Method 2: Turn off sleep through "Developer settings"
If standard settings are not enough, you can use hidden options for developers, which allows you to completely disable automatic screen shutdown, but requires pre-activation of the developer mode.
How to turn on the developer parameters:
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row (you will be notified "You became a developer!").
- Return to the main settings menu β there will be a new section for developers.
Now, turn off the dream:
- π οΈ Go to Settings. β For developers.
- π Scroll down to the Debugging block.
- π Find the option to βDo not turn off the screenβ (or βRemain active in new versionsβ) and turn it on.
- β οΈ On some firmware (MIUI 14 for Xiaomi 13 Ultra) this option may not be available β then use Method 3.
β οΈ Warning: Activating Developer Mode opens up access to system settings that could disrupt the stability of your phone. Do not change other options on this menu unless you are sure of their purpose.
βοΈ Preparation for changing the developerβs settings
Method 3: Using apps to block sleep
If the system settings donβt work, you can use third-party utilities, which are especially useful for POCO and Black Shark, where the manufacturer often limits user settings for the sake of a βgame experience.β
Top.-3 tested applications:
| Annex | Features | Download link |
|---|---|---|
| Keep Screen On | A simple app with a widget for fast sleep blocker on/off, runs on MIUI 12-14 without root. | Google Play |
| Caffeine | Adds an icon to the notification panel to temporarily shut down sleep. Supports Xiaomi, Samsung, OnePlus. | Google Play |
| Stay Alive | Advanced Settings: You can only turn off sleep for specific apps (like Google Maps or Waze). | Google Play |
How to set up Stay Alive (Like Redmi Note 11):
- Install the application and open it.
- Go to the Apps section and select those that you want to turn off sleep for (like YouTube or Google Chrome).
- Turn on the option to keep the screen on.
- In the application settings, activate Ignore Battery Optimization (important for MIUI!).
β οΈ Note: Some apps (e.g. Stay Alive) require permission to Overlay over other windows. β Annexes β Permits β Special access β Overlaying on top of other applications.
Method 4: Turn off sleep through ADB (for power users)
If previous methods have failed, you can use Android Debug Bridge (ADB), a tool for low-level device management, which is suitable for Xiaomi on MIUI 13/14, where the manufacturer often blocks user settings.
What you need:
- π₯οΈ Computer with installed Xiaomi and ADB-tools drivers.
- π± Included debugging by USB on the phone (Settings) β For developers β Debugging by USB).
- π USB-cable (preferably original).
Step-by-step:
- Connect the phone to the PC and confirm the debugging permission on the device screen.
- Open the command prompt (or Terminal on Mac/Linux) and type:
adb devices(Your device should appear on the list.)
- Run the command to turn off sleep:
adb shell settings put global stay_on_while_plugged_in 3Where 3 means that the screen will always be on when connected to the charge and from the battery.
- 0 - turned off (by default).
- 1 β only when charging via USB.
- 2 - only when charging from the network.
Once this command is executed, the sleep mode will be turned off at the system level, and it cannot be turned on back through the standard settings. To return everything as it was, use the same command with 0.
π‘
If, after the execution, ADB-When you have the commands, the screen will still go out, check the settings of the Security app on Xiaomi. Sometimes it will block changes made through the app. ADB. To do this, go to the Settings. β Annexes β Permit management β Autostart and enable Autostart for Settings.
Method 5: Set up exceptions for individual applications
If you only need to turn off sleep for specific programs (like Google Maps or Netflix), you can use the built-in MIUI tools.
How to add an appendix to the exceptions:
- π Open the Settings. β Annexes β Application management.
- π Find the right app (like Waze) and tap it.
- π Select Permissions β Other permits.
- π Turn on the option to Display on top of other apps and Ignore battery optimization.
For MIUI 14 (on Xiaomi 13, Redmi K60 and newer), the path is a bit different:
- Go to Settings β Battery and Performance.
- Select Battery Consumption Management for applications.
- Find the application and set a No Limits mode for it.
This method is especially useful for navigation applications (Yandex.Navigator, Google Maps), where it is important that the screen does not go out while moving. However, keep in mind that the constant operation of the screen at maximum brightness reduces battery life by 15-20%.
What to do if the app is still "sleeping"
Problem Solving: What to Do When Nothing Works
If none of these methods helped, the problem may lie in the following factors:
- π Aggressive battery optimization in MIUI (particularly POCO Redmi with firmware for gaming phones).
- π‘οΈ Blocking system changes with Xiaomi Security antivirus.
- π± Manufacturer restrictions on some models (Black Shark, Xiaomi Mix Fold).
Checklist for diagnosis:
βοΈ Diagnostics of problems with sleep regimen
If the problem persists, you can try alternative firmware (e.g. Xiaomi.EU or Pixel Experience) where the restrictions on shutting down sleep are less stringent, however, this requires unlocking the bootloader and may be unwarranted.
π‘
On Xiaomi phones with Snapdragon 8 Gen 2 processors (such as the Xiaomi 13 Pro or Redmi K60 Pro), a rollback to the previous MIUI version via Fastboot sometimes helps.