How to turn on and configure the proximity sensor on Xiaomi 11 Lite: the complete guide

Xiaomi 11 Lite is a compact and stylish smartphone, but sometimes its owners face a problem: during the call, the screen does not go out when approaching the ear, which leads to accidental pressing, the reason for this is a disconnected or incorrectly working proximity sensor, in this article we will discuss how to activate it, check and fix typical problems.

The proximity sensor in Xiaomi 11 Lite (5G NE and 4G models) is not only responsible for locking the screen during a conversation, but also for optimizing power consumption. If it is turned off, the battery can discharge faster due to the constant display illumination. However, in some firmware (especially custom ones), this feature is deactivated by default. Next, a step-by-step instruction with nuances for different versions of MIUI.

What is a proximity sensor and why you need it

The proximity sensor is an infrared sensor located at the top of the Xiaomi 11 Lite screen (near the front camera) that detects the distance to an object (like your ear) and automatically:

  • πŸ“΅ Turns off the screen during the call to avoid accidental touch;
  • πŸ”‹ Saves battery power by reducing active lighting time;
  • 🎧 Activates hands-free mode when the phone is removed from the face (in some firmware).

The Xiaomi 11 Lite uses a sensor from STMicroelectronics (model VD6283), which is based on infrared radiation, if the sensor is contaminated or damaged, it can malfunction, and problems arise after updating the MIUI or resetting the settings.

⚠️ Note: On some versions MIUI 13+ The proximity sensor may conflict with the Always-on Display function. If the screen does not go out during the call, try turning off the screen. AOD customized.

Where is the proximity sensor on Xiaomi 11 Lite

To check or clean the sensor, first find its location. On the Xiaomi 11 Lite 5G NE and 4G sensor is:

  • πŸ“ Right of the front camera (when looking at the screen);
  • πŸ•³οΈ Under the protective glass - externally looks like a small round hole (diameter) ~1 mm);
  • πŸ” On some models, there is a light sensor and an infrared port nearby.

For visual inspection, take a flashlight and shine it on the top of the screen, and the proximity sensor will slightly shine through in a reddish hue (because of the IR emitter), and if the hole is clogged with dust or covered with film, the sensor may not work.

Xiaomi 11 Lite modelLocation of the sensorSensor type
5G NERight of the camera, under glass.Infrared (STMicroelectronics VD6283)
4GRight of the camera, closer to the edge.Infrared (similar)
SE (Special Editorial)Under camera, downtownCombined (approximity + light sensor)
πŸ“Š Have you ever cleaned the sensors on your smartphone?
Yeah, regularly.
Only if they stopped working.
No, I didn't know it was necessary.
I'm not sure where they are.

How to turn on the proximity sensor through the MIUI settings

In most cases, the sensor is software-enabled to activate it.

  1. Open the Settings. β†’ System system β†’ Additionally.
  2. Select the Approximation Sensor (in some versions of MIUI, the item is called Sensors or Sensor Management).
  3. Activate the switch to turn on the proximity sensor.
  4. Restart your phone (required!) to make the changes effective.

If your MIUI version doesn’t have a separate sensor point, try an alternative path:

Settings β†’ Applications β†’ Application Management β†’ Three Points (menu) β†’ Special Accesses β†’ Sensors

In some firmware (e.g. MIUI 14 Global), the sensor turns on automatically when you first call, and if it turns off again after a call, check the power saving settings:

Open the settings β†’ Battery

Choose Battery Optimization

Find the phone in the list and turn off optimization

Reset the device-->

⚠️ Note: On custom firmware (e.g. Pixel Experience or LineageOS), the path to sensor settings may be different. MIUI, Try using the engineering menu (described below).

Checking the operability of the proximity sensor

Before you set up the sensor, make sure it's working.

  1. Open the Phone app and dial ##6484## (sensor test).
  2. In the menu, select Proximity Sensor.
  3. Close the sensor with your hand – the screen should go out, and the value should change from 5 (far) to 0 (close).

If the test doesn't work:

  • 🧹 Clean the sensor hole with a soft brush or compressed air;
  • πŸ”„ Update. MIUI Up to the latest version (sometimes bugs are patched);
  • πŸ› οΈ Reset the settings to factory (if the problem has appeared after the update).

For a deeper diagnosis, use the apps from Google Play:

  • πŸ“± Sensor Test – Shows the values of all sensors in real time;
  • πŸ” Hardware Info – displays technical data of sensors;
  • πŸ“Š CPU-Z β€” checks supported sensors.
What if the sensor shows "N/A" in the test?
If the sensor is displayed as "N/A" in the engineering menu or applications, this may mean: 1. Hardware malfunction - the plume or the sensor itself is damaged. 2. No driver in the firmware (relevant for custom ROMs). 3. Locking by MIUI (for example, in regional versions for Europe), in such cases only the service center or reflashing to the official global version of MIUI will help.

Enabling the sensor through the engineering menu (for power users)

If standard settings don’t work, try activating the sensor through an engineering menu (CIT) that is suitable for advanced users and requires caution.

  1. Open the Phone app and type ##4636##.
  2. Select Testing β†’ Single Item Test from the menu.
  3. Scroll down to Proximity Sensor and click.
  4. If the sensor is inactive, enter a command through ADB: adb shell settings put system proximity_delay 0

To reset the sensor calibration, use the command:

adb shell settings delete system proximity_offset

Then restart your phone. If the engineering menu is not available (the code is not working), then your version of MIUI is blocking it, in which case only manual editing of the build.prop file (requires root rights) will help.

πŸ’‘

Before use ADB-teams make sure that the PC installed Xiaomi drivers and enabled debugging USB in the developer settings (Settings) β†’ The phone. β†’ Version. MIUI β€” press 7 times).

Frequent problems and their solutions

Even after turning on, the proximity sensor on the Xiaomi 11 Lite may not work properly. Let’s consider typical scenarios and ways to eliminate them:

Problem.Possible causeDecision
The screen does not go out during the call.Sensor contaminated or closed with filmClean the sensor hole, remove the protective glass
Sensor is delayed.Incorrect calibration in MIUIReset the sensor settings through the engineering menu
The sensor only works after restarting.Conflict with battery optimizationDisable optimization for the phone application
The sensor shuts down on its own.Firmware failure or virusUpdate MIUI or reset your settings

If the sensor stopped working after the phone fell, the plume or the sensor itself is likely damaged, in which case only a replacement at the service center will help, the average cost of repair is from 1,500 to 3,000 rubles (depending on the model and region).

πŸ’‘

On the Xiaomi 11 Lite, the proximity sensor often conflicts with the β€œRaise to Wake Up” function. If the screen does not go out during the call, turn off this option in the Display settings β†’ Raise to wake up.

Alternative ways to control the screen during a call

If the proximity sensor is not working and repair is temporarily impossible, use alternative methods:

  • πŸ“± Manual lock: during the call, press the power button to turn off the screen;
  • πŸ”„ Loud Communication: Activate it before you hold your phone to your ear;
  • πŸ€– Substitute applications: Proximity Sensor Fix emulates sensor performance; Sensor Test & Fix calibrates sensors.

Note that third-party applications can drain the battery and conflict with MIUI. Use them only as a temporary solution.

⚠️ Note: Some sensor emulation applications require availability permission (Settings) β†’ Be careful, these permits can be used to monitor your activities.

FAQ: Frequent questions about the proximity sensor on Xiaomi 11 Lite

πŸ”Ή Why the approximation sensor doesn't work after the update MIUI?
Updates sometimes reset sensor settings or make errors in drivers. Try: Reset the Phone app settings (Settings β†’ Apps β†’ Phone β†’ Storage β†’ Clear Data); Reverse the update via Settings β†’ About Phone β†’ System Update β†’ Three Points β†’ Select the Service Pack; Install the full firmware package via MIUI Recovery.
πŸ”Ή Can I calibrate the proximity sensor myself?
Yes, but only through the engineering menu or ADB. For manual calibration: Enter in the phone app ##6484###; Select Proximity Sensor; Press Calibrate and follow the instructions (usually close the sensor with your hand for 5 seconds). If the Calibrate option is missing, then your version of MIUI does not support it.
πŸ”Ή Does the cover affect the operation of the proximity sensor?
Yes, especially if the case has high sides or metal inserts. Check: does the case cover the top of the screen; is there any magnets near the sensor (they can interfere with the IR sensor); is not too thick glass on the screen (optimal thickness is up to 0.3 mm). If the problem is in the case, try using a model with a cutout for sensors.
πŸ”Ή How to check if the proximity sensor is turned on without a call?
There are several ways: Use the test menu (##6484##); Install the Sensor Test app and check the readings in real time; Hold your hand to the top of the screen while unlocking - if the sensor is working, the button backlight may go out for a while.
πŸ”Ή Can a virus turn off the proximity sensor?
Theoretically, yes, if the virus has been granted a superuser (root) license, but in practice, it's extremely rare, most likely the problem is: MIUI failure after the upgrade; battery optimization conflict; hardware malfunction; check the phone for viruses with Dr.Web or Malwarebytes.