Have you ever wondered why your Xiaomi Redmi screen goes out during a phone call as soon as you hold the device to your ear? Or why sometimes touch buttons don't respond when you call? All of this is due to a tiny but crucial component, the proximity sensor, without which using your smartphone would be not just uncomfortable, but sometimes impossible.
In this article, we will analyze in detail what is the proximity sensor in Xiaomi Redmi smartphones, how it is arranged, what functions it performs and why its malfunction can turn even the flagship device into a βbrickβ. You'll also learn how to test the sensor for yourself, calibrate it, and fix the typical problems without going to the service center. MIUI, Which most users donβt even know about!
What is a proximity sensor and how does it work
The proximity sensor is an optoelectronic device that detects the presence of an object (like your ear or hand) close to the screen of a smartphone. In Xiaomi Redmi smartphones, it is usually located at the top of the display, next to the front camera and light sensor, and its operation is based on infrared radiation:
The sensor emits an IR beam that bounces off nearby objects and returns back, and depending on the time of delay and the intensity of the signal reflected, the smartphone "understands" how close the obstacle is. If the object is too close (for example, when you hold the phone to your ear), the system automatically turns off the screen and touch buttons to:
- π΅ Prevent accidental tapping during conversation (cheek, ear, or fingers).
- π Save battery power, as the backlight of the screen is one of the main "eaters" of energy.
- π Improve sound quality, as the microphone better captures voice when the screen is off.
- π‘οΈ Protect the display from scratches and prints that may remain with prolonged skin contact.
In smartphones Xiaomi proximity sensor is closely integrated with firmware MIUI. Algorithms for processing its signals are constantly being improved, for example, in the new models of Redmi Note 12 and Redmi. K60 Support for dynamic calibration is added, which automatically adjusts the sensor sensitivity to environmental conditions (bright sun, darkness, humidity).
Where is the proximity sensor in Xiaomi Redmi
The location of the sensor depends on the model of the smartphone and the design of its front panel.In most Xiaomi Redmi devices (for example, the Redmi Note). 10/11/12, Redmi 9/10/11) It's located to the right of the front camera, under the display glass. In models with a cut-out under the camera ("drop"), the sensor is usually hidden behind a black strip next to the speaker. K50) It can be found under the screen, just to the left of the lens hole.
To accurately determine the location of the sensor on your model, follow the following steps:
- Enable Developer Mode (Go to Settings) β The phone. β Version. MIUI and press 7 times in a row).
- Return to the main settings and open Additional settings β Developer settings.
- Activate the Debugging option USB Visualization of the boundaries of elements.
- Run any call (you can call another phone) and hold your hand to the top of the screen, the area where the screen goes out is the sensor's range.
In some models (e.g. Redmi). 8A Or Redmi 7, the proximity sensor can be combined with the light sensor in a single module, which saves space, but sometimes leads to conflicts in operation β for example, the screen can spontaneously go out when the lighting changes.
π‘
If you have a smartphone with AMOLED-screen (e.g. Redmi) K40 Or the Redmi Note 11 Pro.+), The proximity sensor can be hidden under the display, and in this case, it's not visible visually, but the range remains the same -- upper right corner.
Why you need a proximity sensor: 5 key functions
Many users mistakenly believe that the proximity sensor is only used to turn off the screen during a call, but in fact, its tasks are much broader.
| Function | How it works | Examples of use |
|---|---|---|
| Turning off the screen during the call | It extinguishes the display and blocks touch taps when approaching the ear | Prevents accidental pressing of buttons with the cheek or ear |
| Activation of the Ear mode | Increases the volume of the speaker and optimizes the microphone for conversation | Improves hearing in noisy places (street, transport) |
| Savings in battery charge | Turns off the screen light when you donβt need it. | Increases the conversation time on 15-20% (according to Xiaomi) |
| Protection against pocket pressing | Locks the screen if the smartphone is in your pocket or bag | Prevents accidental calls, camera or app launches |
| Integration with gestures | Recognizes the approach of the hand to activate hidden functions | Turning on a flashlight or camera with a wave of the hand (in some models) |
Interesting fact: in the firmware MIUI 14, a smart approximation feature that analyzes user habits, for example, if you often pull your phone away from your ear to look at the screen while you're talking, the system automatically reduces the sensor sensitivity so that the screen doesn't go out immediately.
β οΈ Note: If the proximity sensor fails, the smartphone will behave unpredictable β the screen can go out arbitrarily, do not respond to touches or, conversely, remain on during the call. Not only is this annoying, it also leads to quick battery discharge (up to 30% per hour of talk!) and the risk of accidental tapping.
How to check the proximity sensor on Xiaomi Redmi
If you notice that your Redmi screen is acting strangely (it doesnβt go out when you call, it turns off spontaneously or it reacts with a delay), the first thing you need to do is check the operability of the proximity sensor.
Method 1: Testing through the Engineering Menu
This is the most reliable method, because it shows the raw data from the sensor.
Open the phone app and dial ##6484##
Select Proximity Sensor (Proximity Sensor)
Put your hand to the top of the screen β the value should change from 5.0 cm to 0.0 cm
Remove your hand β the value should return to 5.0 cm
If the numbers do not change or show incorrect data, the sensor is defective.-->
In some models (e.g. Redmi). 9A or Redmi 8) the engineering menu code may differ:
- ##4636## β Testing of equipment β Sensors.
- #36446337## (for older versions of MIUI)
Method 2: Checking through applications
If the engineering menu is not available, use third-party utilities:
- π± CPU-Z (Sensors section β shows the status of all sensors.
- π Sensor Test β a specialized diagnostic application.
- π οΈ MIUI Hidden Settings β reveals hidden firmware features.
Important: Check reviews before installing apps β some utilities may contain ads or collect data. Official applications from Xiaomi (such as Mi Check) are safe, but their functionality is limited.
Method 3: Visual Testing
If you donβt have access to the engineering menu, try this method:
- Call another phone (or use a voice assistant).
- Hold the Redmi to your ear β the screen should go out through the ear. 1-2 seconds.
- Remove the phone β the screen should turn on immediately or after pressing the power button.
- Repeat the action. 3-5 If the screen is delayed (more than 3 seconds) or not switched back on - the sensor requires calibration.
β οΈ Note: On some models (e.g. Redmi Note 8 Pro), the proximity sensor may conflict with the film or glass on the screen. If you recently put on the protection, try removing it and repeating the test. Thick or poor quality films block the infrared signal!
Typical problems of the proximity sensor and their solutions
Even with the new Xiaomi Redmi smartphones, the proximity sensor can malfunction, and here are the most common problems and ways to fix them:
Problem 1: The screen does not go out during the call
Reasons:
- π§ Sensor contaminated (dust, sweat, cosmetics).
- π± Damaged plume or contacts after falling.
- π€ Firmware failure (especially after update) MIUI).
- π‘οΈ Disabled function in settings.
Decisions:
- Wipe the top of the screen with an alcohol napkin (without pressing!).
- Check the settings: Settings β System applications β Phone. β Turn off the screen during a conversation (should be turned on).
- Reset the sensor settings: ##6484## β Proximity Sensor β Calibrate.
- If nothing helps, you need to replace the sensor (cost in the service: 800-1500 ruble).
Problem 2: The screen goes out too soon or too late
It's due to incorrect calibration.
Open the engineering menu (#6484##)
Choose Proximity Sensor
Press Calibrate (Calibrate)
Put your hand away from the screen. 3-5 once-in-the-system
Reboot your smartphone-->
If calibration doesn't help, try resetting the settings. MIUI (without deleting data: Settings β The phone. β Resetting settings.
Problem 3: The sensor is activated arbitrarily
This is most often due to:
- π± Magnet case (magnetic field interferes with sensor).
- π§ Moisture under the screen (after rain or bathing).
- π Overheating of the processor (the sensor begins to "glutch" at a temperature above 50)Β°C).
Decisions:
- Remove the case and check the sensor.
- Put your phone in rice or silica gel on 12-24 hour (if moisture is involved).
- Use the Cool Tool app to cool the processor.
What to do if the sensor is completely broken?
Hidden functions of the proximity sensor in MIUI
Few people know, but the proximity sensor in Xiaomi Redmi can be used not only to turn off the screen. MIUI hidden-in:
1. Quick flashlight activation
In some models (for example, Redmi Note 10 Pro) you can adjust the activation of the flashlight with a gesture:
- Go to Settings β Additional settings β Gestures.
- Turn on the flashlight option when approaching.
- Now, to turn on the flashlight, it is enough to swipe your hand twice above the top of the screen (where the sensor is located).
2. Automatically answer the call
The "Rise to Answer" function uses the proximity sensor and accelerometer:
- π Included in Settings β System applications β Phone. β Answer automatically.
- π€³ It works like this: when you hold your phone to your ear during an incoming call, it will automatically pick up the phone.
3. hidden mode "Do not disturb" during a conversation
If you receive a notification during the call, the proximity sensor can automatically:
- π Turn off the notification sound.
- π΅ Block pop-ups.
- π΄ Dim the vibration.
To activate this function, go to Settings β Notifications β Don't disturb mode" β Automatic rules β During the call.
π‘
The proximity sensor in Xiaomi Redmi is not only a tool for saving battery, but also the key to hidden capabilities. MIUI. Proper setting allows you to automate routine actions and make using a smartphone even more convenient.
How to turn off the proximity sensor (and whether it is worth it)
Some users want to turn off the proximity sensor because they think it's "interfering," but it's not recommended, because without the sensor, you'll have to:
- π΅ Accidental taps during a conversation (the cheek may activate a speakerphone or complete a call).
- π Accelerated battery discharge (the screen will burn in vain).
- π Deterioration of communication quality (microphone will be worse to catch voice).
If you still want to turn off the sensor, do it through the engineering menu:
- Dial ##6484##.
- Select Proximity Sensor.
- Press Disable (Disable).
Alternative way (for root users):
su
echo 0 > /sys/class/sensors/proximity/enableβ οΈ Warning: Disabling the proximity sensor may cause some functions to malfunction MIUI, For example: - Automatic answer to a call. - Gestures for a flashlight or camera. - Ear mode to improve sound. To return everything back, restart the phone or re-activate the sensor in the engineering menu.