How to turn off the automatic screen switch on Xiaomi: all ways

Your Xiaomi, Redmi or POCO screen goes out too fast? It's annoying when you read a long article, watch a video, or use your phone as a navigator. The default MIUI has an aggressive power saving feature that turns off the display after 30 seconds of inactivity - even if the device is connected to charging. Fortunately, there are several ways to turn off the screen auto-turn or increase the timeout. In this article, we'll break down all the working methods for the latest firmware versions, including hidden settings and commands for power users.

Many people think it’s easy to set maximum time in the display settings, but in practice MIUI ignores these parameters in some scenarios (for example, in low battery charge or in energy saving mode). We have tested all methods on the Xiaomi 14 Pro, Redmi Note 12 and POCO F5 with MIUI 14/15 β€” and are ready to share working solutions.

If you need to completely remove the screen timeout when connecting to a charger (for example, to use the phone as a monitor for the camera or a dashboard in the car), pay attention to the section with the phone. ADB-Teams are the only reliable way to get around the limitations of the system, and standard settings are enough for normal tasks, but they have their own nuances, which we will discuss below.

1. Standard method: screen settings in MIUI

The easiest method is to change the timeout in the settings menu. It works on all Xiaomi devices, but has limitations: the maximum inactivity time is 10 minutes, and the system can reset it when activated energy saving.

To change the automatic screen switching off interval:

  1. Open the Settings β†’ Display.
  2. Select Sleep Mode (or Screen Timeout in older versions of MIUI).
  3. Set the desired time: from 15 seconds to 10 minutes.
  4. Confirm the change.

⚠️ Note: If your phone does not have a "Sleep Mode" option in the display settings, then the manufacturer has hidden it for your model.

This method is suitable for most users, but does not solve the problem completely:

  • πŸ”‹ Low battery charge (less than 15%) MIUI Reduces the timeout to 30 seconds.
  • ⚑ In Power Saving or Super Saving mode, the screen goes out after 1 minute, regardless of the settings.
  • πŸ”Œ Even when connected to charging, the maximum inactivity time is 10 minutes.
πŸ“Š What is your Xiaomi model?
Xiaomi 13/14 Series
Redmi Note 10/11/12
POCO F/X series
Redmi 9/10 series
Another model

2. Disconnecting energy saving for individual applications

If the screen goes off too quickly in a particular app (like Google Maps, Waze or YouTube), you can add it to the exclusion list, which will prevent the display from being forced to shut down while the app is active.

Instructions:

  1. Go to Settings β†’ Applications β†’ Permissions β†’ Autorun.
  2. Find the desired application in the list and enable autorun for it.
  3. Return to Settings β†’ Battery and Performance β†’ Application Selection
  4. Select No Limitations for this application.

πŸ’‘ Useful tip: For navigation applications (Yandex.Navigator, Google Maps) also disable battery optimization:

  1. Press the app icon on the home screen β†’ Information about the application.
  2. Choose the Battery. β†’ No restrictions.

This method doesn’t work for all apps, such as Chrome or Telegram, which can ignore settings due to internal restrictions. MIUI. In that case, it will only help. ADB-team (see section 5).

Turn off the power saving mode

Connect your phone to charge (for testing)

Check the version of MIUI in Settings β†’ About the phone

Remember the current screen settings-->

3. Hidden developer settings: extended control

MIUI has a hidden menu for developers where you can turn off the screen while charging or increase the timeout to 30 minutes.

Activation of 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!").
  3. Return to the main settings menu and a new section for developers will appear.

You can now change the screen settings:

  1. Open the Settings. β†’ For developers.
  2. Find the item Do not turn off the screen while charging and turn it on.
  3. To increase the timeout, find the screen timeout when blocking and set the maximum value (up to 30 minutes).

⚠️ Note: On some models (Redmi 9, POCO M3) The item "Do not turn off the screen while charging" may not be available. This is a manufacturer's restriction, and in this case it will only help. ADB-team (section 5).

Also in the developer menu, you can turn off transition animation, which will speed up the interface:

  • 🎯 The scale of window animation β†’ Off.
  • 🎯 Scale of transition animation β†’ Off.
  • 🎯 Duration of the animator β†’ Off.

4. Use of third-party applications (without root)

If standard methods don't work, you can use Google Play apps that mimic user activity, and they work like a crutch, sending a signal to the system every few seconds to touch the screen to prevent it from turning off.

Top.-3 tested applications:

AnnexFeaturesCons
Keep Screen OnSimple interface, working in the backgroundShows notification, can drain the battery
CaffeineActivated by notification, supports application exceptionsIt does not work on some versions of MIUI 14+.
Stay AliveAdvanced settings, support ADB-teamA complex interface for beginners

πŸ”Ή How to set up Keep Screen On:

    ⚠️ Note: This type of application can increase battery consumption 10-15%, Because they keep the processor in active state, it's not recommended to use them without charging.

    πŸ’‘

    If the app doesn’t work, check if MIUI is blocking it in the background. Go to Settings β†’ Applications β†’ Application Management β†’ Three points (menu) β†’ Special Access β†’ Battery Optimization and turn off optimization for the selected application.

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

    This is the most reliable way to completely disable the automatic screen shutdown, but it requires connecting the phone to a PC and using the Android Debug Bridge (ADB).The method works on all versions of MIUI, including the latest updates.

    πŸ“Œ What's the matter:

    • πŸ–₯️ Computer with Windows/macOS/Linux
    • πŸ”Œ Cable USB (preferably original)
    • πŸ“± Developer mode on the phone
    • πŸ› οΈ Utility. ADB (You can download it as part of Google’s Platform Tools)

    Step-by-step:

    1. Download Platform Tools and unpack the archive.
    2. Connect your phone to your PC and select File Transfer mode.
    3. Open the command prompt (cmd in Windows or Terminal on macOS/Linux) in the folder with ADB.
    4. Enter the command to check the connection: Adb devices must appear serial number of your device.
    5. Give permission to debug via USB on the phone screen.
    6. Enter the command to turn off screen timeout: adb shell settings put global stay_on_while_plugged_in 3 where 3 It means "always on when charging".
    7. Reboot the phone.

    πŸ”Ή Additional teams:

    • To ensure that the screen never turns off (even without charging), use: adb shell settings put global stay_on_while_plugged_in 7 ⚠️ It's draining the battery!
    • Revisiting the standard settings: adb shell settings put global stay_on_while_plugged_in 0

    πŸ’‘ Useful tip: If the screen still goes out after executing the command, check if the power saving application does not block the setting (for example, Security or Battery Saver in the computer). MIUI). In that case, add ADB (c) Exclude or disable optimization for the system.

    What if the ADB can’t see the device?
    1. Make sure that the debugging is enabled by USB (Settings β†’ For developers β†’ Debugging by USB). 2. Try another one. USB-cable (preferably original). 3. Install drivers for your Xiaomi model (you can download from the official website). 4. Reboot your phone and PC. 5. If you use Windows, run the command prompt on behalf of the administrator.

    Alternative methods: physical solutions

    If the software doesn't help or you don't want to dig into the settings, you can use physical methods to keep the screen active, and they'll be suitable for a temporary solution, like during a trip or a presentation.

    Options:

    • πŸ”„ Auto-touch: Connect your wireless mouse over Bluetooth and move it periodically, and the system will perceive this as user activity.
    • πŸ”Œ Power Bank with always-on charging: Some Xiaomi models don't turn off the screen if detects direct charging current.Use a quality power bank with Trickle Charging function.
    • πŸ“± Demonstration mode: Some models (e.g. Xiaomi 13 Ultra) have a hidden mode for stores where the screen does not turn off. Activated via ##6484## (not working on all devices).
    • πŸ”¦ External Display: Connect your phone to a TV or monitor HDMI (adapter USB-C β†’ HDMI). On the outside screen, the timeout usually doesn’t work.

    ⚠️ Note: Using Demo Mode may cause some settings to reset after rebooting.

    πŸ”Ή How to activate Demo Mode (if supported):

    1. Open the Phone app.
    2. Enter the code: ##6484###.
    3. Select Demo Mode and confirm.
    4. The screen will remain on, but the watermark "DEMO" will appear in the status bar.

    πŸ’‘

    ADB-Teams are the only way to completely turn off screen timeouts on modern versions MIUI. All other methods are limited or only work under certain conditions (for example, when charging).

    FAQ: Frequent questions

    Why did the screen settings reset after the MIUI update?
    Large updates (e.g. with the MIUI 13 on MIUI 14) the system resets some user settings, including screen timeouts, due to a change in the configuration file structure. To avoid a problem, before updating: Write down the current screen settings (take a screenshot). Turn off automatic battery optimization for critical applications. ADB-Repeat them after the update. MIUI 15 added backup function of screen settings - check it in Settings β†’ The phone. β†’ Backup.
    Can I turn off the screen without connecting to charging?
    Technically, yes, but it's highly discouraged. 2-3 hour (even on the AMOLED-It speeds up the wear of the matrix (the risk of pixel burnout), can cause the phone to overheat. ADB-Adb shell settings put global stay_on_while_plugged_in 7 But it is better to set exceptions for specific applications (section) 2).
    Why does the screen go out in 30 seconds when I set it 10 minutes?
    It's a typical problem. MIUI, The reasons for this are the energy-saving system: πŸ”‹ Low battery charge (less than 15%) β€” MIUI forcefully reduces timeout. ⚑ Active energy saving mode (onset automatically at 20% charge). πŸ“± Optimization for a specific application (check in Settings) β†’ Battery β†’ Choice of applications). πŸ”„ System failure: try restarting your phone. Solution: turn off the power saving in the battery settings or use ADB-circumvention.
    How to return the standard screen settings after experiments?
    If you have changed your settings through ADB Or the developer menu, you can return everything back as follows: ADB-Adb shell settings put global stay_on_while_plugged_in 0 For the developer menu: Turn off the item Do not turn off the screen while charging and set the screen timeout to a standard value (usually 1 For third-party applications, delete them or turn them off in the special features settings. If the phone becomes unstable after the changes, reset the settings through Settings. β†’ The phone. β†’ Resetting settings (does not affect user data).
    Does this work for POCO and Redmi?
    All of the above methods work on devices. POCO And Redmi, because they use the same firmware. MIUI (Perhaps with minor visual differences. Exceptions: POCO F1/F2 There may be no option "Do not turn off the screen while charging" in the developer menu. 8/9 s MIUI 12 below ADB-The teams may require additional permits. POCO X3 And newer, some energy saving settings are hidden - use ADB. For accurate information, check the version MIUI In Settings β†’ If your model is released after 2023 All methods should work without restrictions.