How to do not go out the screen on Xiaomi: all ways for MIUI

Your Xiaomi, Redmi or POCO screen goes out too quickly while reading, watching videos or working with the navigator? By default, MIUI automatically turns off the display after 30 seconds of inactivity - this saves battery power but often interferes with users. Fortunately, the system can be customized to your needs: increase timeout, turn off auto-turning at all or use special modes.

In this article, we will discuss 5 proven ways to make sure the screen does not go out on Xiaomi – from standard settings to hidden features and ADB-All methods work on the latest versions. MIUI 14/15 (including HyperOS and tested on Xiaomi models 13/14, Redmi Note 12/13, POCO F5/X5. If you use a custom firmware device (like LineageOS), some of the instructions may be different – we’ll mention that too.

Before you start settings, check if you have power saving mode on, which force you to shorten screen time, go to Settings β†’ Battery β†’ Battery Mode and select Performance or Balanced, and make sure your phone doesn’t have active optimizations for apps (like YouTube or Google Maps) that can lock the screen.

Method 1: Change screen timeout in standard MIUI settings

The easiest method is to increase the time to automatically turn off the display through the settings menu, which is suitable for all devices on MIUI and does not require superuser rights (root).

Open Settings β†’ Display and look for β€œSleep Mode” (or β€œTime to Turn Off” in older versions). There are options from 15 seconds to 10 minutes. Choose a maximum value of 10 minutes. Note that on some models (for example, the POCO F4 GT), this option may be in the sub-menus β€œAdditional Display Settings”.

  • ⏳ 15 seconds – minimum value, set by default in energy saving mode.
  • πŸ“± 30 seconds is the standard value for most Xiaomi smartphones.
  • πŸ”‹ 1/2/5/10 Minutes – Best Options for Reading or Navigating.
  • ⚠️ Never - such an option in MIUI No, but it can be activated through ADB (see method 4).

If you don't have "Sleep Mode" on your menu, try the alternative path: Settings β†’ System β†’ Additional β†’ Screen Waiting Time. Some firmware (e.g. MIUI Global) may have different names. Also note that settings may reset after the system update - check them after installing new versions of MIUI.

⚠️ Attention: Setting a maximum timeout (10 minutes) can reduce battery life by 15-20%.If you need the screen to last longer but the battery goes slower, use adaptive brightness and turn off Always-On Display (AOD).

Method 2: Use of the Developer Mode

V MIUI There's a hidden developer mode that allows you to flexibly adjust the behavior of the screen. To activate it, go to Settings. β†’ About the phone and 7 times in a row click on the line "Version" MIUIΒ». After that, a notification will appear β€œYou became a developer!Β».

Now go back to the main settings menu and open a new Settings β†’ Additional β†’ For developers. Here, find the setting β€œScreen Wait Time When Charging Connects.” It’s the default timeout, but it can be set separately. This is useful if you want the screen to stay on while charging (like watching movies or using your phone as an alarm clock).

  • πŸ”Œ Disconnect – the screen will work constantly when connected to the network.
  • ⏱️ 1-10 minutes – individual charging setting.
  • πŸ”„ Use the sleep mode setting - the value of the main settings.

Another useful option on this menu is "Don't turn off the screen while charging," which forcibly blocks the display from turning off while the device is connected to a power outlet or Power Bank, which is convenient for using the phone as a multimedia center (for example, for broadcasting to a TV via Miracast) or for long periods of work with the navigator in the car.

πŸ“Š How often do you connect Xiaomi to charging during the day?
1-2 times
3-5 times
I keep it on charge all the time.
Just tonight.

Method 3: Applications for blocking sleep mode

If standard settings are not enough, you can use third-party utilities. Google Play has several proven applications that allow you to turn off the screen auto-turning selectively, for example, only for certain programs or when performing specific actions.

One of the most popular solutions is Caffeine (or its Keep Screen On analogue), which adds an icon to the notification panel after installation, which keeps the screen on until you manually turn off the mode, and the advantage of this approach is that you don't need to change the system settings, and the effect is applied only when necessary.

AnnexFunctionsFeatures
CaffeineLocking sleep mode by timer or before manually switching off.Minimalist interface, no advertising, works without root.
Keep Screen OnAutomatically enable when you run selected apps (such as Waze or YouTube).It requires permission to overlay (Display over other apps).
Stay AliveFlexible rules for different scenarios (charging, connecting headphones, etc.).The paid version removes the limit on the number of rules.
TaskerCreate automatic tasks (for example, turn off sleep mode when connecting to a Bluetooth device).It is difficult for beginners, but as flexible as possible.

Before installing, check the reviews and rating of the application – some utilities may contain aggressive advertising or request unnecessary permissions. Also remember that MIUI can block background processes to save battery. To avoid this, add the selected application to the optimization exception list: Settings β†’ Applications β†’ Permissions β†’ Autostart and Without restrictions.

⚠️ Note: Some applications (e.g. Stay Alive) require access authorization, and be careful, these rights give the program access to system management.

Check the app’s ranking in Google Play (not lower than 4.0)

Read reviews (especially negative ones)

View the requested permissions

Add an app to battery optimization exceptions

Create a backup copy of settings (optional)-->

Method 4: Disable sleep mode via ADB (without root)

If you need to completely disable the automatic screen shutdown (for example, to use your phone as a display or surveillance camera), you can use the screen. ADB-This method doesn't require superuser rights, but it requires connecting the phone to a computer.

First enable USB debugging in the developer settings (see Method 2), then connect Xiaomi to your PC via cable. Download and install Platform Tools (part of the Android SDK) or use the portable version of Minimal ADB and Fastboot. Open the command prompt (cmd) in the adb.exe folder and do:

adb shell settings put global stay_on_while_plugged_in 3

This command forces the screen to stay on only when you're connected to a charger.

  • 0 - Disabled (standard behavior).
  • 1 – only when connected to a network (AC).
  • 2 – only when connected via USB.
  • 3 - for any type of charging (recommended).

To return the standard settings, do:

adb shell settings put global stay_on_while_plugged_in 0

If you need to turn off sleep mode altogether (even without charging), use:

adb shell settings put global screen_off_timeout -1

But remember, this will drastically reduce battery life. To get back to the standard value (e.g. 10 minutes = 600,000 milliseconds), do this:

adb shell settings put global screen_off_timeout 600000

⚠️ Warning: After restarting your phone or resetting your settings ADB-To make the changes permanent, you need to repeat the procedure or use Tasker with a plugin. ADB Plugin for Automation.

What if the ADB does not recognize the device?
1. Make sure that the debugging is enabled by USB 2 Update Xiaomi drivers via Mi PC Suite or manually (download from the official website). 3. Try another one USB-cable (preferably original). 4. Reboot your phone and PC. 5. In the command line, execute adb kill-server, then adb start-server.

Method 5: Hidden MIUI features to extend screen performance

MIUI has a few little-known features that help manage display time without third-party apps, including Movie Mode, which automatically blocks sleep and disables notifications when watching videos in supported apps (e.g. Mi Video, YouTube, Netflix).

To activate this mode:

  1. Open Settings β†’ Special Opportunities β†’ Mode of the cinema.
  2. Turn on the switch and add the desired applications to the list.
  3. When you start the video, the screen will remain on until you exit the app.

Another useful option is Reading Mode, which not only reduces blue light, but also increases screen timeout to 30 minutes when activated.

  1. Open the Settings β†’ Display β†’ Reading Mode.
  2. Set up a schedule or turn it on manually.
  3. In some versions of MIUI, you can set a separate timeout for this mode.

Also note the β€œAlways-On Display (AOD)” feature. While it doesn’t turn off sleep mode by itself, its settings can affect screen behavior. For example, if you use AOD with display of time, notifications or animations, the phone may wake up more often, which indirectly prolongs the active display time. Set AOD in Settings β†’ Screen Lock β†’ Always-On Display.

πŸ’‘

If you need to keep the screen from going out during a call or use of headphones, activate the option β€œDo not turn off the screen during a call” in the Phone Settings β†’ More.

Problems and solutions: the screen goes out despite the settings

Sometimes even after changing all the settings, the Xiaomi screen continues to shut down.

  • πŸ”‹ Aggressive battery optimization β€” MIUI forcibly shut down applications.
  • πŸ› οΈ Firmware errors – especially after updating MIUI.
  • πŸ“± Hardware limitations on some models (e.g. Redmi) 9A) Maximum timeout is artificially limited.

To solve the problem:

  1. Turn off optimization for applications: Settings β†’ Annexes β†’ Application management β†’ [Select the application] β†’ Battery β†’ No restrictions.
  2. Reset the display settings: Settings β†’ System β†’ Reset settings β†’ Reset display settings.
  3. Check the proximity sensor: if it's faulty, the phone may "think" you put it to your ear (e.g., during a call). Test the sensor with code ##6484## (dial in dialer).
  4. Update the firmware: some bugs are fixed in new versions of MIUI.

If the problem persists, try rolling back the update (if it appears after the update) or resetting to factory settings. Before doing so, back up your data via Settings β†’ System β†’ Backup.

πŸ’‘

In the models with AMOLED-screens (for example, Xiaomi 13 Pro) long-term display performance at maximum brightness can lead to pixel burnout. AOD dark-themed.

FAQ: Frequent questions about sleep mode on Xiaomi

Can I completely remove the auto-shutdown screen without ADB?
No, standard MIUI settings don't have a "Never" option for screen timeouts, a maximum of 10 minutes, and a full shutdown requires ADB (Method 4) or root rights.
Why does the screen go out in 5 seconds, even though I set it 10 minutes?
Most likely, power saving mode or optimization for a specific application is enabled. Check Settings β†’ Battery β†’ Battery mode and optimization settings for an active application.
Will the battery run down faster if you increase the screen timeout?
Yes, the screen is one of the major energy consumers, and in our tests, increasing the timeout from 30 seconds to 10 minutes reduces battery life by 10 to 15 percent, and to compensate for that, turn off the AOD and use adaptive brightness.
Does this work for POCO and Redmi?
Yes, all of the methods in this article are applicable to POCO and Redmi, as they run on MIUI (or HyperOS), except for some lightweight firmware models (like the Redmi Go) where some features may not be available.
Can I set different times to lock and dampen the screen?
In standard MIUI settings, no. But with Tasker or ADB, you can create rules that will go out later than lock (for example, after 1 minute and 5 minutes, respectively).