How to set the screen dimming time on Xiaomi

Modern Xiaomi smartphones, which are based on MIUI or HyperOS shells, have powerful displays that consume a significant part of the battery power. Users often face a situation where the screen goes off too quickly, interrupting reading or viewing, or, conversely, burns too long, wasting charge. Understanding how to set the screen dimming time on Xiaomi, allows you to find the perfect balance between comfort of use and autonomy of the device.

Standard algorithms automatically adjust the backlight, but they don't always take into account the wearer's individual habits, for example, when reading long texts from hand, the device may lock at the most inappropriate moment. In other cases, when the phone is lying on the table, prolonged backlighting can lead to unnecessary discharge or even burn-in effect on the phone. AMOLED-That's why manually adjusting timeout parameters is an important part of the initial setup of the gadget.

In this article, we will take a closer look at all the ways you can manage your inactivity timer, where hidden settings are hidden, how proximity sensors work, and why standard methods may not work under scenarios, and fine-tuning these settings will significantly improve the user experience with your Xiaomi or Redmi.

Standard path through the system settings menu

The most obvious and affordable way to change the time before locking is in the main configuration menu. The interface of the MIUI shell and the new HyperOS is structured logically, but the item names may vary slightly depending on the Android version and regional firmware. First, you need to open the Settings app, which is usually represented by the gear icon on the home screen or in the notification curtain.

Once you log in, you scroll down to the lock section, and most of the current versions call it "Screen Lock," and inside that section, you have "Sleep Mode" or "Sleep Mode Time," and you click on that and you see a list of available time slots that the system offers.

⚠️ Note: In some models with AMOLED-The maximum time can be limited to 2 minutes to prevent pixel burnout, even if the standard settings allow you to choose more.

The choice of a specific value is instantaneous, the system does not require confirmation by the OK button. You can test different intervals to see which one is most convenient in everyday use. Below is a table describing the impact of different time intervals on use cases.

Time intervalRecommended scenarioImpact on the batteryThe risk of burnout
15 seconds.Maximum savings, pocket modeMinimumAbsent.
1 minuteBalance between reading and spendingAverage.Low.
2 minutes.Reading books, looking at recipesHigh.Medium (for static images)
5 minutes.Navigation, presentation of informationCriticalHigh-pitched

β˜‘οΈ Checking the display settings

Done: 0 / 1

Importantly, some devices may have an Adaptive Brightness option that works in conjunction with the timer. If this feature is active, the phone may ignore your set time in low light, extinguishing the screen earlier than it should to save energy.

Use of the function "Do not turn off the screen"

For users who require the display to remain active continuously while charging or working with certain applications, there is a special feature that is often used by developers, but is useful for ordinary owners of Xiaomi smartphones, activating this option makes you ignore the sleep timer while the device is connected to a power source or in active use.

To access the advanced settings, you need to activate the developer mode. Go to Settings β†’ About Phone and quickly click 7 times on MIUI Version or HyperOS Version. After the notification of successful activation, go back to the main settings menu, select Additional and find the Developers item.

What is the danger of the developer's regime?
Developer mode gives you access to system parameters that can affect the stability of the system. Don't change values that you're not sure about, especially those related to processor frequency or USB debugging.

Inside the developer menu, scroll through the list to the "Hardware Acceleration" or "Draw" section, where you'll find the "Stay awake" switch. When you activate this, the screen will burn as long as it's charging, regardless of the timeout settings.

This feature is especially useful if you use your smartphone as a desktop clock, a smart home monitoring panel, or a navigator in your car, but keep in mind that the display can be kept at maximum brightness when charging and can cause the case to heat up and the battery to age faster.

  • πŸ”‹ The function only works when the charger is connected.
  • πŸ“± On some Redmi models, the option may be called "Charging Mode".
  • βš™οΈ Access requires the enabled debugging mode on USB (not always, but often).

Don’t forget that ignoring a sleep timer can cause the phone to accidentally remain on in your pocket or bag if charging is connected, which can cause overheating and damage to internal components.

Advanced settings through the engineering menu

For advanced users who don't have enough standard settings, there is access to Xiaomi's engineering menu, which is a hidden part of the system designed to test hardware, but you can find more subtle display behavior settings, and you can log in to this menu through a set of special code in the Phone app.

Dial the code ##6484## or ##4636##. If the code is suitable for your model and firmware version, the CIT menu will open, and you should be very careful: changing unknown parameters can lead to sensor malfunction or color calibration.

⚠️ Note: The engineering menu does not have a "cancell" function. Before making any changes, it is strongly recommended to make a full backup of data or at least remember the original values of the parameters.

Some versions of the shells in the Display or Screen section have Proximity sensor threshold or millisecond timeout settings, which allow you to set the dimming time to within seconds, which is not available in the regular menu, but on global firmware versions, these items are often locked or hidden.

πŸ’‘

If the code doesn’t work, try entering it without the asterisk and bar symbols, simply by typing 6484 in the contact search or dialer-e.

It is worth noting that once the operating system is updated, these hidden features may be blocked by developers for security reasons, so this method should be considered as a temporary solution or diagnostic method, rather than as a basic method of configuration.

If you accidentally changed the setting and the screen began to behave strangely (blink, go out instantly), you can return everything back through a reset in the same menu or a complete reset of the phone to factory settings.

The Impact of Theme and Third-Party Launchers

MIUI is famous for its deep customization, but it is this feature that often causes setting conflicts. Custom themes downloaded from Themes store can override the system settings of the screen, including dark time. If you notice that the settings are confused by themselves, the problem may lie in the active theme of the design.

Some themes contain their own power-saving control scripts that force you to set short screen sleep times to create a "fast-act" effect or save charge. To check this, temporarily switch to a standard theme "Classic" or "Untitled" and check the timer.

Third-party launchers that replace the standard desktop can also have an impact. Apps like Nova Launcher or Microsoft Launcher have their own screen controls that may conflict with system ones.

  • 🎨 Themes with watch widgets often require constant lighting.
  • πŸ›‘ Third-party screen blockers may ignore system timer.
  • ⚑ Acceleration modes in themes often reduce the display time.

There are also dedicated screen management apps available on Google Play that allow you to create profiles, such as the Read profile can automatically set 5 minutes and the Navigation profile 2 minutes, which require special permissions, which MIUI reluctantly grants.

πŸ“Š What most often interferes with your screen setting?
A third-party topic
Updating the system
Random taps
Viruses
I don't know.

It's important to understand that deep customization always carries the risk of instability, and if you value timeout stability over visuals, you'd better use standard themes and launchers.

Problems with the proximity sensor and autolock

Often users confuse dimming time setting with the approach sensor. If the screen goes out when you hold the phone to your ear while you talk, or vice versa, does not go out in your pocket, the problem is not timeout, but sensor calibration. On Xiaomi smartphones, this is a common problem, solved through engineering menus or special applications.

The proximity sensor is located at the top of the screen, often next to the speaker, and a protective glass, an incorrect sticker, or contamination can block it from working, causing the system to "think" that the phone is near the ear, and to turn off the screen, ignoring the 2 or 5 minutes you set.

To check the sensor, you can use the code ##64663## (test menu). In the test list, select Proximity sensor. Cover the top of the screen with your hand - the value should change from 5.0 to 0.0. If there is no change, you need to calibrate.

⚠️ Warning: Do not glue the proximity sensor area with tight stickers or black-framed protective glass, this will lead to permanent false screen locks.

Calibration can be done in the same engineering menu by pressing the Calibration button (if available) or through the Mi Remote app in the sensor calibration section (relevant to older models).

Also worth mentioning is the feature in pocket mode, which prevents accidental pressing. If it works incorrectly, the screen can go out immediately after locking, creating the illusion of an incorrectly configured timer.

Battery Optimization and Background Processes

Xiaomi's energy-saving systems aggressively manage resources, which can affect screen behavior. In "Energy Saving" or "Ultra-Saving" mode, the system forcibly reduces the display time to a minimum (usually 15 seconds), ignoring user settings, this is done to maximize the life of the device in a critical situation.

Check if you have power saving activated. Go to Settings β†’ Battery and make sure you choose Balanced or Performance mode. In Saving Mode, many visuals and timers are cut automatically.

πŸ’‘

Aggressive battery optimization is the main reason why screen time settings can be reset or ignored by the system without the user’s knowledge.

In addition, some applications may request permission to "Keep Screen On." If such permission is given, the application will keep the screen active even if the timer has expired. Check the list of applications with such access in the Applications β†’ Permissions β†’ Special Rights β†’ Do not turn off the screen.

The screen is also affected by the temperature of the case, so if the smartphone overheats, the protection system automatically reduces the brightness and reduces the time to lock to prevent damage to the matrix and internal components, in which case no settings will help until the device cools down.

Regular cleaning of the cache and closing of background processes also contribute to more stable operation of sensors and timers. Overflowing RAM can cause delays in the system's response to user actions, including screen quenching.

Frequently Asked Questions (FAQ)

Why don’t I have a time choice of more than 2 minutes on my Xiaomi?
This limitation is often found in models with AMOLED-Manufacturers artificially limit the maximum time a static image can run to prevent pixels from burning out. In some cases, this limitation can be circumvented by activating the developer mode and enabling the option β€œDo not turn off the screen” when charging, or using third-party timer apps.
Can you set different times for day and night?
The standard MIUI/HyperOS settings do not have this feature. However, if you have Vision Protection or Night Mode enabled, the system can automatically reduce brightness, but not timeout time. Day/Night scenarios will require third-party automatizers such as Tasker or MacroDroid to change system settings on a schedule.
Are screen time settings reset after system updates?
Usually, major Android updates (such as the switch from Android 13 to 14) can reset personalization settings to factory values. Security updates or MIUI patches tend to retain user preferences. After a major update, it is recommended to recheck the timeout settings.
Does the set dimming time affect the battery discharge rate?
Yes, the impact is direct and significant. The display is the most energy-intensive element of a smartphone. Increasing screen time from 30 seconds to 2 minutes in standby mode can reduce total battery life by 10-15% during the day, especially if notifications come in often.
How to return the screen settings if they stop working?
If the dimming time settings are no longer applicable, try resetting the special features settings. Go to Settings β†’ Advanced Settings β†’ Special. features and find the reset button. Also helps to clear the Settings app cache through the application management menu.