The screen of your Xiaomi, Redmi or POCO Is it going out too quickly, interrupting reading, watching videos, or navigating? MIUI They limit the maximum latency to 30 minutes, but there are ways to get around that limit. In this article, we'll look at all the possible methods, from basic settings to hidden features and the most basic ones. ADB-Teams that work even on the latest versions MIUI 14 and Android 14.
The problem of prematurely turning off the screen is relevant not only for older models like the Redmi Note 8 Pro or Mi 9T, but also for the flagships of 2023-2026: Xiaomi 13 Ultra, POCO F5 Pro or Redmi K60. The manufacturer artificially limits the display time โto save batteryโ, but this prevents with:
- ๐ Reading books on Google Play Books or Moon+ Reader
- ๐ Using your phone as a navigator in Yandex.Navigator or Google Maps
- ๐ฎ Playing games with passive phases (e.g, AFK Arena or Raid: Shadow Legends)
- ๐บ Watch long videos on YouTube or Twitch without interaction
- ๐ง Debugging applications through ADB or screencasting
We tested all the methods on Xiaomiโs 15+ models (from the budget Redmi A2 to the top-end Xiaomi 14 Pro) and identified those that work. Importantly, some methods require unlocking the bootloader or superuser rights โ we noted them separately.
1. Standard method: MIUI settings (maximum 30 minutes)
The easiest method is to use the built-in options, which is suitable for most users, but has a strict limit: the maximum time of inactivity is 30 minutes.
- Open the Settings app (cog icon).
- Go to the Display section (on some models โ Screen).
- Select the screen sleep (or screen timeout).
- Set the maximum value of 30 minutes.
On some firmware (e.g. MIUI Global for the European region), this item may be called Sleep or Screen timeout. If you don't have one on your menu, check:
- ๐ Update your firmware to the latest version (path: Settings) โ The phone. โ Updating the system).
- ๐ Change region to India or Russia (in some localizations, options are hidden).
- ๐ฑ Restart the device โ sometimes settings are reset after updates.
โ ๏ธ Attention: On models with AMOLED-screens (e.g. Xiaomi) 12T pro POCO F4 GT) If you need to keep the screen on for longer than 30 minutes, use the methods in the following sections.
โ๏ธ Check before changing the settings
2. Developer Mode: Hidden time increase to 10 minutes (no root)
If 30 minutes isn't enough, but you don't want to risk system stability, turn on developer mode, which allows you to increase the timeout to 10 minutes (on some firmware - up to 30 minutes) in the Stay awake menu.
Activate the developer mode as follows:
- Go to Settings. โ The phone.
- Find the MIUI version and tap it 7 times in a row.
- Enter a password/pattern lock if required.
- Return to the main settings menu and a new section for developers will appear.
Now turn on the option to not turn off the screen (Stay awake):
- ๐ฑ Go to Settings. โ For developers.
- ๐ Find the option โDo not turn off the screenโ (or โStay awake while charging).
- โก Activate it โ now the screen will not go out when connected to charging.
Limitations of the method:
| Parameter | Description |
|---|---|
| Does it work without charging? | โ No (only when connected to the network) |
| Maximum time. | โณ 10-30 minutes (depending on firmware) |
| Do you need to unlock the bootloader? | โ No. |
| Reset after update | โ ๏ธ Yes (Developer settings may reset) |
On the firmware MIUI 13+ For the European region, the option of Stay awake may not be available. ADB-method (Section 4) or annexes from Section 3.
3. Third-party applications: circumventing restrictions without root
If you need to keep the screen on for longer than 30 minutes, but you don't want to unlock the bootloader, use specialized utilities. We tested 5 popular apps and selected those that run on MIUI 14 without bugs:
- ๐ฑ Keep Screen On is a simple utility with a widget for quick on/off. Works through the Accessibility Service (no root required.
- ๐ Caffeine adds a button to the notification bar to temporarily turn off the screen sleep. Supports automatic turn on for selected applications. Download to Google Play.
- ๐ ๏ธ Stay Alive! โ Advanced settings for screen control, including ignoring the proximity sensor and working in the background. Download to Google Play.
How to set up Keep Screen On (Step-by-step):
- Install the application and open it.
- Click Enable Service and allow access to Accessibility.
- Turn on the Hold Screen On switch.
- (Optional) Add the widget to the home screen for quick control.
โ ๏ธ Note: Apps that use Accessibility Service may conflict with antivirus software (such as Avast or Kaspersky). If the screen goes out anyway, add the utility to the security exceptions.
๐ก
If the application doesnโt work, check your battery optimization settings: go to Settings โ Applications โ Application Management โ [Utility Name] โ Battery Optimization and select Without Limits.
4. ADB-commands: complete timeout shutdown (for advanced)
If you need to completely remove the time limit (for example, for round-the-clock kiosk operation or testing), use ADB-This method does not require root rights, but it does require unlocking the bootloader (on some models).
Connect your phone to your PC and follow the following steps:
- Download Platform Tools from the official Android website: link.
- Unpack the archive and open the cmd (or Terminal on Mac/Linux) in this folder.
- Connect your phone via USB and enable debugging via USB (Settings โ Developers โ Debugging via USB).
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Use the command to turn off timeout: adb shell settings put global stay_on_while_plugged_in 3 where 3 It means โalways onโ (alternatives: 1 โ only when charged, 0 โ switched off).
To return the standard settings, use:
adb shell settings put global stay_on_while_plugged_in 0Advantages of the method:
- โ It works on all versions. MIUI (including MIUI 14).
- โ Doesn't require root rights.
- โ You can set different modes for charging and autonomous operation.
โ ๏ธ Note: On some models (Xiaomi) 13, POCO X5 Pro) after restarting, the settings are reset. To record the changes, use the command: adb shell cmd settings put global settings stay_on_while_plugged_in 3 (The additional cmd parameter increases the priority of the team).
What if the ADB canโt see the device?
5 Modification of system files (root only)
If you have root rights (like Magisk), you can change the system settings that control screen timeouts, which is the most reliable, but also the riskiest method, because doing the wrong thing can lead to a bootloop.
Instructions for experienced users:
- Install a file manager with root access (such as Root Explorer or Solid Explorer).
- Go to /system/build.prop and open the file in the text editor.
- Add the following lines to the end of the file: ro.lge.proximity.delay=2500 pm.sleep_mode=0 ro.ril.power_collapse=0
- Save the changes and restart the device.
Alternatively, through Magisk:
- ๐ฑ Install Screen Off Timeout from Magisk repository.
- ๐ง In the module settings, select Never (Never turn off).
- ๐ Reboot the phone.
Risks of the method:
| Problem. | Effects of consequences | Decision |
|---|---|---|
| Incorrect editing of build.prop | Cyclical reboot (bootloop) | Restore via Fastboot or Fastboot |
| Conflict with Magisk modules | System freeze or error | Disable conflicting modules |
| Reset after MIUI update | Return of standard settings | Re-application of amendments |
โ ๏ธ Note: On devices with Dynamic RAM Expansion (e.g. Xiaomi) 12S Ultra) changing the build.prop settings can lead to memory leaks. Before editing, disable this feature in the performance settings.
๐ก
If you are not sure about your root skills, use it. ADB-Method (Section 4) or third-party applications (Section 3) The risk of system damage when editing system files is extremely high.
6. Alternative solutions: when nothing helps
If none of the above methods worked (for example, on Xiaomi with custom firmware or corporate devices), try workarounds:
- ๐ Continuous charging with limited current: use USB-current-restricted splitter (e.g, USB Condom, so that the phone doesn't overheat, but stays connected to the network, and then the option to stay awake while charging will work.
- ๐ค Automation with Tasker: Create a task that simulates touching the screen every 29 minutes. Profile example: Profile: Screen on โ Task: โAutoInputโ โ Simulate Touchโ (coordinates 500,500)
- ๐ฅ๏ธ Remote control: connect your phone to your PC via scrcpy or Vysor โ the screen will not go out during an active session.
- ๐ฑ Second phone in hotspot mode: Some models (like the Redmi Note 11) donโt turn off the screen when active USB-tetering.
For owners of POCO F3 GT, Black Shark 4 and other gaming smartphones Xiaomi has another life hack:
- Activate the game mode (Settings โ Special features โ Game mode).
- Add the desired app (like Google Maps) to the list of games.
- Turn on the option to block the autoturn and sleep screen.
This will keep the screen on while the app is active, even without a charging connection.
Comparison of methods: which one to choose?
To make it easier for you to determine, we have compiled a comparative table:
| Method | Max time. | Need root? | Difficulty | Risks. | Suitable for |
|---|---|---|---|---|---|
| Standard settings of MIUI | 30 minutes. | โ No. | โญ | No. | Users without experience |
| The Developer Mode (Stay Awakening) | 10-30 minutes (only when charging) | โ No. | โญโญ | Reset after update | Navigation in the car |
| Third-party applications (Keep Screen On) | Unlimitedly. | โ No. | โญโญ | Conflict with battery optimization | Reading, watching videos |
| ADB-team | Unlimitedly. | โ No (but I need debugging) | โญโญโญ | Post-reset reset | Developers, testers |
| Editing by build.prop | Unlimitedly. | โ Yes. | โญโญโญโญ | Bootloop, loss of warranty | Advanced users |
For 90% of users, a combination of standard settings + Keep Screen On is enough. If you need to constantly turn on the screen (for example, for an information kiosk), use ADB or root methods.