How to disable automatic screen shutdown on Xiaomi smartphones: all ways

Your Xiaomi screen goes out too quickly, interrupting reading, watching videos or working with the navigator? This problem is familiar to many owners of smartphones on MIUI and HyperOS. By default, the system sets a screen timeout of 30 seconds or 1 minute to save battery power, but this is not always convenient. Fortunately, there are several ways to increase display time or turn off auto-turn completely - from standard settings to hidden features for power users.

In this article, we will discuss all the current methods, including settings through the phone menu, developer modes, third-party applications and even ADB commands. The solutions described work on most models, from the Redmi Note 10 to the flagship Xiaomi 14, regardless of the firmware version. Important: some ways can affect battery consumption, so choose the best option for your tasks.

1. Standard screen settings in MIUI/HyperOS

The easiest way to change the auto-turn-off time is through basic system settings, which do not require super-user rights or special knowledge, but have a limitation: the maximum latency is usually no more than 10 minutes.

To set up a timeout:

  1. Open the Settings app (cog icon).
  2. Go to the Screen (or Display in HyperOS) section.
  3. Select Sleep Mode (sometimes called Screen Timeout or Shutdown Delay).
  4. Set the desired time from the available options: from 15 seconds to 10 minutes (depending on the model).

On some devices, such as the POCO F5 or Redmi K60, this item may be in the submenu Additional inside the screen section. If you do not see the option Sleep mode, try searching by settings (the magnifying icon in the upper right corner).

πŸ’‘

On HyperOS smartphones, the path to settings may be different. If you don't find the Screen section, check the Settings menu β†’ System β†’ Advanced Settings β†’ Sleep mode.

Note that even when setting the maximum time (10 minutes), the screen will still go out when inactivity is not used, and to completely turn off auto-switching, additional manipulations will be required, described below.

2.Using the Developer Mode to Turn Off Timeout

If standard settings are not enough, you can activate the developer mode and manually set any delay time, up to completely turning off auto-switching, which works on all versions of MIUI and HyperOS, but requires the pre-activation of the hidden menu.

First, turn on the developer mode:

  1. Open the Settings. β†’ The phone.
  2. Find the MIUI version (or HyperOS version) and tap it 7 times in a row.
  3. After the notification appears, you become a developer! return to the main settings menu.

Now go to Settings β†’ Additional β†’ Developer (or System β†’ Advanced Settings β†’ HyperOS Developers). Here, find the option Sleep mode when you connect to charging or Turn off the screen never (the name may vary). Activate it, and the display will not go out while the phone is charging.

Activate the regime (7 tap-up MIUI/HyperOS)

Find the "Developers" section in the settings

Enable the option "Sleep mode when connected to charging"

Reboot your phone to apply changes-->

⚠️ Warning: Constant screen operation when charging can cause the device to overheat, especially if a non-original power adapter is used.

3. Screen control apps: Keep Screen On and analogues

If the system settings do not allow you to turn off the auto-turn off the screen completely, third-party utilities will come to the rescue. One of the most popular solutions is the Keep Screen On app (available on Google Play).

  • πŸ”„ Turn off screen timeouts for individual apps (e.g. YouTube or Google Maps only).
  • ⚑ Set a global auto-shutdown (Special Opportunities permit required).
  • πŸ“± Working in the background without notification.
  • πŸ”‹ Minimize battery consumption through optimized algorithms.

To set up Keep Screen On:

  1. Install the app from Google Play.
  2. When you first start, grant permission for Special Features (click on the prompt in your phone settings).
  3. In the main menu of the application, select the mode of operation: Always on or Only for selected applications.
  4. If necessary, add the applications to the white list.

Alternative programs with similar functionality:

  • Caffeine – Adds a button to the notification bar for quick on/off mode.
  • Keep Screen – supports automatic time or geolocation rules.
  • Screen Alive works without root rights and has a minimalist interface.

Keep Screen On

Caffeine

Screen Alive

Other/Not using-->

⚠️ Note: some antivirus programs (such as Avast or Dr.Web) may block the work of such utilities, considering them suspicious.

4. ADB-commands to completely turn off timeout (without root)

For power users willing to work with ADB (Android Debug Bridge), there is a way to completely disable the auto-shutdown screen at the system level without obtaining root rights.This method is suitable for all Xiaomi models, but requires connecting the phone to a computer.

Before starting, make sure that:

  • πŸ–₯️ Drivers are installed on the PC ADB Fastboot (you can download it as part of Google’s Platform Tools).
  • πŸ“± The phone's on debugging. USB (on the Developer Menu).
  • πŸ”Œ Used by the original USB-cable (not all cables support data transmission).

Instructions for turning off timeout:

  1. Connect the phone to the computer and confirm the debugging permission on the smartphone screen.
  2. Open the command line (cmd) in the folder with the platform-tools.
  3. Enter the command to check the connection: adb devices Wait for the serial number of the device to appear.
  4. Use the command to turn off timeout: adb shell settings put global stay_on_while_plugged_in 3 Here. 3 This means that the screen will not go out when charging from the network or from the USB.
  5. Reboot the phone.

To return the standard settings, use the command:

adb shell settings put global stay_on_while_plugged_in 0

Value of parameterScreen behavior
0Timeout is working normally
1The screen does not go out when charging from the network (220V)
2The screen does not go out when charging from USB
3The screen does not go out with any type of charging
What if the ADB can’t see the device?
1. Check if debugging is included on USB In the developer settings. 2. Try another one. USB-3. Install drivers for your Xiaomi model from the official website (Support section) 4. Reinstall Platform Tools or use alternative versions (e.g. from SDK Platform). 5. Check if the connection is blocked by an antivirus or firewall on the PC.

⚠️ Attention: after updating the firmware MIUI/HyperOS setting ADB Repeat the procedure if the screen starts to go out again.

5. Set up exceptions for individual applications

If you want your screen to stay on top of certain programs (like a navigator or a reader), you can set exceptions without turning off the timeout globally, with both system tools and third-party apps.

Method 1: through battery settings

MIUI and HyperOS have a battery optimization feature that can affect screen performance in background applications, to add the program to the exceptions:

  1. Go to Settings β†’ Battery and Performance β†’ Application Power Management.
  2. Select App Selection and find the program you want (like Google Maps or Waze).
  3. Set up a no-limit mode for her.

Method 2: Tasker App

For advanced users, Tasker, an action automation utility, can create a rule that will only turn off screen timeouts when certain programs are running.

Example of settings:

  1. Create a new Task in Tasker.
  2. Add the Display action β†’ Display Timeout.
  3. Set a value of 3.6 million (1 hour) or other desired time in milliseconds.
  4. Create a Profile that will activate this task when you launch your target application.

πŸ’‘

Customizing exceptions for applications saves battery power, since the screen will not work constantly, but only in the right programs.

Problems and Solutions: Why the Screen Is Still Dimming

Sometimes even after all the settings, the screen keeps turning off, and we'll look at the reasons and ways to fix them:

Problem.Possible causeDecision
The screen goes out in 30 seconds despite the settingsActive function "Adaptive brightness" or "Battery savings"Turn off adaptive brightness in Settings β†’ Screen and check battery mode
Settings are reset after rebootingThe mechanism of protection of MIUI from changes has been workedRepeat the settings via ADB or use apps with special features
Screen control applications are not workingNo Special Opportunities grantedGo to Settings β†’ Special. features β†’ Applications and activate the desired program
The screen does not respond to touches after waking up.Conflict with protective glass or coverCheck the sensitivity of the screen in Settings β†’ Screen β†’ Touching

If none of the methods worked, the cause may be a hardware malfunction β€” for example, damage to the plume of the display or proximity sensor, in which case it is recommended to contact the service center Xiaomi for diagnosis.

πŸ’‘

On some models (such as the Xiaomi 13T or Redmi K50) after upgrading to HyperOS, the path to screen settings may change.

FAQ: Frequent questions about screen settings on Xiaomi

Can I turn off the auto-turn off screen without connecting to charging?
Yes, but only with help. ADB-commands or applications like Keep Screen On with special features. MIUI/HyperOS do not allow to completely turn off timeout without charging due to energy saving limitations.
Why did the screen start to go out again after the firmware update?
Updates to MIUI or HyperOS reset some system settings, including ADB settings. Repeat the setup procedure through ADB or check if permissions from third-party screen control apps have reset.
Is it safe to keep the screen on all the time?
The long-term operation of the screen, especially at maximum brightness, can lead to: ⚑ Accelerated battery discharge (up to) 20-30% live-action). πŸ”₯ Local overheating of the display (the risk of broken pixels at extreme temperatures). πŸ“‰ Reduced service life OLED-It is recommended to use this mode only when necessary and monitor the temperature of the device.
Do these methods work on Xiaomi tablets (like Pad 6)?
All of the above methods (except for specific ones) ADB-commands for smartphones) are applicable to Xiaomi tablets based on MIUI Pad or HyperOS. Pathways to settings may be slightly different, but the logic is the same.
How to return the standard screen settings?
To reset all changes: Disable screen control apps in Special Options. ADB-Adb shell settings put global stay_on_while_plugged_in 0 Reset the screen settings in Settings β†’ System system β†’ Resetting settings β†’ Reset screen settings (if available).