How to make the screen Xiaomi fade when calling: 5 proven ways

Are you tired of Xiaomi’s screen being turned on while making calls, accidentally pressing buttons with your cheek or wasting battery power? This is a problem familiar to many owners of Redmi, POCO and other brands. By default, MIUI doesn’t always handle the proximity sensor correctly, which causes the display to continue to glow even when the phone is pressed to your ear.

In this article, we will discuss all working ways to turn off the screen when calling – from standard settings. MIUI to hidden Android features and third-party apps. MIUI 14/15 Android 13/14, But most of the techniques are also available on older versions. AMOLED-screens, where constant illumination during a conversation significantly reduces battery life.

Why does Xiaomi’s screen not go out when you call?

Before we get to the solution, it's important to understand why the failure is happening, and 80 percent of the time, it's because of:

  • πŸ”Ή Approximation sensor malfunction – contamination, damage, or software failure prevents the sensor from detecting that the phone is pressed against the ear.
  • πŸ”Ή Transparent film or cover – some accessories block the infrared signal of the sensor.
  • πŸ”Ή Disabled power saving settings β€” MIUI can ignore the sensor if the performance mode is activated.
  • πŸ”Ή Application conflict – third-party launchers or call management programs intercept sensor signals.

On Xiaomi 12/13/14 and Redmi Note 11/12, there is a frequent bug when the screen goes out with a delay of 2-3 seconds. This is due to the optimizations of MIUI 14+, where the proximity sensor is paired with a gyroscope to save energy. If your smartphone behaves like this, the problem is solved by calibrating the sensor (more on this below).

⚠️ Note: On devices with mechanical buttons (e.g. Redmi) 9A) The proximity sensor may be physically absent, in which case the screen will not go out when calling by default - you will need third-party software.

Method 1: Enabling the proximity sensor in the MIUI settings

The most obvious, but often ignored, method is to check the basic settings, and even if the sensor is on, it can be disrupted after the system update.

To activate or restart the sensor:

  1. Open the Settings β†’ Display.
  2. Scroll down and select the Approximation Sensor (on some firmware, the item is called Automatic Screen Shutdown).
  3. Make sure the switch is in the on position.
  4. Press Sensor Calibration and follow the instructions on the screen (usually close the top of the phone with your hand for 5 seconds).

If the Approximation Sensor is not on the menu, your model does not support hardware shutdown of the screen, in which case you go to Method 3 (using third-party applications).

Sensor enabled in settings

Calibration completed

There is no crack or film on the screen that blocks the sensor.

The phone does not overheat (when overheating, the sensor turns off)

-->

Method 2: Configure through the engineering menu (for advanced)

If standard settings don't work, you can manually activate the sensor through the engineering menu, which requires caution, because incorrect changes can disrupt the phone.

Instructions for Xiaomi on Qualcomm processors (most Redmi and POCO models):

1. Open the Phone app and enter the code:
   #6484## (or #4636## on some firmware)


2. Select "Hardware Testing" β†’ "Sensor Test".




3. Find the item "Proximity Sensor" and click on it.




Check the values:




When the sensor is open (nothing closes the top) it should be "5.0 cm" or "Far".




When closed (cover with your hand) - "0.0 cm" or "Near".




5. If the values do not change, the sensor is defective.

To reset the sensor settings in the engineering menu:

1. Go back to the main menu and select "Device Test".


2. Find the Proximity Sensor Calibration.




3. Press Calibrate and wait for the process to be completed.

⚠️ Attention: On some firmware MIUI The engineering menu is locked. If the code doesn't work, try using the app. MTK Engineering Mode (for MediaTek processors) or Qualcomm USB Drivers to unlock.

What to do if the engineering menu is not opened?
If the code ##6484## It doesn't work, try it: 1. Install DevCheck app and check supported codes for your model. 2. Connect your phone to the PC and use it ADB-Command: Adb shell am start -a android.intent.action.MAIN -n com.android.settings/.TestingSettings 3. On the firmware MIUI Global engineering menu may be hidden – you will need to flash on EU-version.

Method 3: Using Third-Party Applications

If the hardware methods don't work, third-party utilities will come to the rescue.

AnnexFunctionsPlusesCons
Proximity ServiceForced shutdown of the screen by the sensor, delay settingWorks without root, low power consumptionAdvertising in the free version
Screen Off and LockTurning off the screen by timer or gestureWidget for quick access, support for AutomateIt doesn’t always work well with MIUI.
Proximity Screen OffTurn off the screen when approaching, adjust sensitivityMinimalist interface, no advertisingRequires permission to access calls

We recommend Proximity Service – it is specially optimized for Xiaomi and can bypass the limitations of MIUI.

  1. Launch the application and grant permissions to Calls and Sensors.
  2. Enable the Enable Proximity Service option.
  3. In the Call Settings section, set Screen Off Delay to 0 ms.
  4. Add the application to Auto Run (in MIUI settings: Applications β†’ Permissions β†’ Auto Run).

πŸ’‘

If the app doesn’t work after the MIUI update, clear its cache in Android settings and restart the phone. Also check if Security is blocking it β†’ Battery Optimization.

Method 4: Configure with ADB (without root)

For users willing to work with ADB, there is a way to force the screen to turn off without superuser rights, a method that is suitable for Xiaomi on Android 10+.

What you need:

  • πŸ–₯️ Computer with installed ADB Tools.
  • πŸ“± Included Debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times to press to unlock the developer mode, then additionally β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ Cable USB (preferably original).

Step-by-step:

1. Connect your phone to your PC and open the command prompt (Windows) or terminal (macOS/Linux).


2. Enter a command to check the connection:




adb devices




(The name of your device should appear)




3. issue permission to turn off the screen:




adb shell settings put global proximity_delay 0




4.Reset the phone:




adb reboot

If the screen still doesn’t go out after the reboot, try an alternative command:

adb shell settings put secure proximity_screen_off 1

⚠️ Attention: On some firmware MIUI alteration ADB They are reset after the system update. To fix the result, create a task in Automate or Tasker, which will re-use the command every time you call.

Standard settings of MIUI

Engineering menu

Party of annex

ADB-team

I haven't tried it yet.-->

Method 5: Manually shutting down the screen by gesture (alternative)

If none of these things worked, you can set up a gesture to turn off the screen during the call, and it doesn't automate the process, but it does eliminate random taps.

How to set up:

  1. Go to Settings. β†’ Additionally. β†’ Gestures.
  2. Choose Double Touch to lock (or Swipe down the screen on new models).
  3. Turn on the option and test during the test call.

On POCO F4/F5 and Xiaomi 13T, there is a hidden feature called Show Lock button in the call interface to activate it:

Enter the code in the appendix "Telephone":
   #64663## (test menu opens) HFP).


2. Select Show Lock Button β†’ Enable.




3. Reboot the phone.

In the models with AMOLED-screens (for example, Xiaomi 12 Pro or Redmi) K50) Double-touch gesture may not work due to Always-On Display. AOD screen-setting.

Frequent Mistakes and How to Avoid Them

Many users face typical problems when setting up a screen to turn off, and let's take a look at the most common ones:

  • 🚫 Screen goes out but doesn’t turn back on – reset the sensor settings in the engineering menu or increase the latency in the Proximity Service app to 500ms.
  • 🚫 The sensor is unstable, so check if it's covered by a cover or a protective film. On the Redmi Note 10 Pro and similar models, the sensor is located to the right of the speaker.
  • 🚫 Settings reset after update – disable automatic update MIUI In Settings β†’ The phone. β†’ Updating the system β†’ βš™οΈ β†’ Auto-update.
  • 🚫 Screen-off apps don’t start – add them to battery optimization exceptions (Settings) β†’ Annexes β†’ Battery management β†’ Choice of applications).

On Xiaomi with an infrared port (such as Mi 10 or Mi 11), the proximity sensor can conflict with the remote control. If you don't use it, turn off the IR port in Settings β†’ Connections and Sharing β†’ Infrared port.

πŸ’‘

If none of the methods worked, check the sensor for physical damage. At Xiaomi service centers, diagnostics cost ~ 500 rubles, and replacing the sensor from 1500 rubles.

Can I turn off the screen when calling without a proximity sensor?
Yes, but you will need a third-party app like Screen Off and Lock with a timer setting (e.g., turn off the screen 2 seconds after the call starts).
Why does the MIUI update not turn off the screen again?
Updates often reset the sensor settings. MIUI: Recalibrate the sensor in Settings β†’ Display. Check the permissions for applications like Proximity Service. ADB β€” Repeat the command adb shell settings put global proximity_delay 0.
Will the battery run out faster if the screen does not go out when calling?
Nana AMOLED-On the screens (most flagships Xiaomi) constant backlighting during long calls can reduce the time of work on the phone. 5-10%. Nana IPS-Displays (budget Redmi) impact is minimal, but still it is recommended to configure automatic shutdown.
Does this work on POCO and Black Shark?
Yes, since POCO and Black Shark run on the same MIUI firmware (or modifications thereof), except for Black Shark 5 Pro with JOYUI, where the path to sensor settings may differ: Settings β†’ Special features β†’ Sensors.
Can I get back the standard screen behavior after using ADB?
To cancel the changes, type the command: adb shell settings delete global proximity_delay or reset your phone settings to factory (Settings) β†’ The phone. β†’ Resetting settings).