Xiaomi Mi 9 Lite is a popular mid-range smartphone launched in 2019 that still remains relevant today due to its balanced performance and robust hardware platform. One of the key elements to ensure the userβs comfort is the proximity sensor, which is a small but important component responsible for automatically turning off the screen during phone calls, preventing accidental pressing and saving battery power.
Many users experience problems when the sensor stops working correctly: the screen does not go out when you hold the phone to your ear or, conversely, it turns off for no reason, often due to pollution, damage or improper settings. In this article, we will discuss in detail where the proximity sensor in the Mi 9 Lite is located, how it works, and provide practical tips for diagnosis and troubleshooting.
Physical location of the proximity sensor in the Mi 9 Lite
In the Xiaomi Mi 9 Lite, the proximity sensor is integrated into the top of the screen, next to the front camera and speaker, specifically to the right of the speaker, under the glass panel of the display, and visually it cannot be distinguished with the naked eye, since it is hidden under a black masking mesh (called a βcurtainβ), which also covers the front camera and the illumination sensor.
If you look at the front panel of the smartphone, the proximity sensor is located in the following order (left to right):
- π Talking speaker (grid with small holes)
- π· Front camera (20 MPP, f/2.0)
- π¦ Sensor of approach and illumination (under a black strip)
- π‘ LED indicator (if present in the modification)
Importantly, the Mi 9 Lite uses an infrared proximity sensor that relies on the reflected signal, and it emits an invisible infrared ray and analyzes its reflection from objects near the screen, and if the sensor is contaminated or closed with film/glass, its operation may be disrupted.
π‘
To pinpoint the location of the sensor, turn on the engineering menu on the phone (code ##6484##) and select Proximity Sensor. Covering the upper right side of the screen, you will see the change in values in real time.
How the proximity sensor is arranged: the principle of operation
The Mi 9 Lite proximity sensor consists of two main elements:
- Infrared emitter (IR LED) emits a light signal invisible to the human eye.
- Photodiode (receiver) - captures the signal reflected from objects and converts it into an electrical impulse.
When you hold your phone to your ear while you're talking, the IR beam bounces off the surface and back to the photodiode. The microcontroller analyzes the intensity of the reflected signal and, if it exceeds the threshold, sends a command to turn off the screen. The response distance is usually 2-5 cm, but can vary depending on the firmware settings.
| Parameter | Value for Mi 9 Lite | Note |
|---|---|---|
| Type of sensor | Infrared (IR) | Uses an LED and a photodiode |
| Response range | 2-5 cm | Depends on the firmware and lighting conditions |
| Location. | Top right side of the screen | Under the black masking strip |
| Sensitivity | Regulated programmatically | You can change it through the engineering menu. |
In the Mi 9 Lite, the proximity sensor is paired with the light sensor in the same module, but they operate independently of each other, which means that if the proximity sensor stops functioning, the light sensor can continue to adjust the brightness of the screen correctly, and vice versa.
Signs of malfunction of the proximity sensor
If the proximity sensor in your Mi 9 Lite has started to malfunction, you may see the following symptoms:
- π΅ The screen does not go out when you bring the phone to your ear during a ringing.
- π The screen is spontaneously turned on/off for no reason.
- π³οΈ Touch buttons are highlighted during the conversation (if the function "Disable button lighting" is disabled").
- π Fast battery discharge (if the sensor is constantly active due to a failure).
- π± Hanging or lags when using approximation functions (e.g., βLifting to wake up").
Most often, problems arise due to:
- π§΄ Sensor contamination (dust, fat, film glue residues).
- π‘οΈ Damage to glass or protective netting (cracks, chips).
- π§ Software failure (after updating or resetting settings).
- π Faulty plume (after disassembling the phone or falling).
β οΈ Warning: If the proximity sensor stops working after a phone drop or moisture hits, do not try to disassemble the device yourself, in this case, the probability of damage to the plume or chip is high, and professional diagnosis is required.
How to check the operability of the sensor of approach
Before you start repairing or settings, you need to make sure that the problem is really related to the sensor.
Method 1: Testing through the Engineering Menu
The most reliable way to check is to use a hidden engineering menu.
- Open the phone app.
- Enter the combination: ##6484## (for MIUI 12 and later).
- Select the option "Proximity Sensor".
- Cover the top of the screen with your hand β the value should change from β5β (no obstacle) to β0β (there is an obstacle).
Method 2: Checking through applications
If the engineering menu is not available, you can install third-party utilities, for example:
- CPU-Z (Sensors section).
- Sensor Test (shows the status of all sensors)
- Phone Doctor Plus (testing hardware components)
Method 3: Visual examination
Take a close look at the top of the screen for:
- π Cracks or chips on the glass above the sensor.
- π§Ό Pollution (dust, fatty spots).
- π± Films or glass covering the sensor (especially if it is metallized).
βοΈ Diagnostics of the proximity sensor
What to do if the proximity sensor is not working
If tests have confirmed a sensor malfunction, you can try the following ways to solve the problem:
1. Sensor cleaning
Often the cause is pollution.
- π§· Use a soft brush or cotton swab soaked in alcohol.
- π« Donβt press hard β you can damage the glass.
- π After cleaning, restart the phone.
Calibration of the sensor
In some cases, software calibration helps:
- Go to Settings β About Phone β MIUI version.
- Click on MIUI Version 7-10 times to activate the developer mode.
- Back to Settings β Additionally. β For developers.
- Find the item "Calibration of the proximity sensor" and follow the instructions.
3. Resetting settings
If the problem occurs after the update, try resetting the settings:
- π Settings β System system β Resetting settings β Reset all settings.
- π± Do not reset to factory unless you have made a backup copy!
Replacement of the sensor
If the sensor is physically damaged, it needs to be replaced. In the Mi 9 Lite, it is soldered into the tail of the front camera, so you can't replace it separately, you have to change the entire module. Average repair cost in service centers: 1,500-2,500 β½.
What if the sensor is not working properly after the display is replaced?
Frequent questions and user errors
When working with the proximity sensor, users often make mistakes that can exacerbate the problem, and consider the most common ones:
Mistake 1: Using metallized glass
Many of the security glasses have a metal spray that blocks the infrared signal, so if the sensor stopped working after the new glass was labeled, try:
- π Make sure there is a cutout in the sensor area.
- π± Replace glass with a model without metallization.
Error 2: Disabling the sensor in the settings
Some firmware has the option of turning off the proximity sensor.
- π Settings β Calls. β Proximation sensor (to be switched on).
- π§ In the engineering menu (#6484##) PS Calibration should be active.
Mistake 3: Wrong firmware
If you have installed custom firmware (like LineageOS or Pixel Experience), the sensor may not work properly due to the lack of drivers.
- π Back to the official. MIUI.
- π₯ Find firmware with support for all sensors for your model.
β οΈ Note: If you notice that the proximity sensor is triggered too early (for example, when the phone is tilted), this may be due to increased sensitivity. In the engineering menu (#6484###), you can reduce the threshold value of the parameter. PS Threshold (optimal value: 3-4).
FAQ: Answers to popular questions
Can I turn off the proximity sensor on the Xiaomi Mi 9 Lite?
Why does the proximity sensor only work in bright light?
How much does it cost to replace the proximity sensor in the Mi 9 Lite?
Can I replace the proximity sensor myself?
How to check if the proximity sensor is working without a call?
π‘
If the proximity sensor in the Xiaomi Mi 9 Lite has stopped working, 80% of the time the problem is solved by cleaning, calibrating or resetting the settings. Physical replacement is required only if the plume or module is mechanically damaged.