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

Your Xiaomi screen goes out too quickly, interrupting reading, watching videos or working with the navigator? This problem is familiar to many owners of Redmi, POCO and other brands. By default, the MIUI system sets aggressive power saving settings that turn off the display after 15-30 seconds of inactivity - even if you just hold the phone in your hands.

In this article, we will discuss all possible ways to disable auto-turn off the screen on Xiaomi devices, including hidden developer settings, circumventing restrictions. MIUI and solutions for specific scenarios (e.g., during charging or when using certain applications). MIUI 12, 13 and 14 Android-based 10-14, Most of the methods work on older versions.

Important: some settings may differ depending on the smartphone model (e.g. Redmi Note 12 vs POCO F5) and regional firmware (global, Chinese, EEA).

1. Standard method: screen settings in MIUI

The easiest method is to change the screen sleep timer through the basic system settings, which works on all Xiaomi smartphones without having to turn on developer mode or install third-party apps.

Open the Settings menu β†’ Screen (or Display in English) and then look for "Screen timeout" (or Sleep:

  • πŸ”„ 15 seconds – the minimum default value
  • ⏳ 30 seconds - a compromise option
  • πŸ“± 1/2/5/10/30 minutes - extended options
  • ❌ "Never" - complete shutdown (not available on all firmware)

Select the maximum value possible or β€œNever” if present. On some firmware (e.g. Chinese) the β€œNever” option may be hidden, in which case use the methods in the following sections.

⚠️ Note: On smartphones with AMOLED-screens (e.g. Xiaomi) 13 or POCO X6 Pro) the display can burn out pixels permanently. If you need to keep the screen on for a long time, reduce the brightness to 30-50%.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note (any model)
POCO (F/X/M series)
Xiaomi (Flagship Series)
Black Shark
other

2. Developer Mode: Hidden Timeout Settings

If the standard settings do not have the option β€œNever”, it can be unlocked through the developer menu, which works on 90% of Xiaomi devices, but requires pre-activation of the hidden mode.

First, turn on the developer mode:

  1. Go to Settings. β†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row.
  3. Enter a password/pattern lock if required.
  4. The message will be β€œYou are a developer!”

Now go back to the basic settings and open a new Settings β†’ Additional β†’ Developer options. Scroll down to the Screen block and find:

  • πŸ”§ Timeout screen when charging - allows you to set a separate time for the power mode
  • πŸ”„ Time-out screen inactivity - the main parameter
  • ⚑ Do not turn off the screen when charging – useful for navigation or video

Some firmware here has a "Never" option that is not on the standard menu, and if it is not available, try changing it to a maximum (for example, 30 minutes).

Stick on "Version." MIUI" 7 times|

Find a new section "For developers" |

Turn off "screen timeout when inactivity" |

Save settings and restart the phone-->

3. Turning off auto-switching for individual applications

If the screen goes out only in specific programs (for example, in Google Maps, YouTube or Waze), you can configure exceptions. MIUI There is a built-in function "Blocking applications".

Instructions:

  1. Open Settings β†’ Applications β†’ Blocking applications.
  2. Turn on the function if it is disabled.
  3. Select applications for which you want to cancel screen timeouts (for example, navigators or video players).
  4. Activate the Allow Lock switch for everyone.

After that, the screen will not go out while you are using the blocked application. Note: the function only works when the application is active on the screen (not folded).

AnnexTypical scenarioRecommended screen time
Google Maps/Yandex.NavigatorCar rideConstantly (or 1 hour)
YouTube/NetflixWatching video30 minutes.
Telegram/WhatsAppReading long messages5-10 minutes
Camera.Long-term shooting (timelapse)Constantly.

⚠️ Attention: Application Lock may conflict with battery optimization. If the screen goes out anyway, check the power saving settings for a particular application in Settings β†’ Battery β†’ Optimizing the battery.

4.Use of ADB-commands

For advanced users, there is a way to completely disable screen timeouts via ADB (Android Debug Bridge), which works even if the menu does not have the option β€œNever”, but requires a connection to a computer.

Step-by-step:

  1. Install. ADB-PC drivers.
  2. Enable USB debugging in the developer settings (see Section 2).
  3. Connect the phone to your computer and confirm the debugging permission.
  4. Open the command line (Windows) or the terminal (Mac/Linux) in the folder with adb.exe.
  5. Enter the command: adb shell settings put global stay_on_while_plugged_in 3 This command forces the screen to stay on always when charging.

To turn off the timeout completely (even without charging), use:

adb shell settings put system screen_off_timeout 2147483647

This command sets the maximum possible timeout value (about 68 years), which is equivalent to a full shutdown. To return the standard settings, use:

adb shell settings put system screen_off_timeout 30000

(where 30,000 is time in milliseconds, for example 30 seconds).

What if the ADB can’t see the device?
1. Check if debugging is included on USB 2. Install official Xiaomi drivers from mi.com. 3. Try another one. USB-cable (preferably original). 4 Restart your phone and PC. 5. Enter adb devices in the command line – if the device is displayed as β€œunauthorized”, confirm the permission on the phone.

5. Third-party screen control applications

If built-in methods don’t work, Google Play apps are useful when you need to flexibly set timeouts based on conditions (for example, only at night or when connecting to a Bluetooth device).

Top.-3 tested applications:

  • πŸ“± Keep Screen On is a simple switchboard for forced screen switching on.
  • ⚑ Caffeine – allows you to set rules on time, battery charge or running applications.
  • πŸ”§ Stay Alive – Advanced settings with support ADB Automation through Tasker.

Example of Stay Alive settings:

  1. Install the application and give it the rights to "overlay over other windows".
  2. Turn on the "Keep Screen On" option.
  3. In the "Rules" section, add exceptions for the desired applications.
  4. Activate the service in the notification curtain.

⚠️ Attention: Forced screen applications increase power consumption. On smartphones with a small battery (e.g. Redmi) 10C) This can reduce the time of autonomous operation on 15-20%. Track battery consumption in Settings β†’ Battery.

πŸ’‘

If the screen control app doesn’t work, check if the optimization is blocking it. MIUI. To do this, go to the Settings. β†’ Annexes β†’ Application management β†’ [Title of the annex] β†’ Battery and select "No restrictions".

6. Features for different Xiaomi models

Some Xiaomi smartphones have unique screen settings that are not found in other models.

Model/SeriesFeatures of auto-offRecommendations
POCO F3/F4/F5Aggressive battery optimization, screen goes out even when chargingUse it. ADB-team stay_on_while_plugged_in 3
Redmi Note 10/11/12In the developer menu there is an option β€œDo not turn off the screen when charging”Activate it in Settings. β†’ For developers
Xiaomi 12/13/14AMOLED-screen – the risk of burning out pixels during prolonged operationSet a timeout of no more than 30 minutes, use dark themes
Black Shark 4/5Game mode blocks standard screen settingsTurn off "Game Turbo" in Settings β†’ Special features

Nana POCO-Smartphones often have a problem when the screen goes out through 5-10 It's all about the company optimization. MIUI for POCO. Decision:

  1. Go to Settings β†’ Battery β†’ Performance mode.
  2. Select β€œBalanced” instead of β€œEnergy Saving”.
  3. Turn off the "Adaptive Battery" in the developer settings.

7. Frequent problems and their solutions

Even after changing the settings, the screen can continue to turn off, and here are the reasons and ways to fix them:

  • πŸ”‹ Screen goes out when charging: Check settings stay_on_while_plugged_in through ADB or turn on β€œDo not turn off the screen when charging” in the developer menu.
  • πŸ“΅ Timeout resets after reboot: It's a bug MIUI. Solution – Install the Stay Alive app and activate autorun in its settings.
  • πŸ”’ No "Never" option in the settings: Use ADB-command with the parameter 2147483647 or update the firmware to the latest version MIUI.
  • πŸ›‘οΈ Antivirus Blocks Changes: Disable Mi Security in Settings β†’ Annexes β†’ Managing applications for the time of setting up.

If neither method worked, it could be a damaged firmware or hardware malfunction (such as a proximity sensor).

  1. Reset the settings to factory (Settings β†’ About phone β†’ Reset settings).
  2. Flash the device through the Mi Flash Tool (instructions at xiaomiflash.com).
  3. Contact the service center if the problem is hardware.

πŸ’‘

On Xiaomi smartphones with an infrared proximity sensor (such as the Redmi 9A), the screen can go out due to false positives. Check the sensor with the test ##6484## (input in the dialer).

FAQ: Answers to Frequent Questions

❓ Can you turn off the auto-turn off the screen for always, even without charging?
Yeah, but not on all firmware. ADB: adb shell settings put system screen_off_timeout 2147483647. Using apps like Stay Alive (requires rights) SYSTEM_ALERT_WINDOW). In some models (for example, POCO X3) This can cause overheating – watch the temperature of the processor.
❓ Why After Updating MIUI screen settings are off?
This is standard MIUI behavior in major updates (e.g., from MIUI 13 to MIUI 14). Solution: Reset the timeout to Settings β†’ Screen. If the options are gone, use ADB or third-party apps. Back up your settings through Settings β†’ Additional β†’ Backup.
❓ How to keep the screen from going off during a YouTube video?
Options: Add YouTube to App Lock (see section 3). Use the "Double-touch to wake" gesture (Settings β†’ Screen β†’ Double-touch). Enable the "Premium Playback" option in YouTube settings. If the video stops, turn off "Adaptive Brightness" in the screen settings.
❓ Why Xiaomi 13 screen turns off after 10 seconds, although there are other settings?
On the flagships of Xiaomi with AMOLED-The screens are additionally optimized AOD (Always on Display. Solution: Turn it off. AOD In Settings β†’ Screen. β†’ Always On Display. Deactivate "Optimization" from the developer menu AOD". Install the Keep Screen On app and add it to battery exceptions. If the problem persists, check the proximity sensor (it may be locked with a case).
❓ Can I turn off the screen without root rights?
Yes, all the methods in this article work without root. Except for some features of the Stay Alive app, but they are not required for the main task. If you are offered to get root to solve this problem, it is a scam. Xiaomi has enough standard tools or ADB.