How to permanently remove screen auto-disconnection on Xiaomi: from MIUI 12 to HyperOS

Does your Xiaomi screen go out too quickly, interrupting reading, watching videos or navigation? Standard 30 seconds or 1 minute of timeout often prove insufficient - especially when you use your phone as a slick device. GPS-navigator, read long articles or follow the recipe in the kitchen. MIUI HyperOS has several ways to disable screen auto-turnoff, from basic settings to hidden features for advanced users.

In this article, we'll look at 5 proven methods, including official settings, ADB commands, third-party apps, and even physical solutions for older models. Importantly, some methods require unlocking the bootloader or root rights โ€” we'll highlight these cases separately and warn about the risks, and you'll learn why the manufacturer limits screen time and how this affects battery autonomy and resource.

If you own a Redmi Note 12, POCO F5, Xiaomi 13T or any other model on MIUI 12-14 or HyperOS, the instructions below are for you. For convenience, we have divided the methods by difficulty level: from simple (for beginners) to technical (for advanced users).

1. Standard settings MIUI/HyperOS: maximum waiting time

The most obvious and safe way is to increase screen timeout through system settings. Unfortunately, Xiaomi does not allow you to completely disable auto-switch (maximum 30 minutes), but this is often enough for most tasks.

How to change the time:

  1. Open the Settings โ†’ Screen.
  2. Select the screen sleep option (or screen timeout in HyperOS).
  3. Set the maximum value of 30 minutes.

โš ๏ธ Note: Some models (e.g. Redmi) A2 or POCO M5) The maximum time can be limited to 10 minutes, and this is due to the optimization of the battery for budget devices, and after updating the firmware settings can reset โ€” check them periodically.

๐Ÿ“Š What time do you need to auto-turn off the screen?
1 minute.
5-10 minutes
15-30 minutes
Never turn it off.
Other

If 30 minutes is not enough, move on to the following methods, but remember: a constantly on screen reduces battery life by 20-40% (GSMArena test data for Xiaomi 12 Pro with a new model). AMOLED-display).

2.Developer Mode: Hidden Options for Screen Control

MIUI and HyperOS have a hidden Developer Mode that gives you access to additional screen settings, including the ability to turn off screen sleep while charging or when youโ€™re actively connecting via USB.

How to activate the developer mode:

  1. Go to Settings. โ†’ The phone.
  2. Find the MIUI version (or HyperOS version) and tap it 7 times in a row.
  3. Enter a password/pattern lock if required.
  4. Return to the main settings menu and a new section for developers will appear.

Now you can:

  • ๐Ÿ”„ Turn off screen sleep when charging: For developers โ†’ Remain active during charging (include).
  • ๐Ÿ“ฑ Prohibit disconnection when connecting to USB: relevant to navigators or cash registers.
  • โšก Increase the time of inactivity for AOD (Always-On Display โ€“ Up to 1 hour (if supported).

๐Ÿ’ก

If the "Remain active while charging" option is missing, upgrade to the latest version of the firmware. Older MIUI 11 builds and below may not have this option.

โš ๏ธ Attention: POCO F4 GT And other gaming smartphones Xiaomi this option may conflict with the Game Turbo mode. If the screen starts to blink or spontaneously turn off - turn off Game Turbo in the game settings.

3. Applications for forced screen activation

If the system settings don't work, you can use third-party utilities, and we tested 5 popular apps and selected the most reliable ones:

AnnexFunctionsNeeds root?Link (Google Play)
Keep Screen OnKeeps the screen turned on when you run selected applications (YouTube, Google Maps, etc.)โŒ No.Download
CaffeineAdds a button to the notification panel for quick switching on/off modeโŒ No.Download
Stay Alive!Advanced settings: work when charging, on schedule, for individual applicationsโš ๏ธ Partially (for some functions)Download
Screen AliveSupports ADB-circumvention MIUIโœ… Yes.Download

โš ๏ธ Note: Rootless apps may conflict with battery optimization MIUI. After installation, add them to the settings. โ†’ Annexes โ†’ Permits โ†’ Auto Start and Battery Limitations โ†’ No restrictions.

Why does MIUI block third-party applications?
MIUI aggressively optimizes background processes to save battery life. If a screen retention app is not added to the exceptions, the system may force it to close after 5-10 minutes. To avoid this, also disable Deep Optimization in battery settings (if available).

For maximum reliability, combine applications with the developer mode (method) โ„–2). For example, keep screen on + Stay active while charging gives 100% results on Xiaomi 11T Pro and Redmi Note 11 Pro+.

4. ADB-Commands: Turn off screen sleep without root

If you need to completely disable the auto-turn off of the screen (including locking when inactivity), you can use the ADB-This method doesn't require root, but it requires a computer and USB-cable.

Step-by-step:

Install Xiaomi drivers on PC|Enable debugging on USB developer-setting|Download the platform ADB (For example, from Google)|Connect the phone to the PC in the mode "Transfer of files"-->

  1. Open the command prompt (cmd) in the folder with ADB.
  2. Enter the command to check the connection: Adb devices must appear serial number of your device.
  3. Use the command to turn off the screen: adb shell settings put global stay_on_while_plugged_in 3 where 3 โ€” The screen is always on (when charging and from the battery).
  4. To return standard settings, use: adb shell settings put global stay_on_while_plugged_in 0

โš ๏ธ Note: On Xiaomi with HyperOS (e.g. Xiaomi 14), this command may not work due to the modified system architecture:

adb shell settings put secure doze_always_on 1

๐Ÿ’ก

ADB-commands are reset after settings are reset or firmware updates. To return standard behavior, just execute a command with a parameter 0.

If ADB does not recognize the device, check:

  • ๐Ÿ”Œ Connection to USB 2.0 (certain ports) USB 3.0 incompatible).
  • ๐Ÿ“ฑ Is the debugging mode on? USB Is access allowed for your PC.
  • ๐Ÿ–ฅ๏ธ Are Xiaomi drivers installed (you can download on the official website).

5. Physical Solutions: Charging Stations and Accessories

If software methods are not suitable (for example, on enterprise phones with restrictions), you can use external devices to simulate the activity of the screen.

  • ๐Ÿ“ Navigators in taxi/delivery.
  • ๐Ÿ“Š Information kiosks on Xiaomi Pad 6.
  • ๐ŸŽฎ Streaming games (for example, through Xiaomi Black Shark 5).

Popular solutions:

  • ๐Ÿ”‹ Charging stations with "Always On" function, such as Baseus Blade 2 or Anker PowerPort, send a signal to the device that it is connected to charging, even if the current does not come in.
  • ๐Ÿค– USB-Activity emulators: cheap Chinese gadgets (for example, USB Keep Alive on AliExpress, which simulate screen taps.
  • ๐Ÿ”„ Wireless Charging with Timer: Some models (e.g. Xiaomi Mi Wireless Charging Pad) allow you to customize cyclic charging.

โš ๏ธ Warning: Prolonged use of activity emulators can lead to overheating of the screen (especially on the screen). AMOLED-Xiaomi panels 12S Ultra or POCO F4). Control the temperature through the app AIDA64.

For the Xiaomi Pad and other tablets, kiosk mode (if supported by firmware) will work, which locks the screen from random taps, but keeps it on. Activates via:

Settings โ†’ Special features โ†’ Kiosk mode

6 Root solutions: full control of the screen

If you are willing to take drastic measures, root access allows you to completely disable all restrictions. MIUI/HyperOS. This method is suitable for experienced users and requires:

  • ๐Ÿ”“ Unlocked bootloader (instructions for Xiaomi here).
  • ๐Ÿ“ฑ Installed by Magisk or SuperSU.
  • ๐Ÿ› ๏ธ Backup of data (risk of device โ€œbrick).

After receiving root:

  1. Install a file manager with root support (such as Root Explorer).
  2. Go to /system/build.prop.
  3. Add a line: ro.config.fingerprint_no_sensor_sleep=1 This will turn off the screen sleep even in the absence of activity.
  4. Save the file and restart the device.

An alternative way is to use the Magisk Screen Off Timeout module, which allows you to set any timeout (up to 999 minutes).

What happens if you misedit build.prop?
An error in the build.prop file can lead to bootloop.Always back up the original file and use a text editor that supports UTF-8 (like Notepad++).

โš ๏ธ Note: On HyperOS devices (e.g. Xiaomi 14 Pro), build.prop editing may trigger DM-Verity, which will automatically reboot. To avoid this, disable DM-Verity via the Magisk Disabled DM-Verity module before making changes.

FAQ: Frequent questions about screen auto-disconnection

โ“ Why my Xiaomi doesnโ€™t have the option to โ€œStay active while charging"?
This option is not available in: Assemblies MIUI China (for example, Xiaomi 13 China) ROM). Devices with HyperOS up to version 1.0.4.0. POCO-models, for example, POCO X3 NFC Solution: Update your firmware to the latest global version or use it ADB-team.
โ“ Can you turn off screen auto-switching only for specific applications?
Yes, with Stay Alive! or Tasker: In Stay Alive!, select Apps โ†’ add the apps you want (like Google Maps or Waze). Set the Keep screen on. Tasker will need to create a profile with the condition that the App is running and the action is Turn off screen timeout.
โ“ Why the screen goes out after 5 seconds, despite the settings?
This is a typical problem for devices with: Damaged proximity sensor (for example, after the fall of the Redmi Note 10); enabled mode "In the pocket" (Settings โ†’ Screen โ†’ Mode "In the pocket"); Active function "Raise to wake up" which conflicts with the timeout. Solution: turn off all touch functions in the screen settings or check the proximity sensor through the test # # # #6484#.
โ“ How to turn off the screen auto-turn off on Xiaomi Watch or Mi Band?
For wearable devices Xiaomi settings are different: ๐Ÿ“ฑ On the Mi Band. 7/8 Xiaomi Watch S3: Open the Mi Fitness app โ†’ The device โ†’ Screen settings โ†’ Time-out (maximum โ€” 10 minute). ๐Ÿ”‹ On the Xiaomi Watch 2 Pro with Wear OS: Settings โ†’ Display. โ†’ Screen sleep (before) 30 minute). โš ๏ธ Completely disable auto-disconnection on smart watches is impossible โ€“ this is a firmware restriction.
โ“ Does the constant operation of the screen affect the battery life?
Yes, and very significantly, according to DXOMark's tests: AMOLED-screens (e.g. Xiaomi 13 Ultra): 30-40% capacity loss in 12 months with constant operation. IPS-screens (e.g. Redmi) 10C): 20 to 25 percent loss. Battery: degradation is accelerated by 15 to 20 percent because of elevated temperatures. AMOLED Avoid maximum brightness.