How to turn off the auto-turn off the screen on Xiaomi: all ways for MIUI

Your Xiaomi screen goes out too quickly, interrupting reading, watching videos or playing? This is a standard power saving feature in MIUI, but it is easy to adjust β€” or turn off altogether. The problem is familiar to owners of all models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra. In this article, we will discuss 5 working ways to increase the time before the screen is turned off or remove the restriction completely, including hidden settings for power users.

It is important to understand that long-term screen operation without turning off reduces battery life by 15-30% (data from GSMArena tests for the first time). AMOLED-However, in some scenarios β€” for example, when using a smartphone as a navigator or during online streams β€” this is a necessity. We will consider both standard methods through the settings menu and advanced tricks with the help of the Internet. ADB and third-party utilities.

Why Xiaomi’s screen goes out on its own

The automatic disabling of the display is part of the MIUI power management system, which operates on three levels:

  • πŸ”‹ Hardware layer: The display controller turns off the backlight when there is no activity to reduce the load on the battery. This is embedded in the firmware even at the level of Qualcomm Snapdragon or MediaTek Helio.
  • βš™οΈ System settings: timer of inactivity in Settings β†’ Display that can be changed manually.
  • πŸ“± Applications: Some programs (such as YouTube or Chrome) can override system settings through the use of a computer. API Android.

With newer versions of MIUI 14 (Android 13/14), the algorithm is smarter: it analyzes contextual usage. For example, if you read a book in Xiaomi Reader, the screen may not go out longer than when you just watch a home screen. But this doesn’t always work correctly β€” especially on devices with 60Hz displays (like the Redmi 10A).

⚠️ Note: On smartphones with AMOLED-With screens (for example, Xiaomi 13 Pro) the display is constantly operating at maximum brightness can lead to pixel burnout after 1.5-2 years of intensive use.

Method 1: Change the sleep timer in standard settings

The easiest method is to increase the time to auto-turn off the screen through the settings menu, which works on all Xiaomi, Redmi and POCO devices with MIUI 10–14:

  1. Open the Settings app (cog icon).
  2. Go to Always on screen and lock (on older versions – Display β†’ Sleep).
  3. Click on the item "Sleep" (or "Sleep Timer").
  4. Choose the maximum value of 30 minutes or Never (if available).

On some models (e.g. POCO F5), the option may never be absent. In this case, select 30 minutes, which is the maximum possible value through the standard menu.

Check the version. MIUI In Settings β†’ The phone.|Update the firmware to the latest version|Use the method with ADB (section)|Install a third-party application (section 5)-->

Xiaomi modelMaximum sleep timer in settingsDoes "Never" support?
Xiaomi 14 / 14 Pro30 minutes.Yes (MIUI 14)
Redmi Note 12 Pro+10 minutes.No.
POCO X5 Pro30 minutes.Yes (after update)
Xiaomi 11T15 minutes.No.

Method 2: Using the Developer Mode

If the standard settings do not have the option Never, you can activate it through the developer mode. This method works on all Android 8.0+ devices:

  1. Open the Settings. β†’ The phone.
  2. Find the MIUI version and click on it 7 times in a row, and the notification will appear "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 option to "Do not turn off the screen (or Stay awake). Activate it."

Once this option is enabled, the screen will not go out when connected to charging.Limitation: on some models (for example, Redmi 9A), the function is unstable - the screen can flash or spontaneously lock after 1-2 hours.

πŸ’‘

If the Stay awake option is missing, try enabling USB Debugging in the same developer menu, then connect your phone to your PC and execute the command.

adb shell settings put global stay_on_while_plugged_in 3

Method 3: Applications for forced screen switching on

If system methods didn't work, you can use third-party utilities. We tested 3 apps that work consistently on Xiaomi:

  • πŸ“± Caffeine (free, no ads): Adds an icon to the notification bar, which keeps the screen on until manually disabled. Supports Android 12-14.
  • β˜• Keep Screen On (premium version): allows you to configure exceptions for individual applications (for example, only for Google Maps or YouTube).
  • πŸ”„ Screen Alive: automatically turns on the screen when motion is detected (useful for navigators) and works even on a locked device.

For installation:

  1. Download APK from an official website (such as Caffeine) or through Google Play (if available).
  2. Allow installation from unknown sources in Settings β†’ Applications β†’ Special Access.
  3. Launch the application and grant Overlay rights over other windows.

⚠️ Note: Screen Alive applications may conflict with MIUI Optimization: If the screen starts flashing or locking spontaneously, turn off optimization via Settings β†’ Annexes β†’ Application management β†’ Threefold β†’ Special access β†’ Optimize the battery and select β€œNo Limits” for the utility.

Caffeine|Keep Screen On|Screen Alive|Another |Do not use-->

Method 4: ADB commands to completely shut down the timer

For advanced users, there is a way to completely disable the auto-turn off screen via ADB (Android Debug Bridge), a method that works on all Xiaomi devices but requires a connection to a computer.

Instructions:

  1. Install ADB Tools on your PC.
  2. Enable USB Debugging in the Developer menu (see Method 2).
  3. Connect your phone to your PC and execute on the command line: Adb devices (your device should appear).
  4. Enter the command to turn off the timer: adb shell settings put global stay_on_while_plugged_in 3 (significance 3 It means β€œalways on, regardless of chargingΒ»).

To return the standard settings, use the command:

adb shell settings put global stay_on_while_plugged_in 0

What if the ADB can’t see the device?
1.Install Xiaomi drivers USB Drivers from the official website. 2. Try another one. USB-cable (original from Xiaomi). 3. In the developer menu, turn on Debugging by USB (security settings) and confirm the PC permission. 4. Restart your phone and PC.

Method 5: Bypassing restrictions through Tasker (for experienced)

Tasker is a powerful automation tool that allows you to create rules for controlling your screen, such as:

  • πŸ“± Automatically turn on the screen when a particular application is launched (e.g. Waze).
  • ⏱️ Set different sleep times for day and night modes.
  • πŸ”‹ Turning off the timer only when connected to charging.

Example of profile for permanent screen operation:

  1. Install Tasker from Google Play.
  2. Create a new profile: State β†’ Power β†’ Connected to charging.
  3. Add task: Display β†’ Screen waiting time β†’ 10 hours (maximum value).
  4. Save and activate the profile.

For Xiaomi with MIUI 12+, you may need to further disable battery optimization for Tasker and allow auto-run in Settings β†’ Applications β†’ Application Management β†’ Tasker β†’ Auto-Run.

πŸ’‘

Tasker is the only way to flexibly set the screen to auto-turn depending on the context (charging, app, time of day, etc.).

Frequent problems and solutions

Even after all these methods are used, the screen can continue to go out.

Problem.Possible causeDecision
The screen goes out in 1-2 seconds.The proximity sensor (for example, during a call) was activatedCheck the sensor: ##6484## β†’ Test Proximity Sensor
The timer is reset after rebootingFailure in MIUI Optimization settingsPerform adb shell cmd package compile -m speed -f com.miui.securitycenter
Applications ignore settingsApplication API Redefined System ParametersUse Tasker or Caffeine for enforcement control

If none of the methods worked, check:

  • πŸ”‹ Battery condition: with severe wear (capacity) < 70%) the system forcibly reduces screen time. β†’ Battery. β†’ Battery status.
  • πŸ› οΈ System Updates: In Some Versions MIUI 13 was a bug with auto-turn off screen (fixed in patch from 05.2023).
  • πŸ“± Sensor damage: If the screen goes out immediately after unlocking, the light or proximity sensor may be faulty.

FAQ: Answers to Frequent Questions

Can I turn off the screen without root rights?
Yes, all the methods in this article (except for some ADB commands for older Android versions) work without root. However, some models (such as the Xiaomi Mi A3 with pure Android) may require unlocking the bootloader.
Why did the screen settings reset after the MIUI update?
For major updates (e.g., from MIUI 12 to MIUI 13), the system resets user power saving settings. To return the previous settings, repeat the steps from Method 1 or Method 4 (ADB).
Is it safe to keep the screen on 24/7?
For AMOLED-displays (Xiaomi) 12/13/14 constant operation with maximum brightness accelerates the burning of pixels. IPS-screens (Redmi) 9/10 The risk is lower, but the heat increases. 50–60%. Turn off the β€œalways on screen” at night.
How to keep the screen from going out while watching YouTube?
There is no such feature in the YouTube app itself, but you can: Use Caffeine or Keep Screen On. Enable Theatre mode in YouTube settings (turns off sleep timer on some devices). Set Tasker to activate when you open YouTube.
Why does the POCO F4 screen go out in 15 seconds, even though it costs 30 minutes in the settings?
It's a known problem. MIUI 13.0.4–13.0.6 for devices on Snapdragon 870/888. Solutions: Update the firmware to MIUI 13.0.7+. Perform a reset of settings through Settings β†’ Additionally. β†’ Reset settings (does not delete data). Use ADB-Adb shell settings put system screen_off_timeout 1800000 (30 minute).