Modern Xiaomi smartphones running MIUI shells or the new HyperOS offer users a wide range of personalization settings, but standard power saving options are often questionable. Many device owners face a situation where the display goes out at the most inopportune moment, interrupting reading long articles, viewing recipes in the kitchen or navigating complex schemes. This is due to the built-in timer that forcibly puts the gadget into sleep mode to save battery power, but in some use cases this feature becomes more a hindrance than a useful tool.
Disabling automatic locking is not always an obvious process, as manufacturers deliberately hide some options or limit the maximum display time without user action. In this article, we will discuss in detail all the available ways to control the sleep timer, including standard menus, special codes for engineering mode and third-party utilities that will help you achieve the desired result without the need to obtain root rights.
It is worth noting that a complete shutdown of the function can lead to accelerated battery discharge and the risk of damage to the screen if it will be long exposed to a static image, causing the effect of burn-in. So it is important to find a balance between usability and saving the device’s life, correctly adjusting the intervals or using smart activation functions by look, which we will also discuss below.
Standard sleep timer settings in MIUI and HyperOS
The first and most logical step that any user who wants to change display behavior needs to take is to go to the basic settings of the system. In shells from Xiaomi, this option is usually hidden in the section responsible for the screen and lock, but the path to it may vary slightly depending on the version of the software. The standard algorithm of actions involves going to the main settings menu, where you need to find the item associated with displaying information or locking the device.
Once you log in to the appropriate menu, you'll see a list of available time slots that the screen will go out without touching. The system offers options from 15 seconds to 10 minutes, but the choice is often limited and users can't set an arbitrary value. If you want the screen to stay on the outside, you'll have to look for workarounds, but first check if you have a minimum timer that you can just zoom in to a comfortable value.
The settings interface may look different depending on the theme, but the logic remains the same: look for Settings → Screen and Lock → Sleep Mode. This is where the slider or timing list is located. Note that in some versions of the firmware, this item may be called “Screen Time Out” or “Self-Blocking”, which are synonymous with the same power management function.
- 📱 Open the Settings app on the main table or in the notification curtain.
- 🔍 Find the Screen and Lock section (or just Screen in the new versions).
- ⏱️ Select the “Sleep Mode” option and set the maximum possible time.
- 💡 Check if the “Mode in the pocket” feature is activated, which can block sensors.
It's important to understand that even if you set the maximum value of 10 minutes, the phone will still go out if no action is taken. This is a fundamental limitation of the Android operating system, aimed at protecting the matrix and the battery. For scenarios that require constant glow, standard tools may not be enough, and then more advanced customization methods come to the rescue, which will be discussed later.
⚠️ Attention: Setting maximum screen time without control can cause the device to overheat when using heavy applications or navigation in direct sunlight.
Use of the “Do Not Turn Off” Mode for Developers
If a standard 10 minute timer isn’t enough and you need the screen to burn constantly while charging or working with a particular application, the most reliable built-in solution is to activate developer mode.This hidden option allows you to ignore the sleep timer while the device is connected to the power source, which is ideal for using a smartphone as a desktop clock, smart home control panel or navigator in a car.
To activate this feature, you first need to unlock access to the advanced settings menu, this is done by repeatedly clicking on the build number in the About section. After the system notifies you that you have become a developer, a new item will appear in the settings menu where the desired option hides. The name may vary, but most often it sounds like “Do not turn off the screen” or “Stay awake”.
Activating this mode changes the way you behave: as long as your phone is connected to the charger via USB or wireless charging, the display will burn indefinitely, regardless of the timeout settings, but remember that this only works when you have power. Once you turn off the cable, the usual power saving rules will come into effect, and the screen will go out after a set period of time.
Activation path: Settings → About phone → 7 times press on "Version MIUI" → Settings → Advanced settings → For developers → Do not turn off the screenUsing this feature requires caution, especially if you have static interface elements on the screen for a long time. OLED-The pixels are very durable, the risk of burning out at maximum brightness and static image remains real. It is recommended to reduce the brightness or use dynamic wallpaper if you plan to keep the phone in this mode for hours.
💡
Use the developer mode only when charging is connected to avoid full battery drain, as the display consumes a significant amount of power.
Applications to disable autolock without Root rights
When built-in capabilities are lacking, Google Play apps come to the rescue, allowing you to flexibly manage your sleep timer, and these tools work on the principle of creating exceptions: they determine which application is running at the moment, and automatically change the settings of the screen timeout only for this case, without affecting the overall logic of the smartphone.
One of the most popular and time-tested solutions is Keep Screen On, or its counterparts like Caffeine, which is simple: you add the right program (like a book reader or a navigator) to the exclusion list, and while it is active, the screen does not go out. Once you leave the application, the timer automatically returns to standard values, which provides a balance between convenience and energy savings.
The advantage of these solutions is that they do not require deep intervention and work on any version of Android, including the latest security updates. You do not need to be a programmer or an expert in mobile technology to set them up: the interface is usually as simple and clear as possible, even for a beginner, allowing you to create the desired profile in a couple of clicks.
- 📥 Download the screen control app from the official store.
- ✅ Provide the necessary permissions to use over other windows.
- 📋 Add the required applications to the list of exceptions (white-list).
- ⚙️ Set up an “Always On” profile for specific use cases.
There's also the possibility of smart scripts, if your phone supports macros or you use third-party automatizers like MacroDroid, that can adjust your response to physical actions, like if your phone is horizontal and your video player is running, your sleep timer shuts down, which is a more complex, but more powerful automation tool.
⚠️ Note: When installing screen controller applications, carefully check the permissions requested. Some may require access to a list of running processes, which is normal for their functionality, but requires trust in the developer.
☑️ Checking the screen control application
Activation function by sight and proximity sensors
Owners of Xiaomi’s flagship models and some mid-range devices can use the look-based screen activation feature, known as Eye Tracking or Activate When Raising, which uses a front-facing camera and light sensors to determine whether a user is looking at the device. If the view is fixed, the screen continues to burn even if the sleep timer has expired.
To turn on this feature, you need to go to the screen settings and find the appropriate switch, which can be called “Increase brightness in your pocket” or “Do not turn off the screen when you look at it.” The algorithm works like this: the system periodically scans the space in front of the sensors, and if it detects the user’s face, resets the countdown timer, which creates the illusion that the autolock is turned off, when in fact it just restarts constantly.
However, this method has its limitations: the function can work incorrectly in bright sunlight when the light sensor is “blind”, or if you are in complete darkness, where the camera can not read the face. In addition, constant questioning of the sensors and the camera in the background can consume additional battery power, although significantly less than the constant glow of the display at maximum brightness.
| Management method | Efficiency | Impact on the battery | Difficulty setting up |
|---|---|---|---|
| Standard timer | Low (time-bound) | Minimum | Low. |
| Developer mode | High (only on charge) | High. | Medium |
| Third-party annexes | Tall (flexible) | Average. | Low. |
| Activation by sight | Medium (depending on conditions) | Average. | Low. |
Using sensors is the smartest way to solve the problem, as it doesn’t require the user to take any extra action: The screen goes out on its own as soon as you look away, which prevents accidental discharge in your pocket or on the desk, but allows you to read text comfortably without touching the device every couple of minutes.
Why does the eye function not work in glasses?
Proximation sensor problems and false locks
Often users are looking for a way to turn off autolock when they are actually experiencing a malfunction or contamination of the proximity sensor.This small sensor, located next to the conversational speaker, is responsible for quenching the screen during a conversation so that the cheek does not press random buttons. If it is contaminated, closed with a tight case or protective film, the screen can go out chaotically, regardless of the timer settings.
The first thing to do in this situation is to thoroughly wipe the top of the screen and the area with a soft cloth speaker. Make sure that the protective glass does not overlap the sensor, and the case does not have too high sides in this area. Sometimes the problem is solved by simply calibrating the sensor through the engineering menu, which is called by the code # # # # #6484# in the phone application.
In the test menu, you need to find the item associated with the Proximity Sensor and follow the instructions on the screen to calibrate. Usually you need to close the sensor with your hand and then remove it so that the system records the correct values. If the software calibration does not help, there may be a hardware malfunction that requires replacing the component in the service center.
Also worth mentioning are conflicts with applications that use the proximity sensor for their own purposes, such as various smart blockers or calling apps. Try running your phone in safe mode to eliminate the impact of third-party software. If the problem disappears in safe mode, then one of the apps you installed is to blame.
- 🧼 Wipe the top face of your smartphone from fat and dust.
- 🛡️ Remove the case and check if it covers the sensor.
- 🔧 Calibrate through the engineering menu ##6484##.
- 📱 Check the work in safe mode to eliminate software conflicts.
⚠️ Warning: Do not glue the proximity sensor area with decorative stickers or “pebbles”, this is guaranteed to lead to incorrect screen operation during calls and reading.
💡
If the screen goes out only during a conversation or when you bring the phone to your ear, the problem is not with the settings of the sleep timer, but with the proximity sensor.