Sleep mode on Xiaomi devices is an energy-saving feature that automatically locks the screen and pauses the background when inactivity. For most users, it is useful, but there are situations when it needs to be deactivated: during long downloads, when using the device as a monitor, for testing applications or when connecting to diagnostic equipment. In this article, we will discuss all the current ways to turn off sleep mode on Redmi, Poco and Mi smartphones and tablets running MIUI 12-14, including hidden settings and methods for advanced users.
It is important to understand that completely shutting down sleep mode can lead to accelerated battery drain and overheating of the device. We recommend using alternative solutions, such as temporarily increasing the screen timeout or activating the developer mode for fine-tuning. If you do decide to turn off the feature completely, follow the instructions below, taking into account your device model and firmware version.
1. Standard method: through screen settings
The simplest method is to change the lock timeout, which does not completely shut down sleep mode, but increases the time to activate it to a maximum of 30 minutes (on some models, up to 10 minutes), which is suitable for most users who need to temporarily prevent blocking.
Instructions:
- ๐ฑ Open the Settings app (cog icon).
- โ๏ธ Go to the Screen section (or Display on some firmware).
- โณ Select Sleep Mode (or Screen Timeout).
- ๐ข Set the maximum value available โ usually 30 minutes or 10 minutes.
Please note: on devices with AMOLED-screens (for example, Xiaomi 13 Pro or Redmi) K60) A long time out can cause pixels to burn out when a static image is displayed. If you need to keep the screen on for longer than 30 minutes, use the methods in the following sections.
๐ก
On some models (like the Poco F5), the maximum timeout is hidden. To unlock it, activate the developer mode (7 times click on the build number in Settings โ About phone) and return to the screen settings - the option will appear 30 minutes.
2. Disconnect sleep mode through the developer mode
For experienced Xiaomi users, there are advanced settings to turn off sleep completely, which requires developer mode activation and works on all devices with MIUI 12 and later.
Steps:
- Activate the Developer Mode: ๐ง Go to Settings. โ The phone. ๐ฑ Press 7 times in a row on the item Version MIUI (A notice will appear saying, โYou have become a developer!").
For developers
Keep the screen down.
Stay awake
๐ Restart the device to apply changes.
Once this option is activated, the screen will not lock when connected to the charger. On some models (such as the Redmi Note 12 Pro+), this feature only works when connected via the original Xiaomi cable. If the option is missing from your firmware, try the ADB method from the next section.
Developer mode activated |Device connected to charging |Data backup executed |Verified version of MIUI (12+)
-->
3.Use of ADB-commands to shut down completely
If standard methods donโt work, you can turn off sleep mode via Android Debug Bridge (ADB), a method that works for all Xiaomi models, but requires a computer connection and basic command line knowledge.
Step-by-step:
- ๐ป Install. ADB-computer-driver (Windows/macOS/Linux).
- ๐ฑ On the phone, turn on the debugging. USB developer-setting.
- ๐ Connect the device to the PC and confirm the debugging permission.
- ๐ฅ๏ธ Open the command line (or Terminal) and enter:
adb shell settings put global stay_on_while_plugged_in 3This command causes the device to remain active when connected to the charger.
- 0 - offline
- 1 โ only when connected to a network (220V)
- 3 โ charger (USB/network adapter)
To return the standard settings, use:
adb shell settings put global stay_on_while_plugged_in 0What if the ADB does not recognize the device?
4. Applications for sleep control
If you don't want to mess with settings or ADB, you can use third-party apps from Google Play, which allow you to flexibly manage screen timeout and energy saving.
| Annex | Functions | Compatibility | Features |
|---|---|---|---|
| Keep Screen On | Keeps the screen on when you start selected applications | MIUI 10โ14 | No rooting, it works through Accessibility Service. |
| Caffeine | Temporary shutdown of sleep mode by timer | Android 8.0+ | Minimalist interface, no advertising |
| Stay Alive! | Advanced control of screen lock and battery | MIUI 12+ | Requires permission for special opportunities |
| Tasker | Automation of sleep-deactivation under conditions (for example, when connecting to a Bluetooth device) | All versions. | Complicated setup but maximum flexibility |
Warning: Apps using the Accessibility Service may conflict with Xiaomi system features such as Security or Battery Optimization.If lags or spontaneous reboots occur after installation, uninstall the app and use alternative methods.
Standard settings|Developer mode|ADB-team|Party of annex|I'm not turning off sleep.-->
5. Hidden settings for specific Xiaomi models
Some Xiaomi devices have unique power management options that are not dokumented in the official instructions.
For the Redmi Note 11 Pro+/12 Pro+:
- ๐ In battery settings (Settings) โ Battery) has a hidden power saving point when locked, disable it to reduce the aggressiveness of sleep mode.
- ๐ B Settings โ Special facilities โ Waiting time can be set to 1 hour (hidden by default).
For Xiaomi 13/13 Pro/14:
- ๐ B Settings โ Display. โ Advanced settings are Adaptive locking, and turning it off makes timeouts fixed.
- ๐ B Settings โ Battery โ Battery settings can be turned off Deep energy saving, which will reduce the aggressiveness of sleep mode.
For Poco F4/F5:
- ๐ฎ B Settings โ Special facilities โ Turbo mode can be enabled with the option Do not block the screen in games, which works for other applications.
- โก B Settings โ Battery โ High Performance Mode activates maximum performance mode, which indirectly affects sleep mode.
These settings may vary depending on the regional firmware. If you don't find the specified items, check the MIUI version in Settings โ About Phone and upgrade your device to the latest stable version.
๐ก
On devices with a Snapdragon 8 Gen 2 processor (such as the Xiaomi 13 Ultra), sleep mode is controlled by a separate efficiency core.Switching it off completely can overheat โ use this method only when absolutely necessary.
6.Potential problems and their solutions
Turning off sleep mode can have unexpected consequences, and here are the most common problems and ways to fix them:
โ ๏ธ Attention: On devices with MIUI 14 and newer when completely disconnecting the sleep mode through ADB Mi Protect can work, which will return the standard settings after rebooting. ADB Turn off automatic system updates in settings.
| Problem. | Reason. | Decision |
|---|---|---|
| The screen does not turn off even after disconnecting from charging. | ADB-team stay_on_while_plugged_in lost | Adb shell settings put global settings stay_on_while_plugged_in 0 |
| The device is overheating. | Constant operation of the processor without "rest" | Install a temperature control app (such as CPU Monitor) |
| Fast battery discharge | Lack of energy saving in sleep mode | Use the Adaptive Battery in the Power Settings |
| Applications are not updated in the background | Conflict with MIUI optimization settings | Add apps to No restrictions in battery settings |
If the device starts to work unstable after the sleep mode is turned off (hangs, spontaneous reboots), reset to factory settings (Settings โ About the phone โ Resetting). Before that, be sure to back up the data through Settings โ Additional โ Backup and Reset.
7. Alternative solutions: when to turn off sleep mode is not necessary
In most cases, safer alternatives can be used instead of completely shutting down sleep mode:
- ๐ Adaptive lock: Include it in Settings โ Display. โ Adaptive lock: The device will stay active longer if detects movement or touch.
- ๐ Mode "Always on screen" (AOD): Nana AMOLED-devices (Xiaomi 13, Redmi) K50) You can enable a minimum display of time and notifications without fully activating the screen.
- โก Game mode: In Settings โ Special facilities โ Game turbo mode can disable screen lock for specific applications.
- ๐ฑ Screen is always on for charging: On some models (Poco) X5 Pro) in the developer settings there is an option Screen is always on when charging.
These methods allow you to maintain the main benefits of sleep mode (charge savings, screen protection from burnout) with minimal inconvenience, AOD-panel AMOLED-The displays consume less than 1% charge per hour, making them an ideal alternative to completely disabling locks.