Sleep mode on Xiaomi smartphones is an energy-saving feature that automatically turns off the screen after a predetermined period of inactivity. For most users, it is useful, but there are situations when you need to completely deactivate the sleep of the screen β for example, when using the phone as a navigator, while watching long videos or debugging applications. In this article, we will discuss all possible ways to turn off sleep mode on Redmi, POCO and other Xiaomi devices running on MIUI 12-15.
It is important to understand that completely turning off the screen sleep increases battery consumption by 15-30% depending on the model, as confirmed by the tests on the Xiaomi 12 Pro and Redmi Note 11. If you need a temporary solution, you should use the Always On Screen (AOD) modes or the developer settings.
Why does Xiaomi phone fall asleep quickly?
By default, all Xiaomi smartphones have an automatic screen shutdown timer β usually 30 seconds or 1 minute β which is controlled by several systems:
- π Energy conservation MIUI β Limits background activity and screen time to save charge.
- π± Display settings β here is the main sleep timer (from 15 seconds to 10 minutes).
- π§ Developer modes β contain additional parameters, including forced sleep shutdown.
- π οΈ Hidden settings MIUI β Deactivate sleep even when the device is blocked.
If your Xiaomi goes out too quickly, the problem may be:
- π Active Ultra-Economic or Super-Battery (turns off the screen in 10-15 seconds).
- π² Aggressive optimization applications (e.g. Clean Master or Built-in Security).
- π§ Reset settings to factory (returns the sleep timer to the default value).
Method 1: Change the sleep timer in standard settings
The easiest method is to increase the time to automatically turn off the screen, which will not turn off sleep completely, but will allow you to set the maximum possible interval (up to 10 minutes on most models).
Instructions:
- Open the Settings β Screen.
- Select Sleep Mode (or Sleep Timer on some firmware).
- Set the maximum value β usually 10 minutes or 30 minutes (depending on the model).
- Save the changes.
Check the battery level (recommended >50%)
Close all background applications
Connect the charger if you plan to use it for a long time.
Take a screenshot of the current settings (in case of rollbacks)
-->
Limitations of the method:
- β Does not turn off sleep completely - only increases the timeout.
- β In some models (for example, POCO F3) maximum value - only 5 minutes.
- β After locking the device, the screen will still go out.
π‘
If your settings donβt have the βSleep Modeβ option, try searching through the search bar at the top of the βSettingsβ menu.
Method 2: Using the Developer Mode
To completely shut down the screen sleep, youβll need to activate the developer mode and change hidden settings, a technique that works on all versions of MIUI, but requires caution β incorrect settings can cause crashes.
Steps to activate the developer mode:
- Go to Settings. β The phone.
- Find the MIUI version and tap it 7 times in a row.
- Enter a password/pattern lock if required.
- You will be notified: You have become a developer.
Now turn off the sleep mode:
- Back to Settings β Additionally. β For developers.
- Find the option Do not turn off the screen (or Stay awake on English firmware).
- Activate it β now the screen will not go out when you connect to charging.
- To completely turn off sleep, find the screen timeout and set Never (if such an option is available).
What to do if there is no βDo not turn off the screenβ item?
Warnings:
β οΈ Warning: Activating the Do Not Turn Off screen will result in a quick battery drain (up to 1-2% per hour in standby mode.
Method 3: Hidden Settings (MIUI)
If standard methods do not help, you can use the hidden menu MIUI Hidden Settings, which allows you to turn off sleep mode even when you lock the device, but requires the installation of an additional application.
Instructions:
- Download the MIUI Hidden Settings app from Google Play.
- Open it and provide all the necessary permissions (including access to system settings).
- Go to the Display β Sleep section.
- Select Never from the sleep timer drop-down menu.
- Save the changes and restart the device.
Features of the method:
| Advantages | Deficiencies |
|---|---|
| Complete sleep blackout, including blocking | Requires third-party software installation |
| It works on all versions of MIUI. | It may be reset after system updates |
| Doesn't require root rights | The application may conflict with some optimizers |
β οΈ Attention: After use MIUI Hidden Settings check the proximity sensor. On some models (Redmi Note 10 Pro) this can cause false positives during calls.
Method 4: Turn off sleep through ADB (for power users)
If you need to completely and permanently disable sleep mode, including locking the screen, you can use ADB commands. This method is suitable for advanced users and requires connecting the phone to a computer.
Step-by-step:
- Install ADB Tools on your PC.
- Activate debugging over USB in the developer settings.
- Connect your phone to your PC and execute the command: Adb devices (you should display your device).
- Enter the command to turn off sleep: adb shell settings put global stay_on_while_plugged_in 3 (This will turn off sleep when connected to charging).
- To completely shut down (including battery life) use: adb shell settings put system screen_off_timeout -1
To return the standard settings, do:
adb shell settings put system screen_off_timeout 30000(where 30,000 is time in milliseconds, for example 30 seconds).
π‘
ADB commands are reset after resetting settings or updating MIUI. To keep the changes, create a script to automatically execute commands when booting.
Method 5: Applications for Forced Wake-Up
If you need to temporarily turn off sleep (for example, to read or watch a presentation), you can use specialized applications. They do not require root rights and are easily removed.
Top.-3 apps:
- π± Keep Screen On: Keeps the screen on while the app is active.
- π Caffeine β Adds a button to the notification panel for a quick wake switch.
- π οΈ Stay Alive β allows you to configure exceptions for individual applications (for example, do not turn off the screen only in Google Maps).
How to set up Stay Alive:
- Install the app from Google Play.
- Open it and give permission to change system settings.
- Go to the Applications section and select those for which you need to turn off sleep mode.
- Activate the option to keep the screen on.
Advantages of this method:
- β No changes to system settings are required.
- β You can flexibly adjust for individual applications.
- β Easy to disable if necessary.
What to do if the sleep mode does not turn off?
If none of these methods worked, the problem may be related to:
- π§ Firmware limitations - on some versions MIUI Hidden settings blocked for the European region.
- π± Broken proximity sensor β if the phone thinks itβs near the ear, it will turn off the screen.
- π Active Saving Mode β Check the battery settings in Settings β Battery.
- π οΈ System failure β try resetting to factory settings (but back up first!).
Diagnostic algorithm:
- Check the proximity sensor with the test: ##6484## (dial in the dialer).
- Turn off all battery optimizers in Settings β Battery β Battery Optimization.
- Try changing your energy profile to productivity.
- If the problem remains, run the phone through the Mi Flash Tool (requires unlocking the bootloader).