The screen of Xiaomi's smartphone, which goes out after 30 seconds of inactivity, can seriously interfere - whether it's reading long articles, viewing recipes in the kitchen or using the phone as a navigator. MIUI They limit the maximum latency to 10 minutes, but even that is often not enough. Fortunately, there are at least 8 ways to get around this limitation: from hidden system features to using third-party apps and other systems. ADB-team.
In this article, we will discuss all the current methods for devices on MIUI 12, 13 and 14, including the Redmi, POCO and Black Shark models. Particular attention will be paid to solutions that work without root rights and do not require complex manipulations. You will learn how to increase the time before turning off the screen to 30 minutes, completely turn off timeout or configure exceptions for individual applications.
Important: some methods can affect battery consumption, and we'll note these cases separately and give you recommendations for optimization. AMOLED-Keep in mind that the constant lighting of pixels accelerates their wear (burn-in effect).
1. Standard MIUI settings: maximum 10 minutes
Let's start with the simplest of them, the built-in options, and even if they don't give you the 30 minutes you want, they're worth checking before you move on to more sophisticated methods.
Open Settings β Display β Sleep mode. Here you will see timeout options: 15 seconds to 10 minutes. Choose a maximum value of 10 minutes. On some firmware (for example, global versions of MIUI for Europe), this item may be called Screen timeout or Sleep.
Note that on devices with MIUI 14 and later, the path may be slightly different: Settings β Screen β Sleep Mode β Screen timeout. If you donβt have Sleep Mode displayed, try searching by settings (the magnifier icon in the upper right corner).
- β Pros: does not require installation of applications or administrator rights
- β Cons: Maximum time is only 10 minutes
- β οΈ Nuance: After the update MIUI settings may reset
2.Developer Mode: Hidden Menu with Extended Options
Activating developer mode opens up access to additional settings, including the ability to increase screen timeout to 30 minutes, a technique that works on most Xiaomi, Redmi and POCO devices.
First, turn on the developer mode:
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row
- Enter your password/pattern lock if required.
- The message will be βYou are a developer!β
Now go back to the main settings menu and open a new section Additional β For Developers (or Settings β System β For Developers on new versions).
Scroll down to the Debugging block and find the screen timeout option in standby mode (or Screen timeout while inactive). Here you can select values up to 30 minutes or Never (on some firmware).
π‘
If the screen timeout item is not in the developer menu, try to select any value in the standard settings (section 1), then return to developer mode - the option should appear.
β οΈ Attention: On devices with MIUI 14 and Android 13+ The option "Never" may not be available due to Google restrictions, in which case the maximum value is 30 minutes.
3.Stopor Apps: Keep Screen On and Analogs
If the system settings don't work, specialized utilities will come to the rescue, and they work on the principle of "deception" of the system - they simulate the user's activity so that the screen does not go out.
The most popular applications:
- π± Keep Screen On β a minimalist utility with a widget for quick on / off
- π Caffeine β Adds a button to the notification panel to temporarily turn off timeout
- π οΈ Keep Screen On β No Root β Supports exceptions for individual apps
- π Screen Alive β allows you to set the schedule of screen activity
All of them are available on Google Play and do not require root rights.
Letβs look at the example of Keep Screen On:
- Install the application and open it.
- Grant permission to Overlay over other windows (required for work)
- Turn on the Keep Screen on switch
- If necessary, add the application to boot (Battery section β Autorun in MIUI settings)
| Annex | Max time. | Working in the background | Exceptions |
|---|---|---|---|
| Keep Screen On | No restrictions. | Yes. | No. |
| Caffeine | 30 minutes | Yes (through notice) | No. |
| Keep Screen On - No Root | No restrictions. | Yes. | Yes (for applications) |
| Screen Alive | Tune in. | Yes. | Yes (scheduled) |
β οΈ Warning: Stopper applications may conflict with energy saving features MIUI. After installation, add them to the exception list: Settings β Battery β Choice of applications β [name] β No restrictions.
4. ADB-Extended management without root
For users who are ready for more complex manipulations, there is a solution through Android Debug Bridge (ADB), which allows you to set any timeout value, including βNeverβ, even if such an option is not on the menu.
You'll need:
- π₯οΈ Computer with installed Xiaomi and ADB-tools drivers
- π± Included debugging by USB on the phone (section "For developers")
- π Cable USB (preferably original)
Instructions:
- Connect your phone to your PC and confirm your debugging permission
- Open the command line (Windows) or terminal (macOS/Linux) in the folder with ADB
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Set the right timeout value (in milliseconds). 30 min: adb shell settings put global screen_off_timeout 1800000 To turn off the timeout completely: adb shell settings put global screen_off_timeout 2147483647
- Reset the device
Install ADB-tools on PC|
Enable debugging over USB on your phone |
Connect the phone with the original cable |
Check the connection with the adb devices | command
Make a backup copy of the data-->
To return the standard settings, use the command:
adb shell settings delete global screen_off_timeoutRedmi
5. Set up exceptions for individual applications
If you want the screen to stay on the same page only in specific programs (such as a navigator or reader), use the built-in MIUI function or third-party utilities.
Method 1: Built-in MIUI exceptions (powers MIUI 13+):
- Open Settings β Applications β Permissions β Autorun
- Find the desired application and enable the option to Allow to keep the screen on
- Also add it to battery exceptions: Settings β Battery β Application selection β [app] β No restrictions
Method 2: Tasker App (for advanced users):
- Install Tasker from Google Play
- Create a new task with Display β Display Timeout
- Set the value 3.6 million (1 hour) or 2147483647 (no restrictions)
- Add a start condition to open the desired application
List of applications that often need exceptions
On devices with MIUI 14 and Android 13+, the built-in exceptions may not work due to new power saving restrictions, in which case use the stoppage apps (Section 3) that support the whitelist of programs.
Problems with the proximity sensor and their solution
Sometimes the screen goes out not because of a timeout, but because the proximity sensor is not working properly, which manifests itself as a spontaneous shutdown of the display during calls or when you cover the top of the phone with your palm.
How to check and correct:
- π Sensor test: Dial ##6484## (on some models ##0*##) and select Proximity Sensor. When you cover the sensor with your hand, the screen should turn black, when you remove it, return to the screen.
- π§ Calibration: Go to Settings β The phone. β All specifications β Sensors and calibrate the proximity sensor.
- π οΈ Resetting: If the sensor is not working properly, reset the network settings: Settings β System system β Resetting settings β Resetting network settings.
On the Redmi Note 10/11 and POCO X3/X4, a common problem is sensor contamination. Gently wipe the area around the front camera and the dynamics with a dry wipe. Avoid alcohol-containing liquids!
π‘
If the proximity sensor is faulty, the screen will go out regardless of the timeout settings, in which case a diagnosis is required at the service center.
7. Alternative methods for specific cases
Consider non-standard situations and solutions for them:
- π Energy saving: If the screen goes off too quickly despite settings, check the battery mode. β Battery β Battery mode select Performance instead of Energy saving.
- π± MIUI Europe (EEA): These firmwares often don't have the "Never" option. ADB-Teams (section 4) or reflash the phone to the global version.
- π₯οΈ DeX Mode: When you connect to a monitor via Mi Desktop Mode, the phone's screen may go out. Turn off this option in DeX settings.
- π Application lock: Some programs (e.g. banking) force the screen to go out. Add them to the exceptions in the security settings MIUI.
For Black Shark devices, there is an option in Shark Space:
- Open Shark Space (Shark icon)
- Go to Settings β Screen β Screen timeout in the game
- Select Disable or set the desired value
This setting is only valid in game mode.
8. Frequent errors and their correction
Even after all the methods are used, the screen can continue to go out.
| Problem. | Possible cause | Decision |
|---|---|---|
| The screen goes out in 15 seconds despite settings | Active mode of battery super-saving | Turn it off in Settings β Battery |
| ADB-commands are not applied | No debugging authorization granted. | Check the settings β For developers β Debugging by USB |
| The stop-app is not working. | MIUI kills background processes | Add batteries and auto-start to exceptions |
| The screen flashes before shutting down | Conflict with the function "Raise to activate" | Turn off the settings β Display β Raise for activation |
If none of the methods helped, reset the settings to factory:
- Make a backup copy of the data
- Go to Settings β About the phone β Reset settings
- Select Reset all settings (not βErase all data!β)
- After the reboot, repeat the timeout setting
π‘
On devices with MIUI 14 and Android 13+, you may need to re-activate the developer mode after resetting.