How to disable screen auto-turning off on Xiaomi smartphones: all ways

Your Xiaomi screen goes out too quickly, interrupting reading, watching videos or playing? This problem is familiar to many owners of smartphones on MIUI β€” the standard 30 seconds or 1 minute of inactivity is often not enough time. Fortunately, the manufacturer has provided several ways to increase screen time or turn off its automatic shutdown altogether.

In this article, we’ll take a look at all the available methods, from basic settings in the phone menu to hidden features for power users, how to set screen timeouts for different scenarios (like only when charging), which apps will help bypass system limitations, and what to do if the desired Suddenly options have disappeared after the update, and also a unique way to disable screen lock while watching YouTube without root rights, which few people know about.

1. Standard screen waiting time settings

The easiest way to increase the time to automatically turn off the display is to change the settings in the system settings, which works on all Xiaomi, Redmi and POCO smartphones with MIUI 12-14 (including global and Chinese firmware).

To find this option:

  • πŸ“± Open the Settings app (cog icon on the desktop).
  • πŸ” Go to the Screen (or Display in English version) section).
  • ⏱️ Find the Sleep Mode (or Sleep) and tap it.
  • πŸ“ Choose the right value from the list: 15 seconds to 30 minutes (on some models, Never available).

Note: If your phone doesn’t have the Never option, it means the manufacturer has limited the maximum time for safety reasons (overheating, battery drain).

πŸ’‘

On some models (such as the Xiaomi 12T or Redmi Note 11), an additional Adaptive Shutdown switch appears after the time is selected. It is better to turn off it - it resets the timer at the slightest movement of the phone, which prevents accurate setting.

2. Developer mode: hidden opportunities

If standard options aren't enough, activate Developer Mode, which gives you access to advanced settings, including forced sleep shutdown, which works on all devices running Android 10 and later.

How to turn on the developer mode:

  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. Go back to the main settings menu and open a new section for developers.

Now find the option to "Don't turn off the screen while charging" (or "Stay awake"), turn it on and the display will remain active while the phone is connected to the charger, which is ideal for watching long videos or using the phone as a navigator in the car.

What if the β€œStay Awaken” option is not available?
On some firmware (e.g. MIUI 13 for POCO F4), this option is hidden. Try searching for the settings to "do not turn off" and the system will find it even without displaying it in the menu.

3. Applications for forced screen retention

If the system settings don't work, use third-party utilities that allow you to:

  • πŸ”„ Disable screen auto-disable for individual apps (e.g. YouTube or Google Maps only).
  • ⚑ Set different timeouts for charging and battery operation.
  • πŸ› οΈ Bypassing restrictions MIUI maximum inactivity.

The best applications for this purpose:

Name of nameFunctionsNeed a Root?Reference
Keep Screen OnScreenhold for selected applications, quick access widget❌ No.Google Play
CaffeineActivation through the notification panel, support for Android 12+❌ No.Google Play
Stay Alive!Extended rules for Wi-Fi, Bluetooth, charging⚠️ Partially.Google Play

When using these applications, consider:

⚠️ Note: Some utilities (e.g. Stay Alive!) request permission to access special features (in the Developer Settings). β†’ Without it, they won't be able to block the screen from turning off.

πŸ“Š Which app do you prefer to hold the screen?
Keep Screen On
Caffeine
Stay Alive!
Other
Not using.

4.Configure via ADB (for power users)

If you need to completely disable the screen auto-turn off (including locking when manually pressing the power button), use the ADB command. This method requires a computer and basic knowledge of working with the console, but gives maximum control.

Instructions:

  1. Download and install Platform Tools (includes adb.exe).
  2. Turn on the phone debugging over USB (Settings β†’ For developers β†’ debugging over USB).
  3. Connect your phone to your PC and execute in the command line:
adb shell settings put global stay_on_while_plugged_in 3

Where 3 means β€œalways on” (alternatives: 1 – only when charging, 0 – off).

To return the standard behavior, do:

adb shell settings put global stay_on_while_plugged_in 0

⚠️ Attention: After use ADB-command MIUI (For example, battery optimization may not work properly. Before experimenting, back up your settings!

Install Platform Tools on PC|Enable debugging on USB phone-on|Connect your phone to the original cable|Check the connection with the team `adb devices`-->

5. Features for specific Xiaomi models

Some Xiaomi smartphones have unique settings or limitations, and this is what owners of popular models need to know:

  • πŸ“± Xiaomi 13/13 Pro: In MIUI 14 β€œDo not turn off the screen” option moved to Settings β†’ Battery β†’ Optimizing the battery β†’ Sleep settings.
  • πŸ“± POCO F5/X5: On these devices, maximum time in standard settings β€” 10 It takes a minute. ADB root.
  • πŸ“± Redmi Note 12: When using Game Turbo Mode (Settings) β†’ Special facilities β†’ Game mode: The screen does not go out during games, even if the timeout is set for 30 seconds.
  • πŸ“± Xiaomi Pad 5/6: On tablets, the option is Never available by default in screen settings.

For models with AMOLED-screens (e.g. Xiaomi) 12S Ultra or Redmi K60) If you have to keep the screen on all the time, reduce the brightness to 30-50% or use dark themes.

πŸ’‘

On POCO and Redmi with Snapdragon processors, the screen auto-disconnect time depends on the firmware version. After upgrading to MIUI 14, the maximum value can reset to 5 minutes - check the settings after the upgrade!

6.Alternative methods: from widgets to physical solutions

If the software methods are not suitable, try these options:

  • πŸ”„ Do Not Sleep Widget: Some launchers (like Nova Launcher) allow you to add a widget that simulates touching the screen every 30 seconds, which tricks the system into resetting its inactivity timer.
  • πŸ”Œ Use of the OTG-Cable: Connect your mouse to the phone via USB-OTG. Even without cursor movements, the system will assume that the device is active.
  • πŸ“± Demonstration mode: Some firmware has a hidden β€œdemo mode” (for example, on Xiaomi Mi). 11). The command is activated: adb shell am start -n com.android.settings/.DevelopmentSettings After that, the Demo Mode option will appear in the settings, where you can turn off sleep mode.

For owners of Xiaomi with an IR port (like the Redmi Note 10): you can program the remote control to send a signal every 20 seconds, which will make the phone β€œthink” that you are interacting with it.

7. Frequent problems and their solutions

Sometimes the settings are reset or not working, and here are the typical situations and ways to fix them:

Problem.Reason.Decision
Time out resets after rebootMIUI Optimization Resets SettingsDisable optimization for the application in Settings β†’ Applications β†’ Application Management β†’ Battery Optimization
There is no "Never" option.Restriction of firmware or regionUse it. ADB-Stay Alive! command or application with root rights
The screen goes out during a YouTube videoOptimizing the battery for the applicationIn YouTube settings, turn off Video Optimization and add the app to battery exceptions

If the necessary options are missing after the MIUI update, try:

  1. Reset the screen settings to standard (Settings β†’ System β†’ Resetting β†’ Reset screen settings).
  2. Install an older firmware version via Fastboot (instructions are available on the XDA Developers forum).
  3. Use Magisk modules (e.g. MIUI Optimizations) if you have root access.
Can I turn off the screen without root rights?
Yes, most users are short on standard settings (Settings β†’ Screen β†’ Sleep) or apps like Keep Screen On. Root is only required for deep changes to system files, such as build.prop modifications.
Why does the screen go out despite the settings?
Probable causes: πŸ”‹ Aggressive battery optimization for a specific application is enabled. πŸ› οΈ Thermal throttling worked (the phone overheated). πŸ“² A third-party power management app (e.g. Greenify) is installed. Check the battery log in Settings β†’ Battery β†’ Battery use – there are the reasons for forced screen shutdown.
How to make sure that the screen does not turn off in only one application?
Use Keep Screen On: Add the app to the exception list. Activate the notification switch for quick control. When you open the desired application (such as Google Maps), tap the notification to block the screen from turning off. Alternative: Some firmware (such as MIUI 13 for POCO X3) has a built-in "Disable Sleep Mode for Applications" feature in the battery settings.
Is it safe to keep the screen on all the time?
Short-term screen retention (for example, for 1-2 hours) will not cause harm: πŸ”‹ Accelerated battery discharge (especially on the AMOLED-screen). 🌑️ Overheating (risk higher at high brightness). πŸ“± pixel burnout (on AMOLED Recommendations: Use dark themes and reduce brightness. Activate screen retention only when connected to charging. Take breaks every 30-60 minutes.
How to return standard settings after using ADB?
Adb shell settings delete global settings stay_on_while_plugged_in Or reset all the settings. ADB Up to standard: adb shell settings reset global After restarting the phone.