Your Xiaomi screen goes out too quickly, interrupting reading, watching videos or playing? This is a standard power saving feature in MIUI, but it is easy to adjust β or turn off altogether. The problem is familiar to owners of all models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra. In this article, we will discuss 5 working ways to increase the time before the screen is turned off or remove the restriction completely, including hidden settings for power users.
It is important to understand that long-term screen operation without turning off reduces battery life by 15-30% (data from GSMArena tests for the first time). AMOLED-However, in some scenarios β for example, when using a smartphone as a navigator or during online streams β this is a necessity. We will consider both standard methods through the settings menu and advanced tricks with the help of the Internet. ADB and third-party utilities.
Why Xiaomiβs screen goes out on its own
The automatic disabling of the display is part of the MIUI power management system, which operates on three levels:
- π Hardware layer: The display controller turns off the backlight when there is no activity to reduce the load on the battery. This is embedded in the firmware even at the level of Qualcomm Snapdragon or MediaTek Helio.
- βοΈ System settings: timer of inactivity in Settings β Display that can be changed manually.
- π± Applications: Some programs (such as YouTube or Chrome) can override system settings through the use of a computer. API Android.
With newer versions of MIUI 14 (Android 13/14), the algorithm is smarter: it analyzes contextual usage. For example, if you read a book in Xiaomi Reader, the screen may not go out longer than when you just watch a home screen. But this doesnβt always work correctly β especially on devices with 60Hz displays (like the Redmi 10A).
β οΈ Note: On smartphones with AMOLED-With screens (for example, Xiaomi 13 Pro) the display is constantly operating at maximum brightness can lead to pixel burnout after 1.5-2 years of intensive use.
Method 1: Change the sleep timer in standard settings
The easiest method is to increase the time to auto-turn off the screen through the settings menu, which works on all Xiaomi, Redmi and POCO devices with MIUI 10β14:
- Open the Settings app (cog icon).
- Go to Always on screen and lock (on older versions β Display β Sleep).
- Click on the item "Sleep" (or "Sleep Timer").
- Choose the maximum value of 30 minutes or Never (if available).
On some models (e.g. POCO F5), the option may never be absent. In this case, select 30 minutes, which is the maximum possible value through the standard menu.
Check the version. MIUI In Settings β The phone.|Update the firmware to the latest version|Use the method with ADB (section)|Install a third-party application (section 5)-->
| Xiaomi model | Maximum sleep timer in settings | Does "Never" support? |
|---|---|---|
| Xiaomi 14 / 14 Pro | 30 minutes. | Yes (MIUI 14) |
| Redmi Note 12 Pro+ | 10 minutes. | No. |
| POCO X5 Pro | 30 minutes. | Yes (after update) |
| Xiaomi 11T | 15 minutes. | No. |
Method 2: Using the Developer Mode
If the standard settings do not have the option Never, you can activate it through the developer mode. This method works on all Android 8.0+ devices:
- Open the Settings. β The phone.
- Find the MIUI version and click on it 7 times in a row, and the notification will appear "You became a developer."
- Return to the main settings menu and open a new Developer section (usually at the bottom of the list).
- Scroll down and find the option to "Do not turn off the screen (or Stay awake). Activate it."
Once this option is enabled, the screen will not go out when connected to charging.Limitation: on some models (for example, Redmi 9A), the function is unstable - the screen can flash or spontaneously lock after 1-2 hours.
π‘
If the Stay awake option is missing, try enabling USB Debugging in the same developer menu, then connect your phone to your PC and execute the command.
adb shell settings put global stay_on_while_plugged_in 3Method 3: Applications for forced screen switching on
If system methods didn't work, you can use third-party utilities. We tested 3 apps that work consistently on Xiaomi:
- π± Caffeine (free, no ads): Adds an icon to the notification bar, which keeps the screen on until manually disabled. Supports Android 12-14.
- β Keep Screen On (premium version): allows you to configure exceptions for individual applications (for example, only for Google Maps or YouTube).
- π Screen Alive: automatically turns on the screen when motion is detected (useful for navigators) and works even on a locked device.
For installation:
- Download APK from an official website (such as Caffeine) or through Google Play (if available).
- Allow installation from unknown sources in Settings β Applications β Special Access.
- Launch the application and grant Overlay rights over other windows.
β οΈ Note: Screen Alive applications may conflict with MIUI Optimization: If the screen starts flashing or locking spontaneously, turn off optimization via Settings β Annexes β Application management β Threefold β Special access β Optimize the battery and select βNo Limitsβ for the utility.
Caffeine|Keep Screen On|Screen Alive|Another |Do not use-->
Method 4: ADB commands to completely shut down the timer
For advanced users, there is a way to completely disable the auto-turn off screen via ADB (Android Debug Bridge), a method that works on all Xiaomi devices but requires a connection to a computer.
Instructions:
- Install ADB Tools on your PC.
- Enable USB Debugging in the Developer menu (see Method 2).
- Connect your phone to your PC and execute on the command line: Adb devices (your device should appear).
- Enter the command to turn off the timer: adb shell settings put global stay_on_while_plugged_in 3 (significance 3 It means βalways on, regardless of chargingΒ»).
To return the standard settings, use the command:
adb shell settings put global stay_on_while_plugged_in 0What if the ADB canβt see the device?
Method 5: Bypassing restrictions through Tasker (for experienced)
Tasker is a powerful automation tool that allows you to create rules for controlling your screen, such as:
- π± Automatically turn on the screen when a particular application is launched (e.g. Waze).
- β±οΈ Set different sleep times for day and night modes.
- π Turning off the timer only when connected to charging.
Example of profile for permanent screen operation:
- Install Tasker from Google Play.
- Create a new profile: State β Power β Connected to charging.
- Add task: Display β Screen waiting time β 10 hours (maximum value).
- Save and activate the profile.
For Xiaomi with MIUI 12+, you may need to further disable battery optimization for Tasker and allow auto-run in Settings β Applications β Application Management β Tasker β Auto-Run.
π‘
Tasker is the only way to flexibly set the screen to auto-turn depending on the context (charging, app, time of day, etc.).
Frequent problems and solutions
Even after all these methods are used, the screen can continue to go out.
| Problem. | Possible cause | Decision |
|---|---|---|
| The screen goes out in 1-2 seconds. | The proximity sensor (for example, during a call) was activated | Check the sensor: ##6484## β Test Proximity Sensor |
| The timer is reset after rebooting | Failure in MIUI Optimization settings | Perform adb shell cmd package compile -m speed -f com.miui.securitycenter |
| Applications ignore settings | Application API Redefined System Parameters | Use Tasker or Caffeine for enforcement control |
If none of the methods worked, check:
- π Battery condition: with severe wear (capacity) < 70%) the system forcibly reduces screen time. β Battery. β Battery status.
- π οΈ System Updates: In Some Versions MIUI 13 was a bug with auto-turn off screen (fixed in patch from 05.2023).
- π± Sensor damage: If the screen goes out immediately after unlocking, the light or proximity sensor may be faulty.