How to completely disable sleep mode on Xiaomi phone: all ways

Sleeping on Xiaomi smartphones is a useful feature for saving battery power, but sometimes it interferes with the comfort of the device. For example, when the screen goes out while reading a long article, viewing a recipe in the kitchen or using the phone as a navigator in the car. In this article, we will discuss all possible ways to turn off sleep mode on Redmi, POCO and other Xiaomi devices with the shell of MIUI 14/15, including hidden settings and solutions for specific models.

It's important to understand that the manufacturer limits some default settings to prevent a fast battery drain. However, when you set up properly, you can find a balance between convenience and energy efficiency. We'll also look at how to get around the system limitations if standard methods don't work, and what to do if, after turning off sleep mode, the phone starts to warm up a lot or discharge quickly.

Why Xiaomi will automatically put your phone into sleep mode

Sleep mode (or sleep mode) is activated on Xiaomi for several reasons, laid down in the firmware MIUI:

  • ๐Ÿ”‹ Saving battery power is the main task of the function. Statistically, the screen consumes up to 40% of the smartphone's energy, and turning it off when inactive prolongs the time of operation without recharging.
  • โšก Performance optimization: Background processes are suspended in sleep, reducing the workload on the processor and RAM.
  • ๐Ÿ›ก๏ธ Protection against accidental pressing, such as when the phone is in your pocket or bag.
  • ๐Ÿ“ฑ Compliance with energy efficiency standards: Xiaomi follows Google's guidelines for Android devices, where the default inactivity time before the screen is 30 seconds.

Newer models (Xiaomi 14, Redmi Note 13 Pro+) also feature adaptive sleep mode, which analyzes user habits, for example, if you don't normally use your phone at night, the system can shorten the time before going to sleep automatically, and this behavior can be manually adjusted, as we'll discuss later.

โš ๏ธ Warning: A complete sleep-off can reduce battery life by 15 to 30 percent depending on the model, POCO F5 With 5000mAh, the effect will be less noticeable than on compact smartphones (Xiaomi 13 Lite with 4500mAh).

Method 1: Standard shutdown through screen settings

The easiest method is to change the screen timeout in the settings menu, which works on all Xiaomi devices with MIUI 12-15, including Redmi, POCO and Black Shark.

  1. Open the Settings app (the gear icon on the home screen).
  2. Go to the Screen section (or Display on some firmware).
  3. Slip on the item Sleep mode (can be called screen timeout or screen auto-turn off).
  4. Choose the maximum value of 10 minutes or 30 minutes (depending on the version of MIUI).
  5. On some models (Xiaomi 12T, Redmi K60) the option Never is available โ€“ this is a complete shutdown.

If you don't have the Never option on your menu, it means the manufacturer has blocked it for your model, so move on to the following options.

Make sure your phone is at least 20% charged |Close all background apps |Connect to Wi-Fi for stable operation |Check the MIUI version in About Phone

-->

On devices with AMOLED-screens (Xiaomi 13 Ultra, Redmi) K70 Pro) Long periods of inactivity can cause pixels to burn out. To minimize the risk, use dark wallpaper and enable screen protection in the display settings.

Method 2: Using the Developer Mode

If the standard settings don't allow you to turn off sleep completely, you can use the developer mode. This method works on all versions of MIUI, but requires activation of the hidden menu.

  1. Open the Settings. โ†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row. You will be notified of becoming a developer!
  3. Return to the main settings menu and open a new Developer section (usually at the bottom of the list).
  4. Scroll down and find the option Do not turn off the screen (or Stay awake in English firmware). Activate it.

Once this option is enabled, the screen will not go out when connected to the charger. On some models (POCO X5 Pro, Redmi Note 12 Pro) the function works even without recharging, but this depends on the firmware version.

What to do if there is no โ€œDo not turn off the screenโ€ item?
On some firmware (for example, MIUI Global for the European market) this item may not be available. In this case, try: 1. Update the firmware to the latest version through Settings โ†’ System Update. 2. Install an alternative firmware (e.g. Xiaomi.EU) where this item is usually available. 3. Use ADB-Teams (Method 4 in this article).

Note that in developer mode, it is also useful to disable animations to speed up the interface.

  • The scale of window animation โ†’ Off.
  • The scale of the transition animation โ†’ off.
  • Duration of the animator โ†’ Off.

This does not affect sleep mode, but improves the responsiveness of the system.

Method 3: Screen control applications

If the system settings don't work, you can use third-party apps that allow you to flexibly adjust your screen behavior, including turning off sleep mode under certain conditions (for example, when you run specific applications).

  • ๐Ÿ“ฑ Keep Screen On is a simple utility with the ability to add applications to a whitelist. The screen will not go out while these programs are active.
  • โšก Caffeine adds a notification panel to quickly turn on/off the "do not sleep" mode.
  • ๐Ÿ”ง Tasker is an advanced automation tool, and you can create a rule: If you run Google Maps, turn off sleep".
  • ๐ŸŒ™ Stay Alive โ€“ Supports charging exceptions, Bluetooth devices, and even certain Wi-Fi networks.

Example of Keep Screen On settings:

  1. Download the app from Google Play and open it.
  2. Turn on the Enable Service switch.
  3. In the Apps section, select the programs you want to turn off sleep mode (for example, YouTube, Waze).
  4. Configure the optional options: Only when charging (only when charging) or Always (always).

โš ๏ธ Note: Some screen management apps require Special Access permissions in your Android settings. Without that, they won't be able to work properly. โ†’ Annexes โ†’ Special access โ†’ Optimize the battery and disable optimization for the selected application.

Keep Screen On|Caffeine|Tasker|Stay Alive|Nothing.|Other-->

Method 4: ADB-Teams for experienced users

If previous methods didn't work, you can use ADB, the Android Debug Bridge debugging tool, which requires you to connect your phone to your computer, but you have complete control over your sleep settings.

  • ๐Ÿ–ฅ๏ธ Computer with Windows, macOS or Linux.
  • ๐Ÿ“‹ Installed drivers ADB (You can download from the Google website or through SDK Platform Tools).
  • ๐Ÿ”Œ USB-Type C Cable (preferably original).
  • ๐Ÿ”ง Developer mode on the phone (see Method 2).

Step-by-step:

  1. Connect the phone to your computer and select File Transfer mode.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) and type: adb devices Make sure your device appears in the list.
  3. Enter the command to disable sleep mode: adb shell settings put global stay_on_while_plugged_in 3 This command forces the screen to remain on when charging from the network, USB and wireless charging.
  4. If you want to turn off sleep completely (even without charging), use: adb shell settings put global. screen_off_timeout 2147483647 Here. 2147483647 โ€” maximum timeout (about) 24 days).

To return the standard settings, do:

adb shell settings put global screen_off_timeout 30000

(where 30,000 to 30 seconds).

ADB Team TeamAction.Note
adb shell settings put global stay_on_while_plugged_in 1The screen does not go out when charging from the networkIt works on all versions of MIUI.
adb shell settings put global stay_on_while_plugged_in 2The screen doesn't go out when USB-connectionIt may not work on some firmware.
adb shell settings put global stay_on_while_plugged_in 3The screen does not go out with any type of chargingRecommended option
adb shell settings put global screen_off_timeout -1Turns off the screen timeout completelyIt can cause overheating on some models.

โš ๏ธ Attention: Use ADB-parameter screen_off_timeout -1 device-wise AMOLED-screens (Xiaomi) 13T, Redmi K60 Pro may cause the matrix to burn out when static elements (e.g. navigation bar) are displayed for a long time.

Method 5: Set up exceptions for individual applications

If you want to keep the screen from going out in certain programs (like Google Maps or YouTube), you can set exceptions without completely turning off sleep mode.

  • ๐Ÿ—บ๏ธ Navigation apps (Yandex.Navigator, Google Maps): usually have the built-in "Do not turn off the screen" option.
  • ๐ŸŽต Music Players (Spotify, VK Music: In playback settings, there is often a screen alarm.
  • ๐Ÿ“– Readers of books (Moon)+ Reader, FBReader: Supports screen timeout settings within the app.
  • ๐ŸŽฎ Games: many games (e.g. Genshin Impact, PUBG Mobile automatically shuts down sleep during gameplay.

For applications without built-in settings, you can use automation through Tasker:

  1. Install Tasker from Google Play.
  2. Create a new task (Task) and add the action Display โ†’ Display Timeout.
  3. Set the value 3600 (1 hour) or 2147483647 (maximum).
  4. Create a Profile that will activate this task when you launch the desired application.

๐Ÿ’ก

If you use your phone frequently, GPS-In the car, turn on the "Driving Mode" option in Google Maps, which not only turns off sleep mode, but also simplifies the interface for easy control.

Problems after the sleep mode shutdown and their solutions

Disabling sleep mode can have unexpected consequences. Let's consider the typical problems and ways to fix them:

Problem.Possible causeDecision
The phone is warming up a lot.Constant operation of the screen and processorTurn off background processes in Settings โ†’ Applications โ†’ Autorun
The battery goes down fast.The screen consumes up to 50% of the charge.Reduce the brightness to 50% and turn on Adaptive Brightness
The screen starts to flickerOverheating of the matrix or driver failureRestart your phone or return your standard timeout settings
Appendices started layingLack of RAMClear the cache in Settings โ†’ Memory โ†’ Clear the cache
The sensor does not work after waking up.Conflict with the screen control appRemove third-party utilities and use ADB-team

If after turning off the sleep mode, the phone began to restart itself, this may indicate:

  • Overheating of the processor (check the temperature in Settings โ†’ About phone โ†’ Condition).
  • Firmware conflict (especially relevant for custom ROMs, such as LineageOS).
  • Battery failure (if the phone is older than 2-3 years)

In such cases, it is recommended that:

  1. Return the standard screen timeout settings.
  2. Update the firmware to the latest version through Settings โ†’ System Update.
  3. Check the battery health with the AccuBattery app.

๐Ÿ’ก

If after turning off sleep mode, the phone begins to hang or overheat, the first thing to do is to return the standard timeout settings. Most often, the problem is solved by simply restarting the device.

FAQ: Frequent questions about sleep mode on Xiaomi

Can I turn off sleep mode on Xiaomi without root rights?
All of the methods described in this article (except for some of them) ADB-On most models, there are enough standard settings or developer mode. Root may only be needed for deep modification of system files, which is not recommended because of the risk of losing the warranty.
Why did the โ€œNeverโ€ item in the sleep mode settings disappear after the MIUI update?
Starting with MIUI 13, Xiaomi has begun limiting the maximum screen timeout to 30 minutes on some models.This is due to Google's energy saving policy for Android 12 devices.+. The problem can be solved through ADB-commands or third-party applications (see Method 3 and Method 4).
How to turn off sleep mode only for certain applications?
Use apps like Tasker or Stay Alive that allow you to create rules for individual programs, for example, you can set the screen to stay on while Google Maps or Netflix is running, but turn off otherwise, and check the settings of the apps themselves, many of which have built-in sleep-off options.
Is it safe to use? ADB-commands to shut down sleep mode?
Yes, as long as you follow the instructions and don't change other system settings. The commands in this article won't hurt the firmware, as they only modify the screen settings. screen_off_timeout -1 on AMOLED-screens โ€“ long-term screen switching on can cause pixels to burn out.
What if after turning off the sleep mode, the phone does not respond to touch?
This can be due to a conflict with the screen control app or a sensor malfunction. Try: Remove all third-party screen control utilities. Restart the phone in Safe Mode (press the power button). โ†’ Safe Mode Reset the sensor settings via Settings โ†’ System system โ†’ Resetting settings โ†’ Reset the input settings. If the problem persists, return the standard screen timeout settings.