Why the screen on Xiaomi goes off when listening to voice in WhatsApp and how to fix it

You listen to a WhatsApp voice message on a Xiaomi smartphone, and suddenly the screen goes out even though the sound continues to play? This problem is familiar to many owners of Redmi, Poco and Mi devices β€” especially after the updates to MIUI or the messenger itself. Most of the time, the fault is in the power saving settings, application conflicts or optimization errors.

In this article, we’ll look at 7 main reasons why the screen shuts down while you play voice messages, and give you step-by-step instructions for each of them. You’ll learn how to set up a turnaround, turn off aggressive power saving for WhatsApp, reset the display settings, and even manually roll back the update if the problem comes after it. And for the most difficult cases, we’ll detail how to check for hardware malfunctions (such as a proximity sensor) without visiting a service center.

Important: Some solutions require permission to install from unknown sources or developer rights, and if you're not sure what you're doing, skip those steps and turn to simpler methods.

1. Check the autorotation settings and the proximity sensor

Most often, the screen goes out because the proximity sensor is triggered - it thinks you've held your phone to your ear like when you were ringing. WhatsApp doesn't work properly, especially if you're holding your smartphone at an angle or lying on your side.

How to check:

  • πŸ” Open the Settings. β†’ Display. β†’ Turn it around and make sure it's on. If it's not, turn it on and restart the phone.
  • πŸ“± When you play a voice message, try to change the angle of the phone slightly. If the screen lights up, the sensor is a problem.
  • πŸ› οΈ Run the sensor test through the engineering menu (code ##6484## for most Xiaomi). In the Proximity Sensor section, the value should change from 5 (far) to 0 (close) when you put your hand up.

If the sensor does not respond or shows incorrect values, it will have to be calibrated or cleaned (for more information, see the section on hardware malfunctions).

πŸ“Š How often do you turn off your WhatsApp screen?
Constantly.
Sometimes.
Only with certain communications
Never.

2. Turn off power saving for WhatsApp

MIUI aggressively optimizes background processes, and WhatsApp may be subject to restrictions, which makes it think the app is not active and shuts down the screen, so the solution is to add the messenger to the battery exclusion list.

Instructions:

  1. Go to Settings β†’ Applications β†’ Application Management β†’ WhatsApp.
  2. Choose Energy Saving and install Without Limits.
  3. Go back and open AutoRun – turn it on for WhatsApp.
  4. In Settings β†’ Battery β†’ Battery Mode, select Performance (if available).

After this, check if the problem persists. If so, move on to the next step.

Install "No Limits" for WhatsApp |Enable AutoRun |Switch Battery Mode to "Performance" |Reboot phone-->

3. Update WhatsApp and MIUI to the latest version

The screen-off error often appears after updates, but is also often fixed in the following versions.

ComponentHow to updateMinimum version
WhatsAppOpen Google Play β†’ Find the App β†’ Update2.23.17.76 or later
MIUISettings β†’ About the phone β†’ System updateDepends on the model (e.g. Redmi Note 12 – MIUI 14.0.5+)
Google Play ServicesSettings β†’ Applications β†’ All Apps β†’ Google Play Services β†’ Update23.30.14 or later

If there is no update, but the problem is critical, try to roll back to the previous version of WhatsApp via APKMirror.

  1. Remove the current version of the messenger.
  2. Download APK from APKMirror (e.g. version 2.23.12.78).
  3. Install the file by allowing installation from unknown sources.

⚠️ Warning: Reverse version may result in loss of unsaved chats. pre-backup via WhatsApp Settings β†’ chat β†’ Backup copy.

4.Reset the display and sensor settings

If the problem isn't WhatsApp, it's the system settings of the screen, resetting the display will help, and it will go back to factory values.

  • Brightness and screen timeout
  • Autoturn settings
  • Calibration of sensors (including proximity sensor)

How to reset:

  1. Go to Settings β†’ System β†’ Resetting settings.
  2. Select Reset Display Settings (not to be confused with a full reset!).
  3. Confirm the action and restart the phone.

After the reset, check if the problem persists. If so, move to the next section.

πŸ’‘

If the reset didn't work, try manually calibrating the proximity sensor through the engineering menu (code ##6484##).In the Proximity Sensor section, press Calibrate and follow the instructions.

5. Check conflicts with other applications

Some programs (especially optimizers, antiviruses or launchers) can block WhatsApp from working in the background, for example, Clean Master, DU Speed Booster or MIUI Optimizer sometimes force the messenger to sleep.

How to find the culprit:

  • πŸ” Launch your phone in Safe Mode (press the power button) β†’ long-tail β†’ Safe Mode: If the problem has disappeared, the third-party app is to blame.
  • πŸ“Š Check the list of recently installed programs. remove suspicious ones (especially optimizers and cleanersΒ»).
  • πŸ›‘οΈ Turn it off. MIUI Optimization in Developer Settings (how to enable – see below).

To enable the Developer Mode:

  1. Go to Settings. β†’ The phone.
  2. Slip 7 times on the MIUI version.
  3. Back to Settings β†’ Additionally. β†’ For developers.
  4. Find MIUI Optimization and turn it off.

⚠️ Attention: Disconnection MIUI Optimization can cause some features to function unstable (such as gestures or a dark theme.

Hardware malfunctions: proximity sensor and plume

If the software methods did not help, the problem may be a physical breakdown:

  • πŸ”§ Contaminated or damaged proximity sensor (located next to the front camera).
  • πŸ”Œ Display plume is gone – a common problem after falls or disassembly of the phone.
  • πŸ”‹ The power controller of the screen is defective (in this case, the screen may go out in other applications).

How to diagnose:

  1. Check the sensor: Illuminate the flashlight into the area next to the front camera. If the sensor is contaminated, gently wipe it with an alcohol tampon (do not use sharp objects!).
  2. Train test: With a slight press of your finger, press the screen in the upper frame, and if the screen starts to work steadily, the plume is to blame.
  3. Controller check: If the screen goes out and when watching video or in other applications - a hardware malfunction, and repair is needed.

For a temporary solution, you can turn off the proximity sensor completely (but this will affect calls):

Settings β†’ Special features β†’ Approximation sensor β†’ Disable
What if the screen goes out because of the plume?
If the problem is in the plume, it needs to be soldered or replaced. It is difficult to do it yourself - it requires a soldering station and experience. The cost of repairs in the service center is from 1,500 to 3,000 rubles (depending on the Xiaomi model).

7.Alternative solutions: gestures, third-party players and backup

If nothing helps, try the roundabouts:

  • 🎧 Play voice through headphones: Connect wired or Bluetooth headphones – the screen won’t go out as the system β€œunderstands” that you’re listening to content.
  • πŸ”„ Use an alternative player: Save a voice message to the device and open it through VLC or MX Player.
  • πŸ“± Enable Permanent Notification: Go to Settings on WhatsApp β†’ Notifications β†’ Pop-up notifications and select Always Show. This will keep the screen on longer.
  • ☁️ Move the chats to another messenger: Export history through Settings β†’ chat β†’ Export chat and use Telegram or Signal temporarily.

Critical information: If the problem occurred after the MIUI 14 update on the Redmi Note 11/12 or Poco X4/X5 model, the most likely cause is a firmware error, in which case only a pullback on MIUI 13 or waiting for a patch from Xiaomi will help.

πŸ’‘

If the screen goes off only on WhatsApp, the application settings or conflict with MIUI are to blame. If the problem in all applications is a hardware malfunction (sensor, plume or controller).

FAQ: Frequent questions about the problem

Can I fix the problem without resetting the settings?
Yes, software methods help 90% of the time, like disabling power saving for WhatsApp, updating the app, or calibrating the proximity sensor, and only need to reset if the display settings have been manually changed.
Why does the problem only appear on some voice messages?
This is due to the length of the message and the encoding format, WhatsApp uses different codekis to compress voice messages:.opus (short messages) and.ogg (long ones). Some versions of MIUI mishandle.ogg, causing the screen to go out, so the solution is to update WhatsApp or convert the message to another format.
Will the MIUI Optimization Disabling Work on All Xiaomi Models?
No, on some devices (such as Xiaomi 13T or Redmi K60), this option is blocked or it causes system errors.
How to check if the case is not to blame for the sensor operation?
Remove the case and repeat the voice message. If the screen doesn't go out, the problem is the case (it can close the sensor or create a false alarm). Try using a case without a top bezel or with a sensor notch.
Can you return factory settings to WhatsApp only without affecting other apps?
Yes, for this: Go to Settings β†’ Apps β†’ WhatsApp β†’ Storage. Click Clear Data and Clear Cache. Delete and install the app again. This will reset all the settings of the messenger, but will not affect other programs.