Your Xiaomi screen goes out too quickly, interrupting reading, watching videos or working with the navigator? This problem is familiar to many owners of Redmi, POCO and other brands. By default, the MIUI system sets aggressive power saving settings that turn off the display after 15-30 seconds of inactivity - even if you just hold the phone in your hands.
In this article, we will discuss all possible ways to disable auto-turn off the screen on Xiaomi devices, including hidden developer settings, circumventing restrictions. MIUI and solutions for specific scenarios (e.g., during charging or when using certain applications). MIUI 12, 13 and 14 Android-based 10-14, Most of the methods work on older versions.
Important: some settings may differ depending on the smartphone model (e.g. Redmi Note 12 vs POCO F5) and regional firmware (global, Chinese, EEA).
1. Standard method: screen settings in MIUI
The easiest method is to change the screen sleep timer through the basic system settings, which works on all Xiaomi smartphones without having to turn on developer mode or install third-party apps.
Open the Settings menu β Screen (or Display in English) and then look for "Screen timeout" (or Sleep:
- π 15 seconds β the minimum default value
- β³ 30 seconds - a compromise option
- π± 1/2/5/10/30 minutes - extended options
- β "Never" - complete shutdown (not available on all firmware)
Select the maximum value possible or βNeverβ if present. On some firmware (e.g. Chinese) the βNeverβ option may be hidden, in which case use the methods in the following sections.
β οΈ Note: On smartphones with AMOLED-screens (e.g. Xiaomi) 13 or POCO X6 Pro) the display can burn out pixels permanently. If you need to keep the screen on for a long time, reduce the brightness to 30-50%.
2. Developer Mode: Hidden Timeout Settings
If the standard settings do not have the option βNeverβ, it can be unlocked through the developer menu, which works on 90% of Xiaomi devices, but requires pre-activation of the hidden mode.
First, turn on the developer mode:
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row.
- Enter a password/pattern lock if required.
- The message will be βYou are a developer!β
Now go back to the basic settings and open a new Settings β Additional β Developer options. Scroll down to the Screen block and find:
- π§ Timeout screen when charging - allows you to set a separate time for the power mode
- π Time-out screen inactivity - the main parameter
- β‘ Do not turn off the screen when charging β useful for navigation or video
Some firmware here has a "Never" option that is not on the standard menu, and if it is not available, try changing it to a maximum (for example, 30 minutes).
Stick on "Version." MIUI" 7 times|
Find a new section "For developers" |
Turn off "screen timeout when inactivity" |
Save settings and restart the phone-->
3. Turning off auto-switching for individual applications
If the screen goes out only in specific programs (for example, in Google Maps, YouTube or Waze), you can configure exceptions. MIUI There is a built-in function "Blocking applications".
Instructions:
- Open Settings β Applications β Blocking applications.
- Turn on the function if it is disabled.
- Select applications for which you want to cancel screen timeouts (for example, navigators or video players).
- Activate the Allow Lock switch for everyone.
After that, the screen will not go out while you are using the blocked application. Note: the function only works when the application is active on the screen (not folded).
| Annex | Typical scenario | Recommended screen time |
|---|---|---|
| Google Maps/Yandex.Navigator | Car ride | Constantly (or 1 hour) |
| YouTube/Netflix | Watching video | 30 minutes. |
| Telegram/WhatsApp | Reading long messages | 5-10 minutes |
| Camera. | Long-term shooting (timelapse) | Constantly. |
β οΈ Attention: Application Lock may conflict with battery optimization. If the screen goes out anyway, check the power saving settings for a particular application in Settings β Battery β Optimizing the battery.
4.Use of ADB-commands
For advanced users, there is a way to completely disable screen timeouts via ADB (Android Debug Bridge), which works even if the menu does not have the option βNeverβ, but requires a connection to a computer.
Step-by-step:
- Install. ADB-PC drivers.
- Enable USB debugging in the developer settings (see Section 2).
- Connect the phone to your computer and confirm the debugging permission.
- Open the command line (Windows) or the terminal (Mac/Linux) in the folder with adb.exe.
- Enter the command: adb shell settings put global stay_on_while_plugged_in 3 This command forces the screen to stay on always when charging.
To turn off the timeout completely (even without charging), use:
adb shell settings put system screen_off_timeout 2147483647This command sets the maximum possible timeout value (about 68 years), which is equivalent to a full shutdown. To return the standard settings, use:
adb shell settings put system screen_off_timeout 30000(where 30,000 is time in milliseconds, for example 30 seconds).
What if the ADB canβt see the device?
5. Third-party screen control applications
If built-in methods donβt work, Google Play apps are useful when you need to flexibly set timeouts based on conditions (for example, only at night or when connecting to a Bluetooth device).
Top.-3 tested applications:
- π± Keep Screen On is a simple switchboard for forced screen switching on.
- β‘ Caffeine β allows you to set rules on time, battery charge or running applications.
- π§ Stay Alive β Advanced settings with support ADB Automation through Tasker.
Example of Stay Alive settings:
- Install the application and give it the rights to "overlay over other windows".
- Turn on the "Keep Screen On" option.
- In the "Rules" section, add exceptions for the desired applications.
- Activate the service in the notification curtain.
β οΈ Attention: Forced screen applications increase power consumption. On smartphones with a small battery (e.g. Redmi) 10C) This can reduce the time of autonomous operation on 15-20%. Track battery consumption in Settings β Battery.
π‘
If the screen control app doesnβt work, check if the optimization is blocking it. MIUI. To do this, go to the Settings. β Annexes β Application management β [Title of the annex] β Battery and select "No restrictions".
6. Features for different Xiaomi models
Some Xiaomi smartphones have unique screen settings that are not found in other models.
| Model/Series | Features of auto-off | Recommendations |
|---|---|---|
| POCO F3/F4/F5 | Aggressive battery optimization, screen goes out even when charging | Use it. ADB-team stay_on_while_plugged_in 3 |
| Redmi Note 10/11/12 | In the developer menu there is an option βDo not turn off the screen when chargingβ | Activate it in Settings. β For developers |
| Xiaomi 12/13/14 | AMOLED-screen β the risk of burning out pixels during prolonged operation | Set a timeout of no more than 30 minutes, use dark themes |
| Black Shark 4/5 | Game mode blocks standard screen settings | Turn off "Game Turbo" in Settings β Special features |
Nana POCO-Smartphones often have a problem when the screen goes out through 5-10 It's all about the company optimization. MIUI for POCO. Decision:
- Go to Settings β Battery β Performance mode.
- Select βBalancedβ instead of βEnergy Savingβ.
- Turn off the "Adaptive Battery" in the developer settings.
7. Frequent problems and their solutions
Even after changing the settings, the screen can continue to turn off, and here are the reasons and ways to fix them:
- π Screen goes out when charging: Check settings stay_on_while_plugged_in through ADB or turn on βDo not turn off the screen when chargingβ in the developer menu.
- π΅ Timeout resets after reboot: It's a bug MIUI. Solution β Install the Stay Alive app and activate autorun in its settings.
- π No "Never" option in the settings: Use ADB-command with the parameter 2147483647 or update the firmware to the latest version MIUI.
- π‘οΈ Antivirus Blocks Changes: Disable Mi Security in Settings β Annexes β Managing applications for the time of setting up.
If neither method worked, it could be a damaged firmware or hardware malfunction (such as a proximity sensor).
- Reset the settings to factory (Settings β About phone β Reset settings).
- Flash the device through the Mi Flash Tool (instructions at xiaomiflash.com).
- Contact the service center if the problem is hardware.
π‘
On Xiaomi smartphones with an infrared proximity sensor (such as the Redmi 9A), the screen can go out due to false positives. Check the sensor with the test ##6484## (input in the dialer).