How to turn off the automatic screen switch on Xiaomi smartphones: all ways

Xiaomi's screen goes out too quickly, interrupting reading, watching videos or playing? This problem is familiar to many owners of smartphones based on MIUI - the brand's brand shell. By default, the system sets a screen timeout for 30 seconds or 1 minute to save battery power, but this is not always convenient. Especially annoying when the display turns off while watching long articles, using a navigator or when connecting to a charger.

In this article, weโ€™ll look at all the possible ways to turn off screen auto-turn on Xiaomi, Redmi and POCO, from standard MIUI settings to hidden features for developers. Youโ€™ll learn how to increase screen time to cancel, completely turn off timeouts or set exceptions for individual applications. Instructions are relevant for MIUI versions 12, 13 and 14, as well as for older Android devices 9-13.

Why is Xiaomiโ€™s screen turning off too quickly?

The reasons for automatic screen quenching on Xiaomi fall into two categories: system settings and hardware limitations.

  • ๐Ÿ”‹ Energy saving regime โ€” MIUI aggressively reduces screen time if the battery is under 20%.
  • โš™๏ธ Standard timeout settings โ€“ by default, the screen goes out after 30 seconds of inactivity.
  • ๐Ÿ“ฑ Rise to Awaken โ€“ If it is active, the system can reset the timer at the slightest movement.
  • ๐Ÿ”„ Updates MIUI โ€” after some updates, user screen settings are reset.
  • ๐Ÿ› ๏ธ Optimizations for specific applications โ€“ for example, YouTube or Chrome can force the screen to go out in the background.

On devices with AMOLED-screens (for example, Xiaomi 13 Pro or Redmi) K60) Auto-off time is often shorter than on models with IPS (POCO X3, Redmi Note 10. This is due to the peculiarities of managing pixels in organic displays. Also on some firmware (especially custom) can work protection against screen burnout, forcibly extinguishing the display at fixed intervals.

โš ๏ธ Note: If the screen goes off instantly (via the 1-2 The problem may be a malfunction of the proximity sensor or the light sensor, which requires a diagnosis at the service center.

Method 1: Change screen timeout in standard settings

The easiest method is to increase the time to automatically turn off the display through the settings menu, which works on all Xiaomi devices regardless of the MIUI version:

  1. Open the Settings app (the gear icon on the home screen).
  2. Go to the Screen section (or the Display on older versions).
  3. Select the screen timeout (may be called Sleep After or Screen Shutdown).
  4. Set the maximum value of 10 minutes or 30 minutes (depending on the model).
  5. On some devices (POCO F4, Xiaomi 12T) the Never option is available โ€“ but it only appears when connected to charging.

If your menu doesnโ€™t have a timeout, try an alternative way:

Settings โ†’ System โ†’ Additional โ†’ Timeout screen

On Xiaomi with MIUI 14, the path may be different:

Settings โ†’ Display โ†’ Advanced settings โ†’ Timeout screen

Battery charge above 20% (otherwise MIUI will limit maximum time)

Power Saving Super mode in battery settings is disabled

The smartphone does not overheat (at temperatures above 40 ยฐ C, the timeout is reset)

Updated firmware to the latest version (older versions of MIUI may not have the option "Never")

-->

โš ๏ธ Note: On some models (Redmi) 9A, POCO M3) The maximum timeout time is limited to 5 minutes, even when connected to a charger. It's a hardware restriction that you can't get around without root rights.

Method 2: Disabling energy saving for individual applications

If the screen goes out only in certain programs (such as Google Maps, YouTube or Waze), you can set exceptions to the battery optimization menu, which will allow you to keep the screen on while the application is active, even if the timeout has expired.

Instructions for MIUI 12-14:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Find the desired application (for example, Yandex.Navigator) and tap it.
  3. Choose Battery Optimization (or Auto Start and Optimize).
  4. Activate the No Limits switch (may be called Not Optimize).
  5. In some versions of MIUI, you need to additionally enable Application Fixation in the recent task menu (swipe up โ†’ lock icon on the application card).

For Android 12+ (on Xiaomi 13, Redmi Note 12):

Settings โ†’ Applications โ†’ Special Access โ†’ Battery Optimization โ†’ All Apps โ†’ [Select App] โ†’ Not Optimize
AnnexTypical reason for screen blackoutDecision
YouTubeBackground playback turns off the displayDisable optimization + use Vanced or Premium
Google Maps / WazeEnergy saving removes navigation in the backgroundEnable No Limits + Secure the Application
Chrome/BrowserTimeout works when reading long articlesIncrease screen timeout + disable browser optimization
Games (Genshin Impact, PUBG)MIUI blocks background activityAdd the game to Game Mode (in screen settings)

YouTube|Google Maps / Navigator|Messengers (Telegram, WhatsApp)|Games|Other-->

Method 3: Using the Developer Mode

If the standard settings do not allow you to set a sufficiently long timeout, you can activate the developer mode and manually set the parameter. screen_off_timeout. This method works on all versions. MIUI, But it requires caution โ€“ incorrect changes can lead to failures.

Steps to enable the developer mode:

  1. Go to Settings. โ†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row (you will receive a notification "You became a developer").
  3. Go back to the main settings menu and open a new section for developers.

You can now change the screen timeout:

  1. In the developer menu, find Stay Active While Charging (or Stay Awaken) and turn it on.
  2. To manually set up a timeout, use the ADB command (PC required):
adb shell settings put global screen_off_timeout 1800000

Where 180,000 is the time in milliseconds (30 minutes). For 10 minutes, use 600,000.

How to check the current timeout value through ADB?
Connect your phone to your PC, open the command line and type: adb shell settings get global. screen_off_timeout The result will be in milliseconds (for example, in the, 300000 = 5 minute).

โš ๏ธ Note: On some devices (Redmi Note) 11, POCO X4 Pro) after modification screen_off_timeout through ADB To fix the value, use the Tasker or MacroDroid app to automatically apply the command when you start the system.

Method 4: Applications for Forced Screen Holding

If system methods don't work, you can use third-party utilities that block screen suppression by emulating touches or changing system settings.

  • ๐Ÿ“ฑ Keep Screen On is a simple utility with a widget for quick turn on/off function. Works without root, but requires overlay permission.
  • ๐Ÿค– Caffeine adds a button to the notification bar to temporarily disable timeouts. Supports exceptions for individual applications.
  • ๐Ÿ”ง Tasker is an advanced automation tool, and you can create a rule: If you run [an app], turn off the screen timeout".
  • ๐ŸŽฎ Game Booster (built-in to the game) MIUI) โ€” on some devices (Black Shark, POCO F3 GT) Allows you to turn off screen suppression in games.

Example of Tasker setup:

  1. Create a new task (Task โ†’ New Task).
  2. Add the Display action โ†’ Display Timeout.
  3. Set the value 3600 (1 hour) or 2147483647 (maximum).
  4. Create a profile (Profile โ†’ Application) and select a target application (e.g. Waze).
  5. Link the task to the profile.

Settings โ†’ Applications โ†’ Special Access โ†’ Overlay

Method 5: Hardware and Alternative Methods

If the software methods do not work, you can try to bypass the restrictions on the level of iron or firmware:

  • ๐Ÿ”Œ Charging Connection โ€“ Most Xiaomi devices will have the option to Never in the timeout settings when connected to the network.
  • ๐Ÿ”„ Firmware rollback - in some updates MIUI There are some screen control bugs, like in the MIUI 13.0.4 for Redmi Note 10 Pro was a bug resetting timeouts of up to 15 seconds.
  • ๐Ÿ› ๏ธ Custom firmware โ€“ LineageOS or Pixel Experience has no strict timeout restrictions.
  • ๐Ÿ”‹ Battery replacement โ€“ if the battery is worn out (capacity) < 70%), MIUI Reduces the screen time by force.

For infrared port devices (Xiaomi Mi 10, Redmi K30 Pro), you can use the remote control as a โ€œdeceptionโ€ โ€“ periodic signals from the remote will reset the timer of inactivity.

MethodNeed root?Risks.Efficiency
ADB-teamNo.Post-reset resetโญโญโญโญ
Tasker/MacroDroidNo.Difficulty setting upโญโญโญโญโญ
Custom firmwareYes.Loss of guaranteeโญโญโญโญโญ
Annexes (Caffeine)No.Battery dischargeโญโญโญ

๐Ÿ’ก

On devices with MIUI 14 and Android 13 (such as Xiaomi 13 Ultra) are standard ADB-In this case, you can block the commands. + AppOps to bypass restrictions.

Frequent Mistakes and How to Avoid Them

When trying to turn off the auto-turn off screen, users often face typical problems:

  • โŒ "There is no 'Time Out' option in the settings - check if it is hidden in the submenu Additional or Advanced Settings. Some firmware (Xiaomi.eu) may have different paths.
  • โŒ "Settings are reset after restarting" - this is typical for devices with a locked bootloader.Solution: use MacroDroid to automatically apply settings at start.
  • โŒ "The screen doesn't go out at all, even when it's not needed" - if you set a timeout value too high, the battery will run out faster. Optimal balance: 5-10 minutes with active use.
  • โŒ "Screenholding apps donโ€™t workโ€ โ€“ check overlay and battery optimization permissions.

On Xiaomi with Always-On Display (AOD) (Xiaomi 12S Ultra, Redmi K50 Pro), the screen can not "extinguish" completely, but go to minimal backlight mode.

Settings โ†’ Screen โ†’ Always-On Display โ†’

FAQ: Answers to Frequent Questions

Can you completely turn off the screen auto-turn off on Xiaomi without root?
Yes, but with reservations: Most devices have maximum timeouts โ€” 30 When you connect to the charger, you have the option Never. ADB Or Tasker can get around the restrictions without root (screen_off_timeout -1) It is possible only on custom firmware or root-rights.
Why did the MIUI update reset the timeout settings?
This is standard system behavior in major updates (e.g. MIUI 12 to MIUI 13). To avoid resetting: Before updating, write down your current settings (take a screen picture). Use MacroDroid to automatically apply settings after the update. Check if permissions for applications like Keep Screen On have reset.
How to make sure that the screen does not turn off only in a particular application (for example, in the Navigator)?
There are three ways: Through MIUI settings: Settings โ†’ Apps โ†’ [Select App] โ†’ Battery Optimization โ†’ Without Limits. With Tasker: Create a profile that turns off timeout only when the target application is running. Use Game Booster: on some devices (POCO F4 GT), it allows you to add non-gaming apps to the exception list.
Is it safe to use? ADB alteration screen_off_timeout?
Yes, if you: Use official commands (without modifying system files); do not set prohibitively large values (e.g., 2147483647 may cause crashes); check for changes after reboot (some firmware resets settings); risks are minimal, but before experiments, it is recommended to back up through Settings โ†’ System โ†’ Backup.
On my Redmi Note 8 Pro, the screen goes out in 15 seconds and doesn't change the timeout. What do you do?
This is a known problem for devices on MediaTek Helio G90T with MIUI 12.0.3-12.0.8 firmware. Solutions: Update the firmware to the latest version (in MIUI 12.0.9 bug corrected). Reverse to MIUI 11 via Fastboot (instructions on the Xiaomi forum). Use MacroDroid with trigger Device charged + action Display Timeout = 300.