The sleep mode on the Xiaomi Note 10 S is not just a darkening of the screen, but a whole range of energy-saving mechanisms that MIUI aggressively applies to background processes. For most users, this feature is useful: it extends battery life and optimizes performance. But what if you need to completely turn off sleep mode β for example, for constant navigator operation, monitoring notifications or testing applications?
In this article, we will discuss all possible ways to deactivate sleep mode on the Redmi Note 10 S (mojito/sweet model), including hidden MIUI settings, ADB commands and bypass system constraints. It is important to understand that a complete shutdown can increase battery consumption by 15-30% depending on the use case - so we will also give recommendations for alternative solutions for specific tasks.
Before you start settings, check the MIUI version on your device: Settings path β About phone β MIUI version. The instructions below are relevant for the versions of MIUI 12-14 based on Android 11-13. If you have custom firmware (for example, Pixel Experience or LineageOS), some methods may not work.
1. Standard shutdown via screen settings
The most obvious way is to change the screen timeout and turn off the energy-saving features in the display menu, which doesn't completely remove sleep, but it does significantly reduce its impact.
Steps:
- π± Open the Settings. β Display.
- β±οΈ Find Sleep Mode (or Screen Turn Off) and select the maximum value of 30 minutes (in some versions). MIUI never).
- π Return to the main settings menu and go to Battery and Performance β Battery mode. Turn off Adaptive Battery and Optimization. MIUI.
- π§ In the Additional section (three dots in the upper right corner) select Power Saving Settings and deactivate the Sleep mode option when locked.
This method works for most users, but has a limitation: MIUI will still pause background processes after 5-10 minutes without activity.
2. disable battery optimization for individual applications
If you want a particular application (for example, messenger or activity tracker) not to βfall asleepβ, you can configure individual power consumption rules for it.
Instructions:
- Go to Settings β Applications β Application Management.
- Select the application you want (such as Telegram or Waze).
- Slip on Energy Saving and set the value without limits.
- Go back and enable AutoRun option (this will allow the application to start when the device is restarted).
For convenience, you can use group management:
- π In the same Application Management section, click on the filter icon (top right).
- π Sort applications by energy consumption and choose those that you need to exclude from optimization.
- π Apply to them the settings without restrictions package.
π‘
After changing your power settings, restart the device to help apply the changes to processes that are already running.
3.Using Developer Mode for Deep Customization
MIUI hides many of the energy saving options behind a developer menu to activate it:
- Go to Settings. β The phone.
- Tap 7 times on the MIUI version (you will be notified "You became a developer!").
- Return to the main settings menu and open a new section β For developers.
Now you can turn off the key functions of sleep mode:
- π οΈ Find the option Do not turn off the screen (or Stay awake) and turn it on. This will prevent the display from turning off when charging.
- π Disable Background Process Limitation (set a Standard Limit or No Limits).
- β‘ In the Energy Saving section, deactivate the Adaptive Battery and Optimization MIUI.
Developer mode activated | Stay awake | Background limitation disabled | Adaptive battery turned off-->
Please note that some settings may reset after the MIUI update. We recommend that you capture screenshots of the current settings.
4. ADB commands to completely disable sleep mode
If standard methods didnβt work, you can use Android Debug Bridge (ADB) to modify system parameters in depth, which requires a PC connection and basic command line knowledge.
Steps:
- Download and install ADB Tools on your computer.
- Enable USB debugging on your phone (Settings β Developers β USB debugging).
- Connect the Xiaomi Note 10 S to your PC and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
settings put global stay_on_while_plugged_in 3
settings put global battery_saver_constant 0
dumpsys deviceidle force-idle
dumpsys battery resetTranscript of commands:
| Team team. | Action. |
|---|---|
| stay_on_while_plugged_in 3 | The screen does not turn off when connected to charging (AC/USB/wireless) |
| battery_saver_constant 0 | Disables the forced mode of energy saving |
| force-idle | Resets the sleep state for all applications |
| battery reset | Reboots the battery management service |
What if the ADB canβt see the device?
β οΈ Note: Change of system parameters through ADB This can cause unstable device operation or increased battery consumption.Before executing commands, back up your data via Settings β Additionally. β Backup and reset.
5. Alternative solutions: automation and third-party utilities
If you need to temporarily turn off sleep in certain scenarios (for example, only at night or when connecting to a Bluetooth device), you can use automatic applications:
- π€ Tasker β allows you to create rules for managing power saving by triggers (time, location, Wi-Fi connection, etc.) Example of the problem: "Stop sleep from 22:00 to 6:00".
- β‘ Battery Optimizer β a utility for fine-tuning battery optimization (requires root rights).
- π± Stay Alive β a simplified application for controlling background activity without ADB.
For Xiaomi Note 10 S also relevant the following life hacks:
- π Use Do Not Disturb mode with exceptions for important notifications: this will allow the screen to stay on longer with active alerts.
- π΅ If the problem is music playback, turn on the player settings to Ignore battery optimization (e.g., Spotify or Spotify). VLC).
π‘
The utility side may conflict with MIUI. Before installing, check user reviews on thematic forums (for example, 4PDA).
Problems and Solutions: What to Do When Nothing Works
If sleep mode continues to activate despite all settings, check the following points:
| Problem. | Possible cause | Decision |
|---|---|---|
| Settings are reset after rebooting | MIUI enforces energy conservation policies | Use it. ADB-Settings put global hidden_api_policy 1 to unlock hidden parameters |
| Apps still fall asleep. | Deep Optimization in MIUI is Active | Turn it off in Settings β Special features β System acceleration |
| ADB-commands are not applied | There are no superuser rights | Try to execute commands using adb shell su (root required) |
| The screen is turned off in 1-2 minutes. | Active Reading Mode or Vision Protection | Turn off these functions in Settings β Display |
If your device is warranty, avoid root rights or modification of system files, which can lead to denial of service. In extreme cases, contact the Xiaomi service center to request that you turn off energy-saving functions at the firmware level.
β οΈ Note: On some versions MIUI (for example, MIUI 13.0.6 note 10 S) There is a bug that resets the sleep mode settings after the security update. Before upgrading, capture the current settings with screenshots or export them through the security update. ADB: adb shell settings list global | grep -E "stay_on|battery|idle"