Xiaomiโs smartphone screen, which suddenly goes out in the middle of watching a video, reading a book or playing a game, is a familiar problem for many users. By default, the MIUI system sets the screen timeout for 30 seconds or 1 minute to save battery power, but this is not always convenient, for example, when you are following a recipe in the kitchen, reading a long article or using your phone as a navigator in the car.
In this article, weโll look at all the ways you can turn off the screen on Xiaomi, from standard settings to hidden features for power users. The instructions are relevant for devices on MIUI 14, MIUI 13, MIUI 12 and older versions, including Redmi Note 12/11/10, POCO X5/F4, Xiaomi 13/12 and others. Youโll also learn how to get around system limitations if standard methods donโt work, and what hidden developer settings will help with this.
Before you start, keep in mind that the constant operation of the screen speeds up battery discharge and can cause the device to overheat. Use these methods only when necessary!
1. Standard method: changing the screen timeout in the settings
The easiest method is to increase the time to automatically turn off the screen through the settings menu, which works on all Xiaomi smartphones without any additional manipulation.
Instructions:
- ๐ฑ Open the Settings app (cog icon on the home screen).
- ๐ Go to the Display section (or the Screen in some versions) MIUI).
- โฑ๏ธ Find the Sleep item after (or screen timeout) and tap it.
- ๐ Choose the maximum value available โ usually 10 minutes or 30 minutes (on some models โ Never).
If you don't have the Never option on your menu, it means the manufacturer has limited the maximum time, so move on to the following methods.
๐ก
On some Xiaomi firmware, the Sleep item after may be hidden in the submenu Additional or Advanced settings inside the Display section.
2.Use of the "Developers" mode (hidden settings)
If standard settings don't allow you to turn off the timeout completely, you can use the developer mode, which gives you access to additional system settings, including forced shutdown of the screen sleep.
How to turn on the developer mode and change the settings:
- 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 and open a new Developer section (usually at the bottom of the list).
- Scroll down and find the item "Do not turn off the screen (or Stay awake). Activate it."
After that, the screen will not go out when you connect to charging.Limitation: on some models, this option only works while the device is charging.
What if the โDo not turn off the screenโ item is not in the developer menu?
3. Applications for forced screen activation
If the system settings don't help, you can use third-party utilities. Google Play has several proven applications that block the screen from turning off:
- ๐ Keep Screen On is a simple utility with the ability to add exceptions for individual applications (for example, only for YouTube or Google Maps).
- ๐ฎ Caffeine โ allows you to keep the screen on by timer or until manually switched off.
- ๐ฑ Stay Alive! โ Advanced settings, including background and ignoring battery optimization.
How to set up Keep Screen On:
- Download and install the app from Google Play.
- Open it and grant permission to Overlay over other windows (in the security settings).
- Turn on the switch Keep the screen on.
- If necessary, add exceptions to the list.
Important: Some applications may conflict with battery optimization in MIUI. If the utility doesnโt work, add it to the exception list in Battery Settings โ Battery Optimization.
4.Use of ADB-Teams (for experienced users)
If you need to turn off the screen timeout completely at the system level, you can use ADB (Android Debug Bridge), which requires connecting the phone to your computer and basic command line knowledge.
Step-by-step:
- Download and install ADB Tools on your computer (e.g. Googleโs Platform Tools).
- Turn on the phone debugging over USB (Settings โ For developers).
- Connect your phone to your PC through USB-cable and select File Transfer Mode.
- Open the command prompt (or Terminal on Mac/Linux) and type:
adb devices(Your device name should appear as a confirmation of your connection.)
adb shell settings put global stay_on_while_plugged_in 3This command will keep the screen on at all times, even without charging. To return the standard settings, use:
adb shell settings put global stay_on_while_plugged_in 0๐ก
ADB-Teams can circumvent limitations MIUI, But you need to be careful, and misuse can disrupt the system.
If the screen still goes out after the command, check if the settings are reset after the restart, in which case you will need to repeat the procedure or use Tasker to automatically apply the command at start-up.
5. Set up exceptions for individual applications
MIUI has a built-in feature that allows you to turn off screen timeouts only for certain apps, which is handy if you want the screen to stay on, like only Google Maps or YouTube.
How to set up:
- ๐ Open the Settings. โ Annexes โ Application management.
- ๐ Select the application you want (such as Waze or Book Reader).
- ๐ Slip it on the Permit. โ Additionally. โ Sleep blocking (or keeping the screen on).
- ๐ Activate the switch.
The list of applications for which this option is available depends on the version of MIUI. If this option is not available, try updating the firmware or using one of the applications from Section 3.
| Xiaomi model | Does Sleep Blocking Support Apps? | Maximum timeout in settings |
|---|---|---|
| Xiaomi 13/13 Pro (MIUI 14) | Yes. | 30 minutes. |
| Redmi Note 12 (MIUI 13) | Yes (for system applications only) | 10 minutes. |
| POCO F4 (MIUI 13 for POCO) | Yes. | Never (hidden in the developer) |
| Xiaomi 11T (MIUI 12.5) | No. | 5 minutes. |
โ Make sure the app is updated to the latest version
โ Check if the battery optimizer is blocking it.
โ Restart your phone after changing your settings
โ Test your work in safe mode (if it doesnโt work)
-->
Alternative methods: gestures, accessories and workarounds
If none of the above methods worked, you can try non-standard solutions:
- ๐ฑ๏ธ Bluetooth mouse: connect wireless mouse to phone. Small cursor movements will reset sleep timer.
- ๐ Constant charging: Some Xiaomi models don't turn off the screen when connected to a power source.Use power bank for mobility.
- ๐ฑ Pocket mode FM-Transmitter: on older models (Redmi) 4/5) switching FM-radio kept the screen active.
- ๐ Automation with Tasker: Create a task that simulates touching a screen every 30 seconds.
For the method with Tasker will require:
- Install Tasker and AutoInput plugin.
- Create a task with AutoInput โ Simulate Touch.
- Set up a repetition every 20-30 seconds.
- Add a startup condition (for example, only when a specific application is open).
๐ก
If you use your phone as a navigator in your car, buy a magnetic mount with wireless charging, which will solve the problem of screen sleep and charge the device at the same time.
Frequent problems and their solutions
Even after applying all the methods, Xiaomiโs screen can continue to go out.
โ ๏ธ Warning: If the screen turns off immediately after unlocking (after 1-2 seconds), this may indicate that the proximity sensor is malfunctioning. Check its operation in the engineering menu (#6484##) or contact the service center.
| Problem. | Possible cause | Decision |
|---|---|---|
| The screen goes out despite the "Never" settings | Battery optimization blocks background activity | Add the app to exceptions (Settings โ Battery โ Battery Optimization) |
| Settings are reset after rebooting | ADB-The command is not applied at the system level | Repeat the command or use Magisk to make a permanent change. |
| The screen does not go out, but a black screen with backlight appears. | Graphics driver failure | Update the firmware or reset the settings to factory |
If none of these methods worked, try:
- ๐ Reset the settings to factory (pre-return backup).
- ๐ฅ Update the firmware to the latest version through Settings โ Updating the system.
- ๐ ๏ธ Install custom firmware (for example, LineageOS), where there are no strict timeout restrictions.
โ ๏ธ Warning: Installing custom firmware will void warranty and may lead to a device blink!