How to turn off sleep mode on Xiaomi smartphone

Modern Xiaomi and Redmi smartphones are equipped with sophisticated power-saving algorithms that automatically put the display into sleep mode to save battery power. However, in some situations, the user may need to keep the screen active constantly or not go out too quickly. This is true when reading books, watching navigation while driving or using the device as a desktop clock. Understanding how to manage these settings allows you to flexibly adapt the gadget to personal needs.

MIUI and the new HyperOS shell have different levels of locking. The standard shutdown timer can be too short, and the Always On Display mode has its own time limits. In this article, we will detail how to completely remove sleep mode or significantly increase its latency using standard system tools and hidden developer functions.

Setting up a standard screen timer

The easiest and most obvious way to affect the time of sleep is to change the basic timer settings. By default, the system offers a limited set of intervals, usually from 15 seconds to 10 minutes. To find these settings, you need to go to the Settings menu and select the Screen and Brightness section, which is located in the Sleep Mode, which regulates the time of inactivity before locking.

It's important to note that the maximum value on the standard menu is often limited to 10 or 30 minutes, depending on the firmware version. If you want the screen to stay on the floor, standard methods will not work, you will need to use additional tools, which will be discussed below.

Some users have noticed that even when setting maximum time, the screen goes out earlier, which may be due to the proximity sensor or active power saving mode. Make sure that the battery settings do not set strict restrictions on background activity that can force the display to darken.

  • πŸ“± Open Settings and go to the Screen and Brightness section.
  • ⏱️ Click on Sleep mode and select the maximum available value.
  • πŸ”‹ Check if the Ultra-Energy Saving mode is activated, which ignores user timers.

⚠️ Attention: Constant operation of the display at maximum brightness leads to rapid wear of the matrix and possible burnout of pixels, especially on the screen. AMOLED-screen.

Use the Always On Display mode

For OLED and AMOLED devices, Xiaomi has introduced Always On Display (AOD) to display time, date and notifications on the screen off, while consuming minimal power. Unlike no sleep mode at all, AOD only shows a static or animated image on part of the screen, which is safe for the matrix.

You can activate this function through the Wallpaper menu or in the Lock Screen settings section. The user can choose the display style, color and even upload their own images. that in new versions of HyperOS, the AOD algorithms have become smarter: the system can turn off the display when the phone is lying down the screen or in your pocket so as not to waste charge.

You can set your Always On Display schedule, you can set time slots when the screen should be on all the time, or you can activate Smart mode, which only turns on the backlight when you receive a notification or touch, which is a compromise between the desire to see information and the need to save the battery.

  • πŸ•’ Go to Settings. β†’ Lock screen β†’ Always On Display.
  • 🎨 Choose a display style or create your own design.
  • πŸ“… Set up an activity schedule so that the screen doesn’t burn at night.

πŸ’‘

Use dark wallpaper for Always On Display mode – on AMOLED screens, black pixels are completely off and do not consume energy.

Note that AOD is not available on all budget models that use IPS arrays, and in such cases, the system may offer alternative options, such as periodically turning on the screen when lifting the phone, but this is not a full-fledged analogue of Always On Display.

Disconnection of the energy saving mode

Aggressive power saving settings in the MIUI shell often cause premature screen quenching. The system tries to prolong battery life by limiting background processes and reducing brightness. If your phone goes to sleep quickly despite the settings set, check battery status.

From the Battery menu, you can choose from three profiles: Energy Saving, Balanced, or Performance. Saving mode automatically shortens the time before you turn off the screen and may prevent some applications from running in the background.Switching to a balanced mode or performance mode often solves the problem.

πŸ“Š What type of battery you use most often?
Saving energy
Balanced
Productivity
Don't know/Standard.

Also, you should pay attention to the settings of a particular application. If the screen goes out in only one program (for example, when reading), it may have individual restrictions for it. Go to the application settings, select Activity Control and make sure that the value No restrictions are selected.

  • ⚑ Open the Battery menu and check the current power profile.
  • πŸ“± Click on the settings icon (cog) in the corner of the battery screen.
  • 🚫 Make sure the Ultra-Energy Saving function is turned off.

⚠️ Warning: Performance mode can significantly increase charge consumption and body heating, use it only when necessary.

Hidden functions and engineering menu

For advanced users who don't have the standard settings, there are hidden menus and developer commands. One way to extend the life of the screen is to activate the "Don't Turn Off Screen When Charging" mode, which is useful if you're using your smartphone as an in-car navigator or an info panel.

To access the advanced settings, you need to activate the developer menu, you need to click on the version number in the About Phone section several times in a row, and after the corresponding notification appears, a new option will appear in the Advanced Settings menu For developers, and you can find the option Do not turn off the screen, which only works when the charger is connected.

adb shell settings put system screen_off_timeout 2147483647

There is also the option of using ADB (Android Debug Bridge) commands to set a non-standard screen timer. The command above sets the maximum possible timer value in milliseconds. However, using ADB requires a connection to a computer and the appropriate driver.

How to activate debugging over USB?
To work with ADB, you need to include the item β€œDebugging by USB” in the β€œDevelopers” menu. After that, connect the phone to your PC and confirm the debugging request on the smartphone screen.

Using engineering codes like ##6484###, you can enter the equipment testing mode (CIT). Although you can check the sensors and screen, you can usually not change the system sleep timer through this menu, but you can diagnose proximity sensor malfunctions that can simulate sleep withdrawal.

Third-party screen management applications

If the system constraints are too tight, Google Play apps come to the rescue. There are many utilities, such as Keep Screen On, Caffeine or Screen Alive, that allow you to force the screen to be active, and these programs create an invisible layer on top of the interface or emulate touches to prevent the timer from going off.

When installing these applications, it is important to carefully read the permissions they request, and they often require permission to β€œmask over other windows” or access special features to work, which is necessary so that the program can intercept system commands to lock.

AnnexType of workResource consumptionAdvertising
Keep Screen OnTimer/SensorsLow.Got it.
CaffeineTouch simulationMinimumNo.
Screen AliveSleep blockageAverage.There is.

Keep in mind that the constant operation of such applications can conflict with system optimizers Xiaomi. If you notice that the phone started to run slower or discharge faster, try adding the application to the battery optimization exceptions or uninstall it by returning to standard settings.

πŸ’‘

Third-party applications are an effective solution, but they can reduce overall system performance and battery life.

The Influence of Widgets and Live Wallpaper

Sometimes the widgets or wallpapers are the cause of the screen's strange behavior. Some widgets, especially those that display real-time information (currency rates, weather, news), can prevent them from going to sleep if they are actively updated. Conversely, an improperly working widget can block the light sensor.

Live wallpaper, especially complex animations, can keep the processor active, which prevents the system from going into deep sleep. If you notice that the phone does not go into sleep mode or, conversely, goes out too abruptly after installing a new design, try temporarily returning a static image.

It's also worth checking the Pocket Mode settings, which is designed to prevent accidental taps in your pocket, but sometimes it doesn't work properly. If the proximity sensor is contaminated or closed with a security glass, the phone can think it's in your pocket and turn off the screen as soon as it unlocks.

  • πŸ–ΌοΈ Try to remove newly installed live wallpaper.
  • 🧹 Clean the top of the screen next to the speaker from dust.
  • πŸ” Check if the protective glass is blocking the proximity sensor.

⚠️ Warning: Removing sleep mode for a long time on devices with IPS-screens can cause irreversible burnout of the image (burn-in).

Frequently Asked Questions (FAQ)

Can I turn off the screen timer completely without root rights?
You can’t completely turn off the timer (set on Never) with standard root-free tools in most versions of MIUI. The maximum value is usually limited to 30 minutes. Third-party applications or ADB commands are required to run the screen indefinitely.
Why does the screen go out while reading books?
This may be due to the settings of a particular reading app, check its internal settings for its own sleep timer, and make sure that the aggressive energy saving Read mode is not activated.
Is it harmful to keep the screen on all the time?
Yes, it's harmful. The constant glow of the same pixels causes them to degrade and burn out, especially on AMOLED arrays, and it also greatly accelerates battery wear due to charge-discharge and heating cycles.
How to check if the proximity sensor is working?
Type ##6484## into the dialer, select "Proximity sensor" and cover the top of the screen with your hand. The indicator should change. If this does not happen, you may need calibration or repair.
Are screen settings reset when updating the firmware?
When you upgrade through OTA (over the air), user settings, including the screen timer, are usually saved, but when you reset to factory settings or flash through the computer, everything will return to default values.

β˜‘οΈ Checking screen settings

Done: 0 / 4