How to increase sleep time on Xiaomi devices: from 10 seconds to 30 minutes

Why is Xiaomiโ€™s sleep mode working too fast?

Youโ€™ve noticed that your Xiaomi Redmi screen is, POCO or Mi goes out through 10-15 A few minutes of inactivity, even though you are used to it. 30 It's not a breakdown, it's the work of energy-saving algorithms. MIUI. By default, the system sets a minimum screen auto-turn off time to save battery life, but for reading long articles, viewing photos or working with documents, such settings are inconvenient.

In this article, weโ€™ll look at all the ways to increase sleep, from standard MIUI settings to hidden features for power users, how to extend screen life to 30 minutes, turn off autorotation when reading, or set exceptions for individual applications, and why settings are sometimes reset after an update and how to fix it.

Important: on new models (Xiaomi 13/14, Redmi Note 12/13), the logic of sleep mode has changed. Now the system analyzes the context of use (for example, if you hold the phone horizontally, the screen may not go out longer), We took these nuances into account in the instructions below.

Method 1: Standard screen settings in MIUI

The easiest method is to change the screen auto-disconnect time through the settings menu.It works on all Xiaomi devices regardless of the MIUI version (even on the old Redmi 4X or Mi A1).

Open Settings โ†’ Display โ†’ Sleep mode (on some models, the path may look like Settings โ†’ Screen โ†’ Timeout of the screen). Here you will see options:

  • ๐Ÿ•’ 15 seconds โ€“ minimum value (default on new devices)
  • ๐Ÿ•“ 30 seconds is optimal for battery saving
  • ๐Ÿ•” 1 minute - convenient to read
  • ๐Ÿ•• 2 minutes is the maximum for most models
  • ๐Ÿ•– 5/10/30 Minutes โ€“ available only on certain firmware (e.g, MIUI 14 flagship)

If your menu does not have a 30 minute option, it means that the manufacturer has limited the maximum time for your model. ADB.

โš ๏ธ Attention: On devices with AMOLED-screens (for example, Xiaomi 12 Pro or Redmi) K50) Long sleep can cause pixels to burn out.We recommend not setting a value above 5 minutes for continuous use.

๐Ÿ“Š What time of sleep is comfortable for you?
15 seconds.
30 seconds
1 minute
5 minutes.
30 minutes.

Method 2: Configure exceptions for applications

If you want your screen to stay on while a particular application is running (like YouTube, Google Maps or Kindle), use the Auto-Switch-off feature in the apps to set customized settings for each software.

Instructions:

  1. Go to Settings โ†’ Applications โ†’ Permissions โ†’ Auto-Switch off the screen.
  2. Select the app from the list (if there is none, click Add App).
  3. Set the value Never or select the right time (up to 30 minutes).

This method is particularly useful for:

  • ๐Ÿ“– Reading books on Moon+ Reader or FBReader
  • ๐Ÿ—บ๏ธ Navigation in Yandex.Maps or Google Maps
  • ๐ŸŽต Listening to music with the screen on (for example, in Spotify)
  • ๐Ÿ“บ Watching long videos on YouTube or Twitch

๐Ÿ’ก

If the app you want isn't on the list, try opening it first and returning it to the background. Sometimes MIUI adds programs to the exclusion menu only after the first run.

Method 3: Unlock hidden options through ADB (for experienced)

If the standard settings have a maximum sleep time of 2 minutes and you need 10 or 30 minutes, youโ€™ll need to connect to the Android Debug Bridge (ADB), a technique that works on all Xiaomi devices, but requires a computer and basic command line knowledge.

Steps to increase the time to 30 minutes:

  1. Turn on Developer Mode (go to Settings โ†’ About Phone and click on MIUI Version 7 times).
  2. Return to Settings โ†’ Additional โ†’ For developers and activate Debugging over USB.
  3. Connect your phone to your PC, install it. ADB-Drivers and open the command line.
  4. Enter the command: adb shell settings put global stay_on_while_plugged_in 3 (where 3 โ€” significance 30 minute; 1 โ€” 5 minute, 2 โ€” 10 minute).
  5. Reset the device.

After you do this, you will see additional options in the Sleep Mode menu, and if the command does not work, check if your model supports this feature:

Xiaomi modelSupport ADB-sleep-commandMaximum time.
Redmi Note 10/11/12Yes.30 minutes.
POCO F3/F4/F5Yes.10 minutes.
Xiaomi 12/13/14Partially (requires unlocking the bootloader)5 minutes.
Redmi 9/9A/9CYes.30 minutes.

โš ๏ธ Attention: On devices with MIUI 14 newer teams ADB If you have a not allowed error after you enter a command, try turning it off first. MIUI Optimization in Developer Settings (Adb shell settings put global) miui_optimization_disabled 1).

Install ADB drivers on PC|Enable developer mode on Xiaomi|Activate debugging on USB|Connect phone to PC in file transfer mode|Check connection with adb devices-->

Method 4: Using screen stopper apps

If you don't want to go through the settings or use ADB, install one of the specialized apps that mimics user activity without letting the screen go out.

  • ๐Ÿ“ฑ Keep Screen On is a simple toolbar with an on/off button. It works even on the computer. MIUI 14 without root rights.
  • ๐Ÿ”„ Caffeine โ€“ Adds an icon to the notification panel for quick management.
  • ๐Ÿ› ๏ธ Tasker โ€“ for advanced users (you can set up automatic shutdown of sleep mode when you start certain applications).
  • ๐Ÿ“– Keep Screen On While Reading โ€“ Specializes in reading books and articles.

How to set up Keep Screen On:

  1. Download the app from Google Play.
  2. Run it and grant permission to Overlay over other applications (in MIUI settings this is called Special Rights โ†’ Display on top of other applications).
  3. Activate the slider in the main window of the application.
  4. (Optional) Add the app to autoboot so it works after the phone restarts.

On devices with MIUI 13/14, some stopper apps may be blocked by the system as โ€œconsuming too much power.โ€ In this case, add them to the battery exception list: Settings โ†’ Battery โ†’ Application Selection โ†’ No Limits.

Method 5: Adjustment through feeding regimes

MIUI offers three power modes that affect sleep time: Balance, Performance and Charge Saving. In Performance mode, the screen can stay on longer, but this increases battery consumption.

How to change the regime:

  1. Go to Settings โ†’ Battery โ†’ Power mode.
  2. Choose Performance.
  3. Return to the Sleep Mode menu, and additional options (e.g. 5 or 10 minutes) may appear.

You can also set up in this menu:

  • ๐Ÿ”‹ Adaptive brightness โ€“ if the screen dims before turning off, turn off this option.
  • ๐ŸŒ™ The dark subject is on AMOLED-It reduces power consumption by allowing longer screens to be turned on.
  • โšก Super charge saving โ€“ in this mode, sleep mode is triggered faster, even if you set a high value.
Why do you reset your sleep mode after the MIUI update?
In major updates (e.g., from MIUI 12 to MIUI 13), the system resets user power saving settings to default values. This is due to a change in the logic of the Android kernel. To avoid reset, back up the settings through Settings โ†’ Additional โ†’ Backup and Reset before upgrading.

Method 6: Disabling the proximity sensor (for calls)

Sometimes the screen goes out not because of sleep, but because of the proximity sensor, which happens if you hold the phone close to your face (for example, during a call) or put it down with the screen to turn off this feature:

Steps:

  1. Go to Settings โ†’ System applications โ†’ Phone โ†’ Incoming calls.
  2. Turn off the option The screen turns off when you bring it to your ear.
  3. To completely disable the sensor, use the command ADB: adb shell settings put global proximity_delay 2500 (where 2500 โ€” millisecond delay; 0 โ€” shutdown).

It will help if:

  • ๐Ÿ“ž The screen goes out during a conversation, even if you donโ€™t touch the phone.
  • ๐Ÿ“ฑ The device is lying on the table, but the screen suddenly turns off (the sensor is triggered on the table).
  • ๐ŸŽง You use a headset, but the screen still goes out.

โš ๏ธ Warning: A complete shutdown of the proximity sensor may result in accidental pressing during a call (e.g., on the speaker key or call completion.

Method 7: Virus Checking and Battery Optimization

If you have changed your sleep settings but the screen is still going out too quickly, the problem may be:

  1. Viral software that forcibly turns off the screen to save charge.
  2. Battery optimizers from third-party manufacturers (for example, DU Battery Saver or Avast Cleanup).
  3. Misfunction of MIUI (for example, after incorrect update).

How to diagnose:

  • ๐Ÿ›ก๏ธ Check your phone for viruses with Malwarebytes or built-in Security MIUI.
  • ๐Ÿ” Go to Settings. โ†’ Battery โ†’ Battery usage and see which applications are actively consuming energy.
  • ๐Ÿ”„ Reset the battery settings: Settings โ†’ Battery โ†’ โ‹ฎ (menu) โ†’ Resetting battery settings.

If the problem persists, try:

  1. Remove all applications to optimize the battery.
  2. Clear the system cache: Settings โ†’ Storage โ†’ Clear the cache.
  3. Perform reset to factory settings (pre-return!).

๐Ÿ’ก

If sleep is triggered after 5-10 seconds despite settings, it is most likely the fault of the optimizer app. Uninstall all programs to "accelerate" the phone - they often conflict with the energy-saving algorithms MIUI.

FAQ: Frequent questions about sleep mode on Xiaomi

โ“ Why my Xiaomi doesnโ€™t have a 30 minute sleep option?
This is a manufacturer's limit for your model: on budget devices (Redmi 9A, POCO M3), the maximum time is 2 minutes. To get around the restriction, use ADB (Method 3) or stopper apps (Method 4).
โ“ After updating MIUI You've lost your sleep time, and you've got to get your old settings back?
Updates often reset user power saving settings. Return the old settings manually through Settings โ†’ Display โ†’ Sleep mode. If the options are gone, repeat the procedure with ADB (Method 3).
โ“ Can the screen not be turned off during charging?
Yes, for this: Connect your phone to charge. Activate Do Not Turn Off the Screen When Charging in the Developer Settings (Settings) โ†’ Additionally. โ†’ For developers โ†’ If this option is not available, use the command ADB: adb shell settings put global stay_on_while_plugged_in 1
โ“ Sleeping mode works even when I'm watching the video?
The problem may be with the settings of a particular application (e.g. YouTube or VLC). Add it to the exceptions: Settings โ†’ Apps โ†’ Permissions โ†’ Auto-Switching Off the Screen. Select the app and install Never. Also check the settings of the player itself - there may be a separate option "Do not turn off the screen."
โ“ How much will battery consumption increase if you put sleep mode for 30 minutes?
Depending on the screen type: AMOLED (Xiaomi 13, Redmi K60): consumption will increase by 15-20% (due to pixel illumination). IPS LCD (Redmi Note 12, POCO X5): consumption will increase by 25-30% (the screen is fully illuminated).