Often, users are faced with a situation where the smartphone display Xiaomi or Redmi goes dark at the most inopportune moment. This may happen while reading a long article, looking at a recipe in the kitchen, or while giving a presentation to colleagues. The standard energy saving settings provided by the developers MIUI or HyperOSare aimed at maximum autonomy, so inactivity time is limited to a few minutes. However, depending on your use case, you may need to disable automatic screen dimming completely or significantly extend this interval.

In the ecosystem Android there are several levels of display power management. From basic settings in the menu to hidden features for developers that allow you to ignore sleep timers. It is important to understand that the constant glow of the matrix AMOLED or IPS affects not only the battery charge, but also the temperature of the device. In this article, we will analyze all the available methods, from simple switches to installing specialized software, so that your smartphone remains active as long as necessary.

Standard timeout settings in MIUI and HyperOS

The first and most obvious step is checking the basic system parameters. Smartphone manufacturers typically set the default limit to range from 30 seconds to 2 minutes. Changing this value does not require in-depth knowledge of the interface. Just go to the menu Settings and find the section responsible for the screen. In shells Xiaomi this item is often called “Screen and Brightness” or simply “Display”.

Inside this section you will find the option “Sleep Mode” or “Screen Timeout”. By clicking on it, the system will offer a list of available intervals. Typically, the maximum value available to an ordinary user without third-party tricks is 10 minutes. It's a trade-off between convenience and battery conservation. If you select 10 minutes, the phone will wait exactly this period of time after the last touch before turning off the backlight.

It is worth noting that in some firmware versions MIUI the list may be limited. For example, if you have Power Saving mode turned on, the system may force the time to be reduced to 30 seconds, ignoring your preferences. Therefore, before setting the timeout, make sure that the power saving mode is disabled. Also pay attention to the “Raise to turn on” function, which can throw off the timer if you periodically pick up the phone.

⚠️ Attention: Setting the maximum time (10 minutes) at 100% display brightness can lead to significant heating of the case, especially if the smartphone is in a case with poor heat dissipation.

If you need a standard range is not enough, and 10 minutes is too short for your purposes, you will have to resort to more advanced methods. The normal settings menu will not allow you to set the value to “Never” or “Infinite”, since this is considered a critical action for battery life. However, there is a hidden mechanism built right into the core of the system, which is available to every owner.

📊 How long do you need to keep the screen on?
Up to 5 minutes
10-30 minutes
1-2 hours
Permanently (for stand)

Activating developer mode to disable sleep

The most effective way to make the screen stay on forever without installing unnecessary apps is to use the developer menu. This feature is hidden by default to prevent inexperienced users from accidentally changing critical system parameters. Activating this mode opens up access to dozens of engineering settings, among which there is one that solves our problem.

To get to the desired menu, you need to perform a certain sequence of actions. First go to Settings, then select “About phone”. Here you need to find the line “MIUI Version” or “OS Version”. Click on it quickly and repeatedly (about 7-10 times) until a pop-up notification appears indicating that you have become a developer. After this, in the main settings menu, in the “Advanced” section, a new “For Developers” item will appear.

Inside this section, scroll down the list to the “Monitoring” or “Debugging” block. Find the switch called “Keep the screen on” (or “Stay awake” in the English version). Activating this feature causes the display to remain on continuously while the device is connected to the charger. This is an ideal option for using a smartphone as a desktop clock, a navigator in a car, or an information board.

☑️ Activating developer mode

Done: 0 / 4

It is important to understand how this option works. It does not disable the sleep timer completely offline. Once you unplug the power cord, the screen will start to go dark as per the timeout settings we discussed in the previous section. This is done specifically for safety: if you forget the phone while charging with the screen active, it will not discharge to zero, but it will not burn forever without control.

Some users mistakenly believe that this mode only affects the debugging process via USB. In fact, the parameter Stay awake works globally for all applications when the phone is charging. This allows, for example, to leave a video player or slide show on all night, without fear that the device will fall asleep in the middle of the process.

Using third-party applications to control the screen

If you need the screen to stay on from the battery, and not from the network, standard tools Android are powerless here. In this case, specialized utilities from the store come to the rescue. These applications create a temporary ban on the device going into sleep mode, emulating user activity or blocking sleep system calls. Google Play. These applications temporarily prevent the device from going to sleep by emulating user activity or blocking sleep system calls.

One ​​of the most popular and reliable solutions is the application Caffeine or its analogues, such as Keep Screen On. The principle of their operation is simple: after launch, a special button (coffee cup or lock) appears in the notification shade. While this button is active, the inactivity timer is ignored. As soon as you press it again or restart the phone, the function is disabled and the standard settings return.

The advantage of such apps is flexibility. Many of them allow you to customize profiles. For example, you can set a rule: “If YouTube or Navigator is running, do not turn off the screen.” Or set a timer for 1 hour, after which the phone will fall asleep on its own to save energy. This is much more convenient than going through the system settings every time.

  • Caffeine —a minimalist application that adds a tile to the quick settings panel.
  • 🔒 Keep Screen On —allows you to select specific applications for which the sleep ban will apply.
  • ⏱️ Screen Timeout —allows you to set non-standard time values, for example, 15 or 45 minutes.

When installing such utilities, pay attention to the requested permissions. To work correctly, they often require access to surfaces on top of other windows or rights to change system settings. Do not grant unnecessary rights, such as access to contacts or microphone, if the application is positioned only as a screen control tool.

Why may applications close?

The MIUI system aggressively kills background processes. To ensure that the screen application works stably, go to Settings -> Applications -> [Application name] -> Autorun and allow it to run in the background, and also disable battery saving for it.

The “Keep the screen on” function in specific applications

Many modern applications have a built-in function to prevent sleep mode. The developers understand that their software is used in situations where constant contact with the screen is impossible or impractical. Checking for such an option within the application itself is the most energy-efficient way to solve the problem.

For example, video players (VLC, MX Player), navigators (Yandex.Maps, Google Maps) and book reading applications often automatically block the sleep timer when launching content. You don't need to configure anything: as soon as you open a video or route, the system receives a signal from the application to keep the display active. As soon as you minimize the app, the timer takes effect again.

In some cases, this function must be activated manually in the settings of a specific application. Look for items with names like “Prevent sleep”, “Keep screen on” or the lock/eye icon in the player interface. This is especially true for specific software, for example, apps for yoga training or culinary recipes, where the user’s hands may be busy.

Application type Function name Where to look Battery operated
Video players Sleep lock Player settings / Lock icon Yes
Navigators Navigation mode Automatically during route Yes
Readers Keep the screen on Reading menu (Aa) Yes
Presentation Display mode At startup slideshow Yes

Using built-in functions is preferable to installing separate blocking apps. This reduces the load on RAM and CPU because no additional background process is created. Additionally, such features typically turn off instantly as soon as you exit the app, eliminating the risk of leaving the screen on in your pocket.

💡

If a built-in feature in an app isn't working, check to see if you have Super Power Saver mode enabled on your system. It can forcibly turn off the screen, ignoring application requests.

The influence of the hardware accelerometer on the backlight

Sometimes the problem with turning off the screen is not related to the timer, but to the sensors. Smartphones Redmi equipped with an accelerometer and proximity sensor, which can misinterpret your actions. If the phone is lying motionless on the table, the system may decide that it is in a bag or pocket and dim the display ahead of time.

Check your gesture settings. The Raise to Wake or Double Press to Wake feature may conflict with the timer. Try disabling these options in the SettingsAdditional settingsGesturessection. Sometimes disabling these functions stabilizes the timeout, since the system stops constantly polling motion sensors to make decisions about sleep.

It is also worth mentioning the proximity sensor. If you are watching a video while holding the phone in your hand and accidentally cover the top of the screen with your palm or case, the screen will go dark. This is a defense mechanism against cheek pressing during calls and works in other scenarios as well. Make sure that the protective glass is glued correctly and does not cover the sensor.

⚠️ Attention: On some Redmi models, the proximity sensor is located under the display. A logo sticker or thick protective glass can cause false dimming alarms.

In rare cases, calibrating the sensors helps. For this purpose, engineering codes are used, entered through the Phone application. Enter the code ##6484## to enter the CIT engineering menu. There you can test the operation of all sensors, including Light Sensor and Proximity Sensor. If the sensor shows incorrect values ​​at rest, a soft reset or repair may be required.

Battery optimization and application exceptions

The system MIUI is known for its aggressive power management policies. Even if you set the timeout for 10 minutes, the system may decide to “help” you and kill the application ahead of time to save interest. This is especially true for background tasks or applications that do not receive input from the user for a long time.

To avoid this, you need to add the desired application to power saving exceptions. Go to SettingsApplicationsAll applications. Select a app that should work with a permanent screen (for example, a navigator or player). Go to “Battery Saver” and select the “No Limits” option. This will prevent the system from killing the process or limiting its activity.

Also check your autorun settings. If an application is unloaded from memory, it loses the right to block screen sleep. Enable autorun for critical apps in the menu ApplicationsPermissionsAutorun. An integrated approach to setting access rights ensures that the software sleep blocker will not be disabled by the system in the background.

  • 🔋 No restrictions is the most important parameter for stable screen operation.
  • 🚀 Autostart — ensures that the application will not be unloaded from memory.
  • 📱 Pin to memory —open the recent tasks menu and click on the lock next to the application.

Remember that removing restrictions from a large number of applications may cause the phone to begin to discharge faster in standby mode. Apply these settings selectively, only for those apps that really require constant presence on the screen.

💡

The combination of Developer mode (for charging) and the "No restrictions" settings (for battery) gives maximum control over the display time.

Frequently asked questions (FAQ)

Is it possible to completely disable turning off the screen without charging?

This cannot be done using standard Android tools, the maximum timer is 10 minutes. To operate on battery power, you need to use third-party applications like Caffeine or Keep Screen On, which emulate activity.

Is it harmful for the Redmi screen to keep it on for hours?

Prolonged operation at high brightness can lead to pixel burnout (especially on AMOLED) and overheating of the battery. It is recommended to reduce the brightness to a minimum if the screen must be lit for a long time.

Why does the “Keep the screen on” setting in the developers not work?

This setting is activated only when the charger is connected. If the cable is unplugged, the screen will go dark on a normal timer. Also check if the power saving mode is turned on.

Are screen settings reset after a reboot?

Timeout settings in the menu are saved. However, the activation status of the developer mode or the operation of third-party blocker applications may be reset; they need to be launched again after a reboot.

How to return everything as it was if the screen stops going dark?

Go to Settings for Developers and disable the “Keep the screen on” option. If you used an application, delete it or disable the active tile in the notification shade. Then set the timeout to 1-2 minutes in the main display settings.