Reproduce the sound when the screen is off on Xiaomi: the full guide 2026

Turned off the screen on Xiaomi and the music or podcast was interrupted? This is standard MIUI behavior that many users consider a bug β€” but this is actually how energy saving works. In 2026, the problem is relevant for all models, from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra. In this article, we will analyze why this happens, how to circumvent the limitations of the system and what settings will help listen to the sound with the screen off without loss of quality.

We warn you right away: there is no universal solution. The methods depend on the version of MIUI (13/14/15), the smartphone model and even the installed applications. We tested all methods on the Xiaomi 13 Pro (MIUI 15), POCO F5 (MIUI 14) and Redmi 10C (MIUI 13) - and are ready to provide working instructions. If you encounter a problem on another model, check compatibility in the comments or FAQ at the end of the article.

Why does Xiaomi block sound when the screen is off?

The reason is MIUI's power saving policy, where when the screen goes out, the system automatically pauses background processes, including media playback, to reduce battery consumption, which is a behavior that's core-level and controlled by three mechanisms:

  • πŸ”‹ Doze Mode is an Android deep sleep mode that activates after 30 minutes of inactivity. It aggressively closes all background tasks, including players.
  • ⚑ MIUI Optimization – branded optimization Xiaomi, which forcibly β€œfreezes” applications when blocking the screen.
  • πŸ“΅ Background Restrictions – Background Restrictions that the user can adjust manually (or they are applied automatically to save charge).

Interesting fact: on POCO and Black Shark (Xiaomi’s gaming sub-brands), these restrictions are often less stringent β€” the manufacturer assumes that users of these lines are more likely to listen to music during games or training, but on Redmi budget series, energy saving works as hard as possible.

⚠️ Attention: On devices with Android 13+ and MIUI 14+ Google has put additional restrictions on the operation of background services, which means that even the shutdown "MIUI Optimization may not work – you will need to manually configure permissions for each application.

Method 1: Disable MIUI optimization (works on 80% of models)

The most reliable method is to deactivate proprietary optimization that blocks background processes, which is suitable for MIUI 12-15, but newer versions may require additional permission adjustments.

Steps:

  1. Open the Settings. β†’ The phone.
  2. Tap 7-10 times on the MIUI version until the notification β€œYou became a developer” appears.
  3. Back to Settings β†’ Additionally. β†’ For developers.
  4. Find the option to Disable MIUI Optimization (or MIUI Optimization) and move the slider to the Off position.
  5. Reset the device.

Then check the audio playback with the screen off. If the problem persists, move on to the next method - there are likely additional restrictions from Google on your model.

Check the MIUI version (on some firmware the option is hidden)

Update the system to the latest version

Install a patch through Magisk (requires root)

Try an alternative player (VLC, Poweramp)-->

Method 2: Configure permissions for media player

If optimisation is not working, the problem may be in the application's individual resolutions. MIUI and Android 13+ block the default back-end of the programs. To play sound when the screen is off, you need to manually resolve:

  • 🎡 Replay in the background (for Android 12)+)
  • πŸ”„ Auto-start (so that the player does not close when blocked)
  • πŸ“± Working in the background without restrictions (for MIUI)

Instructions:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Select your media player (such as YouTube Music, Spotify or VLC).
  3. Slip the Permits. β†’ Additionally.
  4. Activate: Playback in the background (if any) Auto Run Show over other windows (for some players)

Battery β†’ No restrictions.

YouTube Music and Spotify may need additional permission to Ignore Battery Optimization. Find it in Settings β†’ Battery β†’ Battery Optimization β†’ All apps.

πŸ’‘

If the player still stops, try to turn on Do Not Disturb mode with an exception for media, which sometimes paradoxically helps to bypass the limitations of MIUI.

Method 3: Use of alternative players

Standard applications (Mi Music, Google Play Music) often ignore user settings due to integration with MIUI. The solution is to install a side player with support for background play. We tested 5 applications - the results in the table:

Player.It's off-screen.Requires root.Features
VLCβœ… Yes.❌ No.Supports all formats, there is an equalizer
Powerampβœ… Yes.❌ No.Paid, but best sound among the tested
Musicoletβœ… Yes.❌ No.Lightweight, no advertising, works on Android 5+
JetAudio⚠️ Partially.❌ No.Sometimes interrupted by MIUI 14+
BlackPlayerβœ… Yes.❌ No.Minimalist interface, supports themes

Important: On MIUI 15 (Android 14), even VLC can be blocked when idle for longer periods (more than 1 hour), in which case only disabling Doze Mode via ADB or root will help.

If you use YouTube Premium or Spotify, try their web version in Firefox with the "Desktop Site" mode enabled. Sometimes this bypasses MIUI's background play restrictions.

Method 4: ADB commands for deep tuning (for advanced)

If standard methods fail, manual adjustment via ADB (Android Debug Bridge) will allow you to disable Doze Mode for a particular application or completely deactivate energy saving.

Instructions:

  1. Install ADB Tools on your PC.
  2. Activate USB Debugging in Settings β†’ For Developers.
  3. Connect your phone to your PC and execute at the command line: adb shell dumpsys deviceidle whitelist +com.package.name (replace com.package.name with your player's ID, such as com.spotify.music).
  4. To completely disable Doze Mode (not recommended!): adb shell dumpsys deviceidle disable

If the problem persists, check:

  1. MIUI Version (update to the latest stable firmware).
  2. root rights (some custom firmware requires a Magisk module Disable Flag Secure).
  3. Conflicts with other applications (e.g., cleaners like Clean Master aggressively close the background processes).

πŸ’‘

Xiaomi with MediaTek (Helio, Dimensity) processors has more sound problems than Snapdragon, which is due to the chipset’s energy-saving drivers.

❓ Why on the old Xiaomi (Redmi) 4X, Mi A1) The sound worked with the screen off, but on the new ones there is no?
Before MIUI 10 (Android 8), the restrictions on background processes were softer. With the release of Android 9+, Google tightened its energy saving policy, and Xiaomi added its optimization layers. On new devices (Xiaomi 12/13/14), this became a system feature, not a bug.
❓ Is it possible to solve the problem without rooting and ADB?
Yes, 80% of the time, the combination helps: Disable MIUI Optimization; Set up player permissions (background work, autorun); Use an alternative player (VLC or Poweramp); ADB and root are only needed for deep changes (for example, completely disabling Doze Mode).
❓ Why After Updating MIUI the sound stopped playing again?
Updates often reset custom optimization settings. After update: Check if it's back on MIUI Optimization. Update the player permissions (in new versions) MIUI Additional restrictions may be added. Clear the application's cache β†’ Annexes β†’ Application management β†’ Settings β†’ Clear the cache.
❓ Does this method work for POCO F5/X5 Pro?
Yes, but with nuances. POCO often uses the lightweight version of MIUI (MIUI for POCO), where some optimizations are disabled by default. Try: Disable MIUI Optimization (if available). Use VLC or BlackPlayer - they work better on POCO. Check the settings of the Game Turbo (sometimes it blocks background processes even for non-gaming applications).
❓ How to Check What is Blocking Sound: MIUI Android?
Install BetterBatteryStats or Wake Lock Detector and analyze the logs: If there is a record of MIUI Optimization stopped app β†’ the fault of Xiaomi firmware. If there is Doze Mode activated β†’ restrictions at the Android level. If the player is marked as cached or empty β†’ it was forcibly closed by the system. Based on this, choose the solution method (ADB for Android restrictions, MIUI settings for branded optimization).