How to turn off the auto-turn off screen on Xiaomi: all working methods

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:

  1. Go to Settings. โ†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row (you will be notified "You became a developer").
  3. Return to the main settings menu and open a new Developer section (usually at the bottom of the list).
  4. 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?
If your developer menu doesnโ€™t have the option of Stay Awaken, try an alternative method: 1. Connect your phone to charge. 2. Turn on Debugging. USB same-menu. 3. Install the app ADB AppControl from Google Play and activate the setting through it WAKE_LOCK.

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:

  1. Download and install the app from Google Play.
  2. Open it and grant permission to Overlay over other windows (in the security settings).
  3. Turn on the switch Keep the screen on.
  4. If necessary, add exceptions to the list.
๐Ÿ“Š What app do you use to block your screen sleep?
Keep Screen On
Caffeine
Stay Alive!
Other
I don't use it.

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:

  1. Download and install ADB Tools on your computer (e.g. Googleโ€™s Platform Tools).
  2. Turn on the phone debugging over USB (Settings โ†’ For developers).
  3. Connect your phone to your PC through USB-cable and select File Transfer Mode.
  4. 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 3

This 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 modelDoes 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:

  1. Install Tasker and AutoInput plugin.
  2. Create a task with AutoInput โ†’ Simulate Touch.
  3. Set up a repetition every 20-30 seconds.
  4. 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 causeDecision
The screen goes out despite the "Never" settingsBattery optimization blocks background activityAdd the app to exceptions (Settings โ†’ Battery โ†’ Battery Optimization)
Settings are reset after rebootingADB-The command is not applied at the system levelRepeat 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 failureUpdate 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!

FAQ: Answers to Frequent Questions

Can I turn off the screen on Xiaomi without root rights?
Yes, most of the methods in this article (system settings, developer mode, ADB-commands do not require root. However, for some advanced functions (e.g., permanent use) ADB After rebooting, superuser rights may be required.
Why did the MIUI update reset the timeout settings?
Large updates (e.g. with the MIUI 12 on MIUI 13) the system resets some user settings, including screen settings, and after updating, re-apply the desired settings or ADB-team.
Will the battery run down faster if the screen is always on?
Yes, AMOLED-screens (installed in most modern Xiaomi) consume a significant amount of energy when constantly working. For example, with a brightness of 50% and an active screen, the discharge can accelerate by 2-3 times.
Does the ADB work on all Xiaomi models?
Most devices on the MIUI support ADB-on some budget models (e.g. Redmi) 9A) If the command doesn't work, try an alternative method with apps from Google Play.
Can I turn off the screen auto-turning only for a specific application?
Yes, it will: Built-in Sleep Lock in the app settings (if available) Third-party utilities like Stay Alive! or Tasker with exception settings.