Why Xiaomiβs Sleeping Mode is Interfering with Users and When to Turn It Off
Sleep mode on Xiaomi smartphones (including Redmi and POCO models) is a standard power saving feature that automatically locks the screen after a predetermined period of inactivity. For most users, it is useful: saves battery power and prevents accidental taps. However, there are situations where automatic switching off of the screen becomes a problem.
While reading long articles or recipes, when the screen goes out in the middle of the process.
When using your phone as a navigator in your car, the map suddenly disappears.
While watching a video or streaming, unless there is an automatic screen rotation.
When testing applications or debugging through ADB, when constant display activity is critical.
In this article, weβll look at all the possible ways to turn off sleep on Xiaomi, including hidden MIUI settings, battery optimization, and even developer techniques. Itβs important to understand that completely shutting down sleep can increase battery consumption by 15-30% depending on the model, so use these instructions consciously.
Method 1: Standard screen waiting time settings
The easiest method is to change the timer of the automatic screen shutdown via the settings menu.This method works on all Xiaomi smartphones with a MIUI 12-14 shell (including Redmi Note 10/11/12, POCO X3/X4/X5, Mi 11/12/13, etc.).
Instructions:
- Open the Settings app** (cog icon).
- Go to the Display section (or the Screen on some models).
- Select Sleep Mode (or Screen Timeout).
- Set the maximum value of 10 minutes or 30 minutes (depending on the version of MIUI).
- On some devices, the option of Never is available - this is a complete sleep blackout.
β οΈ Note: On new models (Xiaomi) 13T, Redmi Note 12 Pro+) The option can never be hidden. In this case, use method 3 or 4.
βοΈ Preparing for changing sleep settings
Method 2: Disabling Battery Optimization for Individual Applications
If the screen goes out only in certain applications (for example, YouTube, Google Maps or Waze), the problem may be related to battery optimization.The MIUI system aggressively closes the background processes to save charge, which sometimes leads to premature shutdown of the screen.
To fix this:
- π± Open the Settings. β Annexes β Application management.
- π Find a problem app (like Google Maps) and tap it.
- β‘ Choose Battery Optimization (or Energy Consumption).
- π Set the mode without restrictions.
- π Go back and enable Auto Start option (if available).
This method does not completely shut down sleep mode, but it prevents it from triggering in critical applications, for example, after these settings, Google Maps will continue to work in the background even when the screen is locked (if navigation mode is enabled).
π‘
If the option βBattery Optimizationβ is missing, try clearing the cache of the βSecurityβ application (Settings β Apps β All Apps β Security β Clear the cache).
Method 3: Hidden Developer Settings (ADB)
For advanced users willing to work with ADB, there is a way to completely disable sleep mode through developer mode, a method that works for all Xiaomi models but requires a connection to a computer.
Steps:
- Turn on Developer Mode: Go to Settings β About Phone. Tap 7 times on MIUI Version (you will be notified "You are a developer").
Settings β Additional β For Developers
USB debugging
ADB
adb shell settings put global stay_on_while_plugged_in 3This command will make the screen stay on when connected to charging.
To return the standard settings, use the command:
adb shell settings put global stay_on_while_plugged_in 0What if the ADB does not recognize the device?
Method 4: Using third-party applications (without ROOT)
If standard methods don't work, you can use Google Play apps that mimic user activity.
| Annex | Functional | Pluses | Cons |
|---|---|---|---|
| Keep Screen On | Keeps the screen on when select applications are running | Simple interface, no advertising | Requires permission to impose |
| Caffeine | Adds a button to the notification panel for quick on/off sleep | Minimalist design, works in the background | Does not support new versions of Android 13+ |
| Stay Alive | Advanced Settings for Sleep Management, including App Exceptions | It works without ROOT, supports MIUI | A complex interface for beginners |
β οΈ Warning: Screenholding apps may conflict with battery optimization MIUI. After installation, add them to the list of exceptions (see Method 2).
Method 5: Physical sleep blockage (for older models)
Some older Xiaomi smartphones (e.g. Redmi 4X, Mi A1, Mi Max 2) have a hardware feature: Sleep mode can be blocked using the proximity sensor, a technique that is little known but works without additional settings.
How to do this:
- π± Open any app where you want to hold the screen (like Google Maps).
- ποΈ Close the top of the screen (where the proximity sensor is) with your palm or finger.
- π Hold 2-3 seconds β the system recognizes this as a βphone conversationβ and disables the automatic lock.
- π² Remove your hand β the screen will remain on until manually switched off.
This trick works because MIUI interprets the sensor closure as the start of a call, which by default cancels sleep mode. Unfortunately, on newer models (Xiaomi 12 and newer), this feature is often disabled.
π‘
Physical sleep blocking is the only method that does not require changes in settings and does not affect battery consumption.
Frequent problems and their solutions
Even after you turn off sleep mode, Xiaomi users may face unexpected problems.
1.The screen goes out despite the settings
Reason: Adaptive Brightness or Read Mode is active, which override the sleep timer. Solution: Turn them off in Settings β Display.
2.Sleep mode returns after restart
Reason: Reset due to a MIUI update or conflict with cleaning applications (like Security or Clean Master). Solution: Repeat settings and disable automatic optimization in Settings β Battery β Battery settings.
3. It's not working. ADB-team
Reason: Outdated version of ADB or no rights. Solution: Update Platform Tools and check if debugging is enabled on USB.
β οΈ Attention: On devices with MIUI Global Stable Some Teams ADB They can be blocked, and then you can use the flashing to MIUI EU (non-official).