Xiaomiβs smartphone screen, which constantly goes out at the most inopportune moment, is a familiar problem for many users: You read a long article, watch a recipe or follow a timer while you work out, and the display suddenly turns off, interrupting the process. Fortunately, the manufacturer has provided several ways to turn off auto-sweeping, from standard settings to hidden features for power users.
In this article, we'll look at all the current methods, including official and alternative ones, and learn how to increase screen time, completely cancel your sleep timer, or adjust exceptions for individual applications. We'll focus on Redmi and POCO models, where MIUI can be nuanced. And for those who aren't afraid of experimentation, we'll show you hidden settings through ADB and the engineering menu.
Before you start, consider that the constant operation of the screen reduces the battery life. If you want your phone to last longer without recharging, you better adjust the balance between convenience and power consumption. Now let's move on to the practice - choose the method depending on your model and level of training.
1. Standard method: adjusting the sleep timer in MIUI
The easiest method is to change the auto-sunsetting time through system settings. It is suitable for all modern Xiaomi smartphones, including the Redmi Note 12, POCO X5, Xiaomi 13 and other models on MIUI 14/15.
To find this parameter, follow the following steps:
- Open the Settings app** (the gear icon on the home screen).
- Go to the Display section (or the Screen on some firmware).
- Click on Sleep Mode (may be called Sleep Timer or Auto-Switch Off).
- Choose the maximum value offered (usually up to 30 minutes) or the option Never, if available.
On some models (e.g. POCO F5), the option is never hidden. In this case, select the maximum time of 30 minutes. Also note that after the MIUI update, the settings may reset - check them periodically.
π‘
If your phone does not have the βSleep Modeβ item, try searching it through the search bar in the settings (the magnifier icon at the top).
- π± Works for Redmi, POCO, Xiaomi and Black Shark
2. Developer Mode: Hidden Timeout Settings
If the standard 30 minutes are not enough, you can activate the developer mode and access advanced settings, this will increase the time to 1 hour or disable auto-smothering completely (on some firmware).
First, turn on the developer mode:
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row (you will receive a notification βYou became a developerβ).
- Return to the main settings menu and open a new section β For developers.
Now find the option Sleep mode when you connect to a charge or timeout screen. Here you can choose:
- π Never turn off when charging (good for navigators or reading)
- β³ 1 hour (maximum value on most firmware)
- π Use system settings (return to standard timer)
Activate the mode (7 taps according to MIUI)
Find "For Developers" in the settings
Select "Sleeping mode while charging"
Set "Never" or "1 hour"
Reboot your phone to apply changes-->
Important: Some models (e.g. Xiaomi 12T) may never have the option, even in developer mode, in which case use alternative methods from the following sections.
3. Applications to disable auto-extinguishing
If system settings donβt provide the flexibility needed, third-party utilities will come to the rescue, and they are especially useful when you need to turn off your sleep timer for specific applications (for example, YouTube or Google Maps).
Here's the top.-3 Proven applications for Xiaomi:
| Annex | Functions | Need root? | Link to Play Market |
|---|---|---|---|
| Keep Screen On | Keeps the screen on for selected applications, works in the background | β No. | Reference |
| Caffeine | Activated by notification, supports MIUI 14+ | β No. | Reference |
| Screen Alive | It works through Accessibility Service, supports Redmi and POCO. | β No. | Reference |
How to set up Keep Screen On (example:)
- Install an app from the Play Market.
- Open it and grant permission for Special Opportunities (required for work).
- In the list of apps, mark those for which you want to turn off your sleep timer (such as Chrome or Waze).
- Activate the switch at the top of the screen.
Keep Screen On|Caffeine|Screen Alive|Other|I don't use it.-->
β οΈ Note: Applications that use the Accessibility Service may conflict with certain features MIUI, If you have lags after installation, try turning off other special features services in the settings.
4. ADB-Commands: Turn off sleep timer without root
For experienced users who are willing to work with ADB (Android Debug Bridge, there's a way to completely disable auto-sweeping. This method doesn't require root rights, but it requires a computer and a computer. USB-cable.
Instructions:
- Download and install ADB Tools on your PC (e.g. Googleβs Platform Tools).
- Turn on USB debugging on your phone: Go to Settings β Additional β Developer. Activate USB debugging.
cmd
ADB
adb devicesThe serial number of your device should appear.
adb shell settings put global stay_on_while_plugged_in 3where 3 means "always on (both on the battery and when charging)".
Other values for the team:
- 0 - offline
- 1 β only when charging from the network
- 2 β only when charging from USB
- 3 β always (both on the battery and when charging) β this value can significantly reduce battery life!
β οΈ Note: After restarting the phone or updating MIUI setting ADB They can reset. To get them back, repeat the command. To have a permanent effect, you'll need to create an automatic execution script when you start the system (requires root).
5. Engineering menu: hidden screen parameters
Xiaomi smartphones have a hidden engineering menu where you can adjust display options that are not available in the standard interface, which is suitable for models on Qualcomm processors (for example, Redmi Note 11 Pro, POCO X4 Pro).
To get into the engineering menu:
- Open the Phone app and enter the code: ##4636###
- Slip on the top of the screen (where the charge level is displayed) 5 times in a row β the hidden menu of MTK Engineer Mode (for Mediatek) or Qualcomm Service Menu will open.
Carefully study the options available β you can not only turn off auto-extinguishing, but also adjust the brightness, color temperature and even test the display for broken pixels. However, do not change the parameters, the purpose of which you do not know β this can lead to malfunctions in the screen.
What to do if the engineering menu is not opened?
6. Set up exceptions for individual applications
If you want to keep the screen from going out only in certain apps (like Google Maps or Netflix), you can set up exceptions without third-party utilities. In MIUI 14/15, this feature is called Auto Rotation or Orientation Lock, but it can be adapted for our purposes.
How to do this:
- Open Settings β Applications β Application Management.
- Select the appropriate app (e.g. YouTube).
- Slip on Extra or Permits.
- Find the screen lock or battery exceptions and activate it.
- In some firmware, this option is hidden β then use the Keep Screen On app (see Section 3).
MIUI also has Read Mode, which automatically increases screen time when opening books or long articles, to activate:
- Go to Settings β Display β Reading Mode.
- Turn on the option and set up triggers (such as auto-enable in the Chrome app).
π‘
Customizing application exceptions is the most balanced way, and it keeps energy efficiency going, but it turns off auto-sweeping only where it's really needed.
7 Problems and Solutions: Why the Screen Is Still Going Out
Sometimes even after all the settings, the screen keeps turning off, and let's look at the typical causes and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The screen goes out in 10 seconds. | Power saving mode activated | Turn it off in Settings β Battery β Power saving mode |
| Settings are reset after rebooting | Misfunction of MIUI or firmware update | Repeat the setup via ADB or use Tasker to automatically apply commands |
| Screenholding apps don't work | Accessibility Service or MIUI Optimization | Turn off optimization in Settings β Additional β Special features β MIUI Optimization |
| The screen doesnβt go out at all, even when the phone is locked. | Incorrect ADB-firmware | Adb shell settings put global settings stay_on_while_plugged_in 0 discharged |
If none of the methods worked, check the phone for viruses or reset the settings to factory (be sure to back up!).In rare cases, the problem may be due to a malfunction of the proximity sensor or firmware - then only contacting the service center will help.