Sleep mode on Xiaomi Redmi smartphones is one of the most talked-about features among users, on the one hand, it saves battery power and prolongs battery life, and on the other hand, it often interferes: interrupts downloads, blocks notifications or even resets background processes at the most inopportune moment.
In this article, weβll look at all the possible ways to turn off sleep, from standard MIUI settings to hidden commands via ADB. Youβll learn how to prevent your phone from falling asleep while charging, when connecting to a USB, or when the screen is off but the device must remain active. Weβll also analyze which Redmi models (like the Note 10 Pro or K50) have unique limitations due to hardware optimization of the processor, and how to get around them.
It's important to understand that completely shutting down sleep can increase battery consumption by 15 to 30 percent depending on the model, so we'll give you some advice on how to balance performance and power consumption so that the phone doesn't run out in a few hours.
What is the sleep mode on Xiaomi Redmi and why it turns on
Sleep mode (or Doze Mode in Android terminology) is the low power state that a smartphone enters when the screen is off and the device is not actively used. On Xiaomi, this feature is implemented through several mechanisms:
- π Adaptive battery - algorithm MIUI, It analyzes user habits and limits background activity of rarely used applications.
- β³ Deep sleep is a complete stop of all processes (except systemic) after 30-60 minutes of inactivity.
- β‘ Optimization MIUI β Forcing the closure of applications that βeatβ charge in the background (for example, messengers or navigators).
The main reasons why the phone goes into sleep mode:
| Reason. | Manifestation | Typical models |
|---|---|---|
| Automatic optimization of MIUI | Apps stop sending notifications, background tasks are reset | Redmi Note 9/10/11, POCO X3/X4 |
| Active mode Battery Saver | Phone falls asleep after 5-10 minutes of inactivity, even when charging | Redmi 9A/9C, Redmi A1 |
| Manufacturer restrictions (hardware) | It is impossible to turn off sleep through standard settings | Redmi K40/K50 (due to Snapdragon 8xx processor) |
| Firmware problems | The phone goes to sleep immediately after locking the screen. | MIUI 12.5-14 devices on bat versions |
β οΈ Note: Some models (e.g. Redmi Note 12 Pro)+) The sleep mode is activated forcefully if the processor temperature exceeds 45Β°C. In this case, it can be turned off only through the engineering menu or ADB.
Method 1: Disconnect via standard MIUI settings
The easiest method is to use built-in power saving options, which is suitable for most Redmi models on MIUI 11-14, but may not be available on budget devices (for example, Redmi A-series).
Instructions:
- Open Settings β Battery and Performance.
- Go to Battery Mode (or Energy Saving on older versions).
- Choose Productivity (or No Limitations).
- Turn off the option Adaptive Battery and MIUI Optimization.
- Go back to the main settings menu and go to the Apps β Application management β Settings (βοΈ) β Special permits β Auto-start.
- Enable auto-run for all critical applications (messengers, navigators, etc.).
Charge your phone at least 50% | Make a backup of settings |Remember the current battery mode |Check the MIUI-->
β οΈ Note: Redmi with MediaTek processors (e.g. Redmi) 10C note 11SE) And when you turn off the adaptive battery, you might get lag when you multitask, and that's because of the way you control the cores of the processor.
If your MIUI version does not have Battery Mode, try an alternative route:
Settings β Additional β Special features β Improved productivityMethod 2: Using a Developer (ADB)
For advanced users who donβt have the right options on the menu, thereβs a way to turn off sleep mode via Android Debug Bridge (ADB).This is a versatile method that works on all Redmi models, but requires a computer connection.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π± Cable USB Type-C (original to avoid connection issues).
- π οΈ Installed drivers ADB Fastboot (you can download from the Android Developer website).
- π§ Developer mode on the phone (activated by 7-fold pressing on the version) MIUI customized).
Step-by-step:
- Connect the phone to your computer and select File Transfer mode.
- Open the command prompt (cmd on Windows or Terminal on macOS/Linux) and type: adb devices Make sure the device is identified (serial number should appear).
- Enter the command to disable the adaptive battery: adb shell dumpsys deviceidle disable
- Turn off optimization. MIUI All applications: adb shell settings put global hidden_api_policy 1
- Reboot your phone: adb reboot
What if the ADB canβt see the device?
β οΈ Attention: After update MIUI setting ADB To avoid this, create a script with commands and run it after each update. MIUI Global, if you are not sure about your actions, this can lead to blocking some system functions.
Method 3: Turning off sleep while charging
Many users experience the phone falling asleep even while charging, interrupting file downloads or app updates, which are due to charging optimization settings that limit background activity by default.
How to turn it off:
- Connect the phone to the charger.
- Go to Settings β Battery and Performance β Charging settings.
- Turn off Charging Optimization (or Smart Charging on newer versions).
- Return to the Battery section and click on βοΈ (Settings) β Disable the restrictions when charging.
If these are not the case, use ADB:
adb shell settings put global charging_optimization_enabled 0Yes, constantly |Sometimes |Only with a weak charger |No, I didn't notice |I don't know-->
π‘ Useful tip: If you download large files frequently (for example, through a IDM+ or uTorrent), enable the option to ignore battery optimization in the settings of these applications.
Method 4: Configure through the engineering menu (for experienced)
On some Redmi models (such as the Note 8 Pro or K30 Pro), the sleep mode is controlled at the hardware level, in which case the engineering menu will help, but using it requires caution - improper actions can lead to a system failure.
How to open the engineering menu:
- Type the code on your phone keyboard: ##4636##
- Select Battery Information.
- Scroll down and find Doze Mode (or Sleep Mode)
- Turn it off by setting the Disable value.
β οΈ Attention: Redmi with Snapdragon processors 8xx (for example, K40 or K50) The engineering menu may not have a direct option to turn off sleep. ADB or third-party utilities like MiXplorer for editing system files.
π‘
Before you enter the engineering menu, take a screenshot of your current settings, and if the phone starts to overheat or discharge quickly, you can return the original settings.
What to do if the sleep mode is turned on spontaneously
If the phone goes to sleep for no apparent reason (for example, immediately after unlocking or during active use), the problem may lie in:
- π Firmware failure β especially after the update MIUI.
- π Application conflict (often battery optimizers like Greenify or AccuBattery are to blame).
- π Battery malfunctions β if the battery is worn out by more than 50%, the system will force the battery to activate the energy saving.
- π± Hardware restrictions (e.g. Redmi Go or Redmi) 8A owing to a weak processor).
Decisions:
- Reset the battery settings: Settings β Annexes β Application management β βοΈ β Reset the battery settings.
- Remove conflicting apps (especially those that have access to special permissions).
- Check the battery status with ##4636## (Battery Information section) If Health shows Poor, the battery needs to be replaced.
- Reverse to the previous version of MIUI if the problem has occurred after the update.
π‘
If the phone goes into sleep immediately after locking the screen, check the Display β Sleep Mode settings. Sometimes it sets 5 seconds instead of the standard 30 seconds.
Consequences of turning off sleep mode: pros and cons
Before you fully deactivate energy saving, assess the possible consequences:
| Pluses | Cons | How to minimize risks |
|---|---|---|
| β Applications work in the background without interruption | β Increased battery consumption by 20-40% | Use ADB to selectively disable optimization for just the right applications |
| β Notifications arrive on time | β The phone can overheat with a long load. | Turn off background activity for unnecessary apps manually |
| β No interruptions when downloading files | β Rapid wear of the battery (if the battery is old) | Calibrate the battery periodically (discharge to 0% and charge to 100%) |
| β Stable operation of navigators (for example, Yandex.Navigator or Google Maps) | β Possible lags for multitasking on weak models | Limit the number of background processes in the developer settings |
π‘ Tip: If you need to turn off sleep temporarily (for example, to download a large file), use Developer Mode. Activate the option βStay awakeβ β it will keep the display on when charging, but will not affect background activity.