How to make your phone not turn off from Xiaomi inaction

Modern smartphones, especially Xiaomi models, are equipped with aggressive energy-saving systems that are set to maximize battery life by default. Often users are faced with a situation where the screen goes out at the most inopportune moment: while reading long articles, viewing recipes in the kitchen or reading the navigation in the car.

However, MIUI or its newer version of HyperOS provides flexible tools for managing sleep timers, and in this article we will look at not only standard methods for increasing the time to lock, but also specific features such as the “Always On” mode for video players and hidden settings for developers that allow you to completely ignore the timer of inactivity.

Understanding these mechanisms will help you tailor your smartphone to your specific use cases, and whether you use it as a desktop clock, a navigator or a terminal to display information, you can customize your screen behavior to your convenience without sacrificing battery life at the rest of the time.

Standard setup of sleep timer in MIUI and HyperOS

The first and most obvious step is to change the system settings of the screen. In the Xiaomi shell, this option is called Sleep Mode or Screen Time Out. By default, it is often set to 30 seconds or 1 minute, which may not be enough for comfortable reading. To change this value, you need to go to the Settings menu, then select the Screen and Brightness section and find the Sleep Mode item.

The list that opens offers several options for delay before locking: the standard set usually includes 15 seconds, 30 seconds, 1 minute, 2 minutes, 5 minutes and 10 minutes. The choice of a longer interval, for example, 5 or 10 minutes, allows you to touch the screen much less often to activate it.

It’s worth noting that the increased display time directly affects energy consumption. OLED-matrixes used in Xiaomi flagship models consume less power on a black background, but a bright static picture still quickly lands the battery. So setting the maximum value on a permanent basis is not recommended unless you plan to use the phone in a stationary mode.

  • 📱 Open Settings and go to the Screen and Brightness section.
  • ⏱️ Select the Sleep mode to access the timer.
  • 🔋 Set a value of 5 minutes or 10 minutes for comfortable use.
  • 🔒 Remember that the screen will go out automatically after the selected time has expired.

It is important to understand that some applications can force the system settings of the timer. For example, navigators or video players often ask the system to not turn off the screen while playing or routing. In such cases, the system setting Sleep mode can be ignored until the application is closed.

Use the "Always Screen On" mode for video

One of the most useful and often ignored features in Xiaomi smartphones is the built-in Video Box or Don’t Turn Off Screen feature in the video player settings, which is designed specifically for those cases where you want the display to burn indefinitely while certain content is running, but you don’t need to change the global timer settings.

To activate this feature in new versions of HyperOS and MIUI 14, you need to open the Security app (green icon with lightning), scroll down to the Tools section and select Video Box. Here you can add applications that will apply the constant burning rule of the screen, most often including YouTube, VLC Player, MX Player or browsers.

Where to find the video box in older versions of MIUI?
In older versions of the shell (MIUI 11-12), this tool could have been simply called "Video" and was in the Tools folder on the desktop. If you can't find it, try updating the Security app through the GetApps store.

An alternative way to activate is through the sidebar, and in many models, when you play a video from the side, you have a small arrow or bar, and if you click on it, you'll see a quick action menu that has a "Do not turn off the screen" button (lock or eye icon), which is the fastest way to temporarily turn off the inactivity timer for your current session.

  • 🎬 Launch the “Security” app on your smartphone.
  • 📂 Find and open the Video Box tool in the list of utilities.
  • ➕ Click “Add Video” and select the desired apps from the list.
  • ▶️ When you start the video in these applications, the screen will not go out.

This is the most energy efficient method, because it only activates wakefulness when it's really necessary. You don't have to remember to bring the timer settings back, as you do with the global system change. Once you close the video player, the phone will return to normal behavior and save charge.

Setting Always On Display for Permanent Indication

Always On Display (AOD) allows you to display time, date and notifications on a screen that is off without the need for full display activation. Although technically the main screen is off at that point (going into low power mode), for the user, this is often a solution to the phone's "off" problem, since the information remains visible.

Unlike a standard sleep timer, AOD takes advantage of AMOLED arrays by lighting only individual pixels, and you can set up this feature through the Settings → Wallpaper and Personalization → Always On Display. Here you can choose the style of the watch, the color and, most importantly, the schedule.

📊 Do you use the function Always on Display?
Yes, constantly/Only during the day/Never included/I don't know what it is

AOD can be set to Always, 10 seconds after touch, or Schedule. For scenarios where the phone is used as a desktop clock or a display, Always or Scheduled (e.g. 8:00 to 23:00) is the best option, creating the illusion of a constantly working device, even though the power consumption is minimal.

⚠️ Note: Always On Display is only available on smartphones with screens AMOLED. If you have a budget model Xiaomi or Redmi with IPS-This item in the settings may be absent or inactive, because the technology IPS Cannot locally turn off pixels.

It is also worth considering that the constant glow of even a part of the pixels over time can lead to the burnout of the matrix, although modern Xiaomi algorithms regularly shift the image to minimize this risk. AOD included 24/7 without interruption if the battery of the device is already worn out.

Special features: screen retention while viewing

MIUI has smart features that use the front camera and sensors to detect the user's presence in front of the screen, which allows the phone to stay awake while it "sees" you're looking at it, even if you're not touching the display.

To enable this feature, go to Settings, select Additional (or Advanced Settings), then Special Features. In the list, find an item that may be called "Contain Screen while you're watching" or "Do not turn off the screen while you're watching."

This option is especially useful when reading e-books or studying materials when your hands may be busy, but your eyes are on the screen. The phone will keep the backlight active until you look away or close the app. However, it is worth remembering that the front camera and the face analysis processor are constantly running and increasing battery consumption.

  • 👁️ Go to Settings. → Additionally. → Special opportunities.
  • 🔍 Activate the screen retention switch when viewing.
  • 📖 Use the feature when reading books or recipes without touching.
  • 🔋 Watch the charge as the camera is running in the background.

The efficiency of the function depends on the lighting in the room and the angle at which you hold the phone. In bright sunlight or in complete darkness (if not turned on IR illumination), the system can make a mistake and let the screen go out.

Hidden settings and developer mode

For advanced users who don’t have the standard methods, there is a possibility of using the developer mode, which allows access to the settings of the Android system, including the parameters of the screen behavior while charging or working from the network.

To activate Developer Mode, go to Settings → About Phone and quickly press 7 times on MIUI Version (or OS Version). Once the message “You are a developer” appears, a new section will appear in the settings menu Additional → For Developers. Inside this section, you can find the option “Don’t turn off the screen” (Stay awake), which prevents you from going to sleep while the phone is connected to the charger.

☑️ Activation of the developer mode

Done: 0 / 1

This feature is ideal for scenarios where the phone is used as a stationary monitor, a digital photo frame, or a smart home control panel connected to a power outlet, in which the screen will burn continuously while charging, ignoring any sleep timers.

⚠️ Warning: Constantly operating the screen at maximum brightness during charging can cause the battery to overheat and bloat. Use this method only with proven chargers and preferably in a cool room.

In addition, in developer mode, you can experiment with animations and other parameters, but be careful: changing unknown settings can lead to unstable system operation. To prevent the screen from turning off, only one option is needed to “Do not turn off the screen”.

Comparison of methods and the effect on the battery

The method of turning off the idle timer is directly dependent on your goals and operating conditions of the device. Each of the methods examined has its advantages and disadvantages in terms of power consumption and convenience. To help you determine, we have compiled a comparative table of basic methods.

MethodImpact on the batteryConvenienceBest application
Increased timerAverage.High.Reading, browser
Video boxLow (in annex only)Average.Watching video
Always On DisplayLow (AMOLED)High.Hours, notifications
Developer modeHigh (constantly)Low (requires charging)Stationary use
Increased timerAverage.High.Reading, browser
Video boxLow (in annex only)Average.Watching video
Always On DisplayLow (AMOLED)High.Hours, notifications
Developer modeHigh (constantly)Low (requires charging)Stationary use

As you can see from the table, there is no one-size-fits-all solution. For everyday use, the best option is to increase the system timer to 2-5 minutes. This is the middle ground between comfort and autonomy. If the phone is used for specific purposes, such as navigation or demonstration, it is worth resorting to more radical measures.

💡

The optimal strategy is to combine methods: keep the system timer for 2 minutes, and use the Video Box for video.

Solving problems with automatic cancellation

Sometimes users are faced with a situation where the screen goes out even after setting the maximum time, which can be caused by the work of third-party optimizer applications that force the screen to lock down to save energy, ignoring the system settings Xiaomi.

Check out the installed applications in the category of Battery, Memory Cleanup or Antiviruses. Often they have their own sleep timers, and it is also worth checking whether the mode is not turned on "Energy Saving" or "Ultra-Savings", which can force you to reduce the time of the display regardless of your settings.

In rare cases, the problem may lie in the proximity sensor. If it is contaminated or closed with a low-quality protective glass, the phone can "think" what is in the pocket and extinguish the screen. Wipe the top of the screen and check the sensor through an engineering menu or special testing apps.

💡

If the screen goes out too quickly, try turning off Adaptive Brightness. Sometimes the light sensor conflicts with the low-light sleep timer.

In conclusion, managing inactivity time on Xiaomi is a balance between functionality and energy efficiency. Properly configured will allow you to use your smartphone as efficiently as possible in any situation, whether it is a long navigation on the way or watching a movie before bed.

Why does the screen go out in 10 seconds, even though I set 5 minutes?
You’re likely to have Saving Energy on or a third-party optimizer app running, and check if In Your Pocket mode is activated in your lock settings, which may be triggered incorrectly.
Does the constant burning of the screen affect the burnout of the matrix?
Yes, a static image at high brightness over time can cause pixels to burn out, especially on the surface. AMOLED-It is recommended to use dark themes and reduce brightness when stationary use.
Can you make sure that the screen does not go off in just one application?
Yes, it is best to use the “Video Box” function or the built-in settings of the application itself (for example, in navigators or readers, there is often a “Do not turn off the screen” switch).
Are the timer settings reset after the MIUI update?
Usually system settings, including the sleep timer, are saved after the update. However, if the update is major (change the Android version), it is recommended to check the settings again, since resetting to factory values is possible.