How to completely disable sleep mode on Xiaomi phone: all ways

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 keep the display on constantly: While navigating, reading long articles, browsing recipes in the kitchen, or using your phone as a monitor IP-Unfortunately, the manufacturer doesn't always make this option obvious, especially in the latest versions. MIUI 14/15.

In this article, we’ll look at all the possible ways to turn off sleep, from standard settings to hidden developer features. You’ll learn how to set up screen timeouts for different scenarios, why settings are sometimes reset after an update, and what to do if the phone ignores your commands. We’ll focus on Redmi, POCO and Xiaomi 13/14 flagships, where the logic of how power saving works may differ.

Why sleep mode turns on on itself: the main reasons

Before you turn off the feature, it is important to understand what exactly activates it. In Xiaomi smartphones, several mechanisms are responsible for this:

  • πŸ”‹ Adaptive battery - algorithm MIUI, A computer that analyzes your habits and forcibly euthanizes your phone if it feels it is appropriate (for example, when you rarely use the device at night).
  • ⏱️ Screen sleep timer is a classic setting in display parameters that works after 15–30 seconds of inactivity.
  • πŸ“± Do Not Disturb Mode – can block the screen if activated by schedule or manually.
  • πŸ”„ Automatic Rules – Some apps (like Google Assistant or Mi Home) create their own triggers to go to sleep.

In the models with AMOLED-screens (for example, Xiaomi 13 Pro or Redmi) K60) Sleep mode can be activated more aggressively due to the features of the Always-On Display (AOD). The system tries to balance power consumption, but sometimes it leads to inconvenience, and it is also worth checking whether you have third-party applications for battery optimization installed – they often conflict with native settings. MIUI.

πŸ“Š Why you need to turn off sleep mode?
To navigate in the car
To read long texts
I use my phone as a camera monitor.
Other

Method 1: Standard screen settings in MIUI

The easiest method is to change the screen timeout through the settings menu.This method works on all Xiaomi devices, including the budget Redmi A2 and the flagship Xiaomi 14 Ultra.

  1. Open the Settings app (cog icon).
  2. Go to the Screen section.
  3. Select Sleep Mode (or screen timeout in some versions of MIUI).
  4. Set the value Never or maximum available time (usually 30 minutes).

On some firmware (e.g. MIUI for POCO), this item may be called AutoSwitch Off or hidden in the submenu Additional. If you don't find an option, try searching by settings (the magnifier in the upper right corner).

β˜‘οΈ Check before changing the settings

Done: 0 / 4

⚠️ Attention: On devices with MIUI 14+ When you select a value, you can never get a power alert. That's okay, the system just informs you of the consequences. If the screen goes out anyway, move on to the next way.

Method 2: Disconnecting the adaptive battery and optimizing MIUI

If standard settings don’t help, the problem may lie in the background optimization of the system. Xiaomi aggressively manages power consumption, especially on budget models (Redmi 12C, POCO M6).

  1. Go to Settings β†’ Battery and Performance.
  2. Select Battery Settings (or Battery Mode).
  3. Turn off the adaptive battery slider.
  4. Go to Battery Optimization and select No Limits for critical applications (like Navigator).

For models with MIUI 15, the path may be slightly different: Settings β†’ Battery β†’ Battery Modes β†’ Performance (select this mode instead of Balanced or Charge Savings).

Xiaomi modelThe Way to Adaptive Battery SettingsFeatures
Redmi Note 12Settings β†’ Battery β†’ Battery settings β†’ Adaptive batteryMay require a reboot.
POCO X5Settings β†’ Battery β†’ Optimization β†’ Adaptive optimizationExtra, turn off background clearing.
Xiaomi 13TSettings β†’ Battery and performance β†’ Battery modesSelect β€œPerformance” instead of β€œIntelligent”
Redmi A1Settings β†’ Battery β†’ Battery OptimizationThere is no single item for an adaptive battery, only general limitations.

πŸ’‘

If after turning off the adaptive battery, the phone began to discharge faster, return the settings back and try the method with the developer mode (see the next section).

Method 3: Using Developer Mode (for Power Users)

If the previous methods didn't work, you'll have to activate the developer mode, which will give you access to hidden settings, including forced shutdown of the screen sleep.

  1. Open the Settings. β†’ The phone.
  2. Find the MIUI version and tap it 7 times in a row until you become a developer!
  3. Go back to the main settings menu and find a new Developer section (usually at the bottom of the list).
  4. Activate the slider Do not turn off the screen (or Stay active while charging).

On some firmware (MIUI 14 for POCO), this option may be called USB Debugging: Don't Turn Off the Screen.

  • πŸ”„ Automatic optimization MIUI (if)
  • πŸ“΅ Background Limitation for Applications
  • ⚑ Aggressive energy conservation
What to do if the developer mode is not in the settings?
On some firmware (e.g., for the European region), the item may be called Additional or Special features. If it is not at all, try resetting your phone to factory settings or updating MIUI to the latest version.

⚠️ Attention: Sloppy changes in developer mode can lead to unstable phone operation. Do not turn off options that you do not understand the purpose (for example, Debugging by the Internet). USB or Unlock. OEM).

Method 4: Forced sleep shutdown via ADB (advanced method)

If the software settings don't work, you can use Android Debug Bridge (ADB), a low-level system management tool that's suitable for users who are willing to work with the command line.

  • πŸ–₯️ Computer with installed Xiaomi and ADB-tools drivers.
  • πŸ“± Initiated Debugging Mode USB on the phone (in the settings for developers).
  • πŸ”Œ USB-cable (preferably original).

After connecting the phone to the PC, perform in the command line:

adb shell settings put global stay_on_while_plugged_in 3

This command will force you to turn off sleep mode when you connect to the charger. To get it back, use:

adb shell settings put global stay_on_while_plugged_in 0

Important: On some models (e.g. Redmi Note 11 with MIUI 13), this command can only work after the phone has restarted, and note that after resetting or updating the firmware, you will have to reset the setting.

Method 5: Third-party applications for screen control

If you need to temporarily turn off sleep mode (for example, only for a specific application), you can use specialized utilities.

  • πŸ“± Keep Screen On – allows you to keep the screen on while the selected application is running (for example, Google Maps or YouTube).
  • ⏳ Caffeine – Adds a button to the notification panel to quickly switch the β€œdo not sleep” mode".
  • πŸ”„ Tasker is for advanced users who want to automate their sleep shutdown on schedule or triggers.

Before installing, check for permissions for applications β€” some of them require access to Special Features (Settings β†’ Special Features β†’ Special Features β†’ Special Features Services). Also note that third-party utilities may conflict with MIUI optimization, so it is recommended to restart your phone after using them.

πŸ’‘

Apps from third-party sources (not from Google Play) may contain malicious code. Install only proven utilities with high ratings and a large number of reviews.

Frequent problems and their solutions

Even after the sleep mode is turned off, Xiaomi users face typical problems.

  1. The screen goes out 1-2 seconds after unlocking Reason: The proximity sensor (e.g. during a call) or the In-Pack mode is activated. Solution: Turn off Settings β†’ Screen β†’ Approximation sensor or check the case - it can block the sensor.
  2. Settings are reset after the MIUI update Reason: The firmware update resets some power saving settings. Solution: Repeat the sleep setting and turn off automatic optimization in Settings β†’ Battery.
  3. Phone doesn't respond to touches after waking up Reason: Conflict with a screen locking app (like AppLock).Solution: Remove third-party blockers or add them to battery optimization exceptions.

On models with Always-On Display (AOD) (such as the Xiaomi 13 Pro), sleep mode may work differently. If the screen dims but doesn't turn off completely, check the AOD settings in Settings β†’ Screen β†’ Always-On Display. Sometimes it helps to turn off the Up to Wake function.

Can I turn off sleep mode only for specific applications?
Yes, use the Keep Screen On app to do this, or set exceptions in Settings β†’ Battery β†’ Battery Optimization. For example, for Google Maps or Waze, select the No Limits option.
Why does the phone get hot after the sleep mode is turned off?
A constantly on screen (especially AMOLED) increases the load on the processor and battery. If the temperature is above 40 Β° C, return the standard timeout settings and use sleep mode with a minimum time (for example, 10 minutes).
How to turn off sleep mode on Xiaomi with a broken screen?
If the sensor doesn’t work, connect your phone to your PC and use ADB (see Method 4).The alternative is to control the device via Mi PC Suite (the official utility from Xiaomi) or connect your mouse via USB-OTG (if debugging is enabled).
Will the battery run out faster if you turn off sleep mode?
Yes, but the degree depends on the type of screen: AMOLED (e.g. Xiaomi 14): consumption will increase by 15-20% due to pixel backlight. IPS LCD (e.g. Redmi 12): consumption will increase by 25-30%, since the backlight works entirely.
Why is POCO F5 not equipped with the β€œNever” option in its sleep settings?
In some regional POCO firmware, this option is hidden. Solutions: Update MIUI to the latest version. Use ADB (see Method 4). Install an alternative firmware (e.g. Xiaomi.EU) where restrictions are lifted.