How to turn off the screen when lifting Xiaomi

Many Xiaomi smartphone owners face a situation where the display lights up at the most inopportune moment, such as when removing the device from your pocket or simply raising your hand.This feature, designed to facilitate access to notifications, often causes unnecessary energy consumption and accidental pressing.

In the MIUI operating shell and the new HyperOS, a special sensor is responsible for this, which responds to the change in position of the case in space. Unfortunately, there is no single “Switch off all” button for this action, because different system services are responsible for the response of the screen depending on the firmware version. Understanding what mechanism causes the awakening is the key to solving the problem.

In this article, we will discuss in detail all possible causes of activation of the display when driving, we will consider the settings of the “pocket mode”, the operation of the proximity sensor and the specific locking functions, you will learn to fully control the behavior of your gadget and prevent unnecessary lighting.

Causes of spontaneous activation of the display

The first step to solving this problem is to understand what exactly makes the screen light up, and in today's Xiaomi smartphones, a set of sensors, including an accelerometer and a gyroscope, are responsible for this, and when you pick up the phone, these components detect the change in the gravity vector and send a signal to the system that the device is in motion and possibly in front of the user.

The second reason is often called “pocket mode” (Pocket Mode), which is designed to protect against random calls in your pocket, but it works preventively: the phone constantly scans the space in front of the screen. If the light or proximity sensor detects a sharp change in conditions (for example, you took the phone from a dark pocket into the light), the system wakes the screen, assuming that you want to look at the notifications.

It's also worth considering third-party apps and widgets. Some gesture control programs or smart screen blockers can intercept sensors. They may have their own sensory settings that conflict with Android system settings. So if standard methods don't work, it's worth checking out the list of recently installed utilities.

  • 📱 The proximity sensor responds to the removal of an object (arm or tissue) from the upper part of the body.
  • 🔄 The system function “Raise for activation” is built into the launcher and lock menu.
  • 🔋 Background processes can wake up the screen to check for new messages when position changes.

⚠️ Warning: If the screen lights up in your pocket and unlocks, it can lead to a "pocket dial" of numbers or sending messages. Make sure you have a secure lock installed, such as a pattern lock or a fingerprint.

It's important to distinguish between software failure and physical failure, and if the screen lights up on its own, even when the phone is still on the table, it may be a sensor that has stuck or the plume is damaged, but most of the time it's about the software logic of the shell that you can reconfigure.

Setting up the mode in the pocket in MIUI and HyperOS

The most common culprit is the pocket protection feature, which activates the screen when you take out your phone so you can quickly see the time or answer a call, and to turn off this behavior, you need to find the appropriate switch in the system settings, and the path to it may vary slightly depending on the version of MIUI.

Go to the main settings menu and select "Screen lock" section, where you can find the basic control options for the display in sleep mode, find "Pocket mode" (or "Pocket mode"). If the slider is active, the system will respond to changes in lighting and movement, simulating the extraction from the pocket, disabling this feature will stop the reaction to such actions.

In some firmware versions, this option can be hidden in advanced lock settings. If you don't see the switch right away, try clicking on three dots in the corner of the screen or selecting "Additional Settings." It's also worth checking the "Special Features" section, where gesture management functions are sometimes duplicated.

☑️ Checking the settings of pocket mode

Done: 0 / 4

Once the function is turned off, the phone will stop automatically turning on the screen when the lighting changes dramatically, which is especially useful if you are carrying the smartphone in transparent cases or bags where the light sensor can respond to external sources.

Managing the function "Raise for activation"

A separate setting that is common in Xiaomi smartphones is the Raise to wake feature, which responds exclusively to the physical movement of the device from a horizontal to a vertical position, which is convenient for viewing time, but can be intrusive.

To find this setting, look again at the "Block Screen" section. Look for a paragraph called "Raise to Activate" or "Activate when lifting." In older versions of MIUI, this option could be in the "Advanced" menu inside the lock section. In HyperOS, the logic of the arrangement of elements is retained, but the interface has become more minimalistic.

If you can't find it in the standard menu, your smartphone model or shell version may not support software shutting it down through this path, so check the Always On Screen (AOD) section. Often the lift function is related to the constant display of time mode. By disabling AOD or setting its schedule, you can indirectly affect the behavior of the motion sensor.

Why isn't there a shutdown button?
In some regions and on certain models (especially Chinese firmware versions), the screen lift function is hard-stitched into the system launcher and does not have a custom switch, in which case only installing a third-party screen locker helps.

It's worth noting that completely turning off the lift response can make it less convenient to use your phone at night, you'll lose the ability to look at your watch quickly just by picking up your phone, but if your goal is to maximize battery savings and avoid false positives, that's a necessary sacrifice.

Adjustment of the proximity sensor and calibration

Sometimes the problem is not the settings, but the proximity sensor itself, if it sees an obstacle where it's not, or if it doesn't respond to the hand, the screen will behave in an unpredictable way. To solve this problem, Xiaomi has an engineering menu for testing and calibrating the sensors.

To enter the test mode, open the Phone app and type a special code. Enter ##6484## on the dial keyboard. This action will open the CIT (Customer Integration Test) engineering menu. In the list that appears, find the "Proximity sensor" item.

Inside the test, you'll see the current sensor readings. Close the top of the screen with your hand, the value should change from 5.0 to 0.0 (or vice versa, depending on the version of the test). If the values do not change or jump randomly, press the Calibration button and follow the instructions on the screen.

ParameterNormal value.When closingFailure action
Distance (Distance)5.0 cm0.0cmSizing
Status (Status)Near (Close)Far (far away)Reboot.
Raw Data (Raw Data)Stable.Changes.Resetting settings

Once you have successfully calibrated, be sure to restart the device, which will allow the system to apply new sensitivity factors. If the calibration does not help and the sensor continues to fail, it may be a hardware problem, for example, contamination of the protective glass or damage to the plume after falling.

Using third-party applications to block

If the built-in system fails to turn off the screen when lifting, applications from the Google Play store will come to the rescue. There are many utilities that intercept sensor control and allow you to create your own lock scenarios, which gives you more flexible control than the standard shell.

One popular solution is the Screen Off and Lock app, or similar screen blockers, which lets you set up to ignore the lift sensor at specific geolocations or at a given time, for example, you can allow the screen to be activated during the day, but you can block it at night so that the phone doesn't glow in the bedroom.

  • 🛡️ Black Screen – an application that allows you to completely turn off the screen in a software way, ignoring system interruptions.
  • 🔒 MacroDroid is a powerful automation utility where you can create a macro: If the device is raised and time is night → Do not turn on the screen».
  • ⚙️ Button Mapper – allows you to reassign the actions of buttons and sometimes intercept awakening events.

⚠️ Warning: Third-party screen blockers require special permissions (accessibility service) to work correctly.Be careful when granting such permissions to unknown applications, as they gain a high level of control over the device.

Using these apps can slightly increase battery consumption in the background, as they must constantly monitor the state of the sensors, but for many users this becomes the only way to achieve the desired behavior of the smartphone when the standard MIUI settings are not flexible enough.

📊 How you fight false screen inclusions?
Shutting down all sensors.
I'm using third-party software.
Habitual and ignorant.
Changing my phone to another brand

Additional methods of energy saving

In addition to turning off the lift function, you should pay attention to other settings that affect the frequency of the display activation. For example, the Always On Display function can be configured to show information only when the phone is raised. If you turn off the lift response, but the AOD remains active, the screen can still light up.

Check your schedule settings for AOD. Set a time frame for when the screen should be active, or select 10 seconds after touch. This will prevent the backlight from burning constantly. Also, in Battery -> Energy Savings, you can find restrictions on the background activity of applications that can wake the screen.

💡

Tip: For maximum autonomy, use the “Dark Theme” in combination with the disabled AOD. Nana AMOLED-Xiaomi’s black pixels do not consume energy, which significantly prolongs the life of the battery.

Remember to update the system. With newer versions of MIUI and HyperOS, Xiaomi engineers often fix bugs in the sensor algorithms. If your problem is a software bug, the update can solve it without the need for complex settings. Check for updates in the About Phone menu.

In conclusion, controlling the screen when lifted is a balance between convenience and savings. By completely turning off all sensors, you'll make the phone less "smart," but you'll get rid of the excess light in your pocket and keep the charge. Choose a configuration that suits your style of use.

💡

An integrated approach to setting up sensors allows not only to save the battery, but also to prevent accidental actions, making the use of the smartphone more predictable.

Frequently Asked Questions (FAQ)

Why does the screen light up even when I have turned off all settings?
This can be caused by a particular application that takes precedence over system settings, or a high-priority notification. Also check if the exception-free Do Not Disturb mode is on, which can wake the screen when calls from favorite contacts are made.
Does the protective glass affect the approach sensor?
Yes, poor-quality or too thick protective glass, as well as films covering the top of the screen, can distort the readings of the sensor, which leads to the fact that the phone “thinks” that it is in the pocket or, conversely, is constantly active.
Can I turn off the proximity sensor completely?
You can’t completely disable the hardware sensor through the standard menu, as it is necessary for conversational mode (turning off the screen during a call), but you can programmatically ignore its signals to activate the screen using third-party applications.
Will the sensor calibration reset my personal data?
No, calibrating sensors through the ##6484## engineering menu only affects the sensor system settings, your photos, contacts and applications will remain safe, but it is recommended to back up before any manipulation of the system.