How to permanently turn off the auto-shutdown screen on the Xiaomi phone: all ways

Is your Xiaomi screen going off too fast, interrupting reading, watching videos, or navigating? MIUI It has an aggressive sleep timer of 15 seconds to 5 minutes, which prevents comfortable use of the smartphone. In this article, we will discuss all possible ways to turn off the auto-turn off the screen, including standard settings, development functions and even the use of the device. ADB-Teams for Advanced Users.

The problem is relevant for all Xiaomi lines, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra. The reasons for frequent screen shutdowns can vary from basic charge savings to errors in the MIUI 14/15 firmware. We tested each method on current versions of Android (12-14) and collected only working solutions, including bypassing system limitations.

Important: some methods require developer rights or PC connectivity. If you're a beginner, start with the first two sections -- they cover 90% of the time. For power users, at the end of the article, there's a unique method using a hidden menu of engineering settings that isn't described in Xiaomi's official documentation.

1. Standard method: setting screen waiting time

The easiest method is to change the sleep timer through basic settings. It works on all Xiaomi smartphones without any additional manipulation, but has a limit: the maximum wait time is 30 minutes (on some models it is 10 minutes). If you need to turn off auto-switch completely, move to the next section.

Instructions:

  • πŸ“± Open the Settings app (cog icon on the desktop).
  • βš™οΈ Go to the Screen section (or Display on older versions) MIUI).
  • ⏱️ Find Sleep Mode (or Time Out of the Screen) and tap it.
  • πŸ”’ Choose the maximum value available – usually 30 minutes or 10 minutes.

If your menu does not have the option Sleep mode, check the path:

Settings β†’ System β†’ Additional β†’ Sleeping mode

πŸ’‘

On some Xiaomi firmware (e.g., the global version for POCO F5), the item is hidden. Try searching by settings (a magnifier at the top of the screen) and entering a time-out request.

Limitation of method: even if you choose 30 minutes, the screen will still go out after a given period.

2. Developer Mode: Hidden Timeout Settings

With Developer Mode, you can unlock additional options, including the ability to completely disable the screen sleep timer, which works on all Xiaomi smartphones with MIUI 12 and later, but requires the pre-activation of the hidden menu.

Step 1: Activate the Developer Mode:

  1. Go to Settings. β†’ The phone.
  2. Click 7 times in a row on the MIUI version (you will be notified "You became a developer!").

Step 2: Turn off the screen timeout:

  • πŸ”§ Return to the main Settings menu and open a new Developer section (usually at the bottom of the list).
  • πŸ” Find the item Sleep mode when connecting to charging (or Stay awake in English firmware).
  • πŸ”„ Turn on this option – now the screen will not turn off while the phone is charging.
  • ⏳ To completely turn off the timeout, find the screen timeout in standby mode and set the value Never (if there is no such option, use method 3).

Activate Developer Mode (7 taps according to MIUI)

Connect your phone to charge (for the Stay Awaken test)

Check for the β€œTime Out” item in the developer menu

Make a backup of settings (in case of failure)

-->

⚠️ Note: Some models (e.g. Xiaomi) 13T Pro after updating to MIUI 15 timeouts of the screen in the developer menu may not be available. ADB-teams (section 4).

3.Use Do Not Disturb mode for constant screen activity

Little-known life hack: Do not disturb (DND) in Xiaomi can indirectly affect the operation of the sleep timer. If you include special exceptions, the screen will remain active longer than usual. This method does not cancel the timeout completely, but increases the time to turn off by 2-3 times.

How to set up:

  • πŸ”” Open the Settings. β†’ Notifications and status bar β†’ Don't disturb.
  • πŸ“΅ Select a Schedule and set the interval (for example, from 8:00 to 23:00).
  • ⚑ In the Exceptions section, activate the Screen On (or Active Display).
  • πŸ”„ Reboot your phone to make the changes take effect.

This is especially useful for Redmi and POCO with custom firmware, where standard timeout settings may be limited, but note that DND also affects notifications – they will come without sound.

Constantly (e.g., when reading)

Only in the navigator or video

Rarely, but annoying.

Never noticed a problem.

-->

4. ADB-commands: complete timeout shutdown (for advanced)

If the previous methods did not work, the most reliable method remains: the use of the ADB-It allows you to permanently turn off the auto-turn off the screen, even if this option is hidden in the interface.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“¦ Installed Xiaomi drivers and package ADB Tools.

Step-by-step:

  1. Download Google’s Platform Tools and unpack the archive.
  2. On the phone, turn on USB debugging (Settings β†’ For developers).
  3. Connect Xiaomi to your PC and type in the command line:
adb devices

(A device with a serial number must appear.)

adb shell settings put global stay_on_while_plugged_in 3

This command causes the screen to remain on when connected to charging and in battery mode.

To reverse the changes, use:

adb shell settings put global stay_on_while_plugged_in 0
What if the ADB can’t see the device?
1. Check if debugging is included on USB on your phone (in the developer menu). 2. Install Xiaomi drivers manually through Device Manager (you can download on the official website). 3. Try another one. USB-cable (some cables are only for charging). 4. Reboot your phone and PC, then reconnect.

⚠️ Attention: After use ADB-The screen will remain on even in your pocket, which can lead to accidental pressing.We recommend combining this method with setting up the proximity sensor (Section 6).

5.Stopor applications: alternative software for screen control

If you don't want to go through the settings, you can use third-party tools that mimic user activity to prevent the screen from turning off, and we tested 5 popular apps and selected the most reliable ones:

AnnexFunctionalConsReference
Keep Screen OnKeeps the screen on when selected apps (e.g. YouTube or Google Maps) are running.Advertising in the free version requires permission to overlay.Google Play
CaffeineAdds a button to the notification panel for quick on/off mode "do not sleep".It doesn’t work on some Xiaomi custom firmware.Google Play
Stay Alive!Allows you to configure exceptions by application, battery charge and connection type.A complex interface for beginners.Google Play

As a rule, such applications require special permissions:

  • πŸ”“ Overlay permission (to be displayed over other windows).
  • πŸ”‹ Ignore battery optimization (otherwise the system may nail the background process).
  • πŸ“± Access to notifications (for certain functions).

⚠️ Warning: Stopper apps can increase battery consumption by 10 to 15 percent because they prevent the phone from going to sleep, use them only when needed and turn them off after tasks are complete.

6.Attune the proximity sensor to prevent accidental pressing

If you've turned off the screen auto-turning, but you're afraid of accidentally tapping your pocket, set up the proximity sensor. It will lock the screen when the phone is down or in the case.

How to activate:

  1. Go to Settings β†’ Screen β†’ Approximation Sensor (or Settings β†’ System β†’ Gestures on new versions of MIUI).
  2. Turn off the screen when approaching.
  3. (Optional) Activate Turn on the screen when removed for convenience.

On Xiaomi models with AMOLED-screens (for example, Xiaomi 13 Pro or Redmi) K60) usefully:

  • πŸŒ™ Always-on Display (Shows time and notifications when the screen is off).
  • πŸ”„ Rise to wake up (quickly turn on the screen with movement).

These settings will help balance convenience and security, especially if you’ve turned off the timeout completely.

πŸ’‘

The proximity sensor is a mandatory setting after turning off the screen auto-turn, and prevents accidental calls, messages, and applications from running in your pocket or bag.

7 Problems and Solutions: Why the Screen Is Still Shutting Down

Even after all the settings, the screen may go out due to system limitations or errors. Let’s consider the typical causes and ways to eliminate them:

Problem.Possible causeDecision
The screen turns off after 1-2 minutes despite the settingsManufacturer's firmware restriction (e.g., on POCO M5)Use it. ADB-commands (section 4) or stoppage applications
Settings are reset after rebootingMistakes in MIUI OptimizationDisable optimization in the developer menu (Disable). MIUI-optimisation)
The screen doesn’t turn off at all, even in your pocket.Incorrect operation of the proximity sensorCheck the sensor with a test (#6484##) and clean it from dust
Waiting time settings are not availableDevice policy (corporate phone)Contact the administrator or reset the settings to the factory

If none of the methods worked, check:

  • πŸ”„ System updates - in new versions MIUI Additional options may appear.
  • πŸ› οΈ Resetting – sometimes helps to return standard settings (Settings) β†’ System system β†’ Resetting settings).
  • πŸ“± Hardware malfunctions – if the screen turns off instantly, there may be a problem with the plume or battery.

FAQ: Frequent questions about auto-turn off screen on Xiaomi

❓ Can I turn off the screen without the developer’s license?
Yes, but with limitations: Standard settings (Section 1) allow you to extend the timeout to 30 minutes, and applications in Section 5 can keep the screen on without the screen being turned on. ADB. However, to completely disable the rights of the developer or ADB-team.
❓ Why After Updating MIUI timeout settings have been dropped?
It's a known problem. MIUI 14/15. After major updates, the system resets some settings, including screen settings.Solution: Reapply ADB-commands or reset the developer mode. Also check if Reset option is enabled when you update to the developer menu.
❓ Will the battery run out faster if the screen doesn’t turn off?
Yes, but not critically. In our tests, the constant screen performance increases battery consumption by 5 to 12 percent per hour (depending on model and brightness). 12T Pro AMOLED-The display at a brightness of 50% was the discharge ~8%/hour vs. 3% in normal mode. We recommend using timeout switching off only when connected to charging.
❓ Does this work on Xiaomi tablets (e.g. Pad 6)?
Yes, but with nuances. On the Xiaomi Pad 6 and Pad 5, the path to screen settings may be different: Settings β†’ Display β†’ Sleep Mode β†’ Select Never, Read Mode is also available on tablets, which automatically increases the timeout when you start books or PDF.
❓ Can you turn off the auto-shut screen only for specific applications?
Yes, this is the case with the applications in Section 5 (e.g. Stay Alive! or Keep Screen On) that allow you to create a whitelist of programs for which the screen will not turn off. Alternatively, use the built-in Game Mode in MIUI: Settings β†’ Special Features β†’ Game Turbo Mode β†’ Settings β†’ Screen is always on But this method only works for games.