Why does Xiaomi make sound when connected to charging?
The audible alert when you connect the charger is a standard MIUI feature that signals the user to start charging. For some, it's convenient: you don't have to look at the screen to see if the cable is connected. However, many owners of Xiaomi, Redmi or POCO find this sound annoying, especially if you plug in the phone at night or in a quiet room.
Unlike system notifications, charging sound is not regulated through standard volume settings; turning it off requires separate manipulations, from simple menu changes to editing system files. In this article, we will look at all the current ways, including hidden MIUI functions and solutions for root-right users.
It is important to note that the methods vary depending on the firmware version. For example, in MIUI 14 based on Android 13, the path to settings may differ from MIUI 12 on Android 10.
Method 1: Disconnect via sound settings (MIUI 12โ14)
The easiest method is to use the built-in MIUI options. It is suitable for most models, including the Xiaomi 11/12/13 series, Redmi Note 10/11/12 and POCO F/X. The main condition: the phone must be installed official firmware without deep modifications.
Instructions:
- ๐ฑ Open the Settings app (cog icon).
- ๐ Go to the section Sound and vibration.
- ๐ฝ Scroll down to the System Sounds block.
- ๐ Find the Sound of Charging Connection (or Charging) and move the slider to the โOffโ position.ยป
If there is no such option, then your version of MIUI does not directly support this option, in which case try alternative methods in the following sections.
โ๏ธ What to do if there is no "Sound of Charging" item"
โ ๏ธ Note: On some models (e.g, POCO X3 Pro) the charging sound is linked to system notifications and may affect other sounds such as low battery alerts.
Method 2: Use the "Do Not Disturb" mode
If the audio settings don't have a separate charge switch, you can bypass the restriction with Do Not Disturb mode, which temporarily disables all audible alerts, including the cable connection sound.
How to set up:
- Press the power button and select the Do Not Disturb icon (or go to Settings โ Sounds and Vibrations โ Do Not Disturb).
- Activate the mode and select Before disconnecting or set a timer.
- In the Exclusions section, turn off all options except alarm clocks (if necessary).
The downside of the method: along with the charging sound, all notifications, including calls and SMS, will be turned off.
Method 3: Disconnect via ADB (without root)
For advanced users who are ready to work with Android Debug Bridge (ADB), There's a way to turn off the charging sound through the command, and this method doesn't require root rights, but it requires a computer and a computer. USB-cable.
Step-by-step:
- Turn on USB Debugging on your phone: Settings โ About Phone โ MIUI version (click 7 times to activate Developer Mode), then go back to Settings โ Additional โ Developer and enable debugging.
- Connect your phone to your PC, install ADB Tools, and open the command line in the adb.exe folder.
- Enter the command: adb shell settings put global charging_sound_enabled 0
- Reboot the phone.
To get the sound back, replace the 0 with the 1 in command, a method that works on most MIUI 12+ devices, but can reset once the firmware update is in place.
What if the ADB does not recognize the device?
| Xiaomi model | Support ADB-team | Notes |
|---|---|---|
| Xiaomi 13/13 Pro | โ Yes. | It's working on MIUI 14. |
| Redmi Note 12 | โ Yes. | You may need to re-enter after the update. |
| POCO F5 | โ Yes. | Checked on global firmware |
| Xiaomi Mi 11 | โ ๏ธ Partially. | Some of the scalings are reset after rebooting. |
Method 4: Editing system files (root required)
If you have root rights, you can delete or replace the system charging sound. This method permanently deletes the alert file, so back up before you act.
Instructions:
- ๐ Install a root-enabled file manager (such as Root Explorer or Solid Explorer).
- ๐ Cross the path: /system/media/audio/ui/
- ๐ Find the Charging.ogg files or Wireless_charging_started.ogg (names may differ).
- ๐๏ธ Rename the files by adding.bak at the end (e.g. Charging.ogg.bak) or delete them.
- ๐ Reboot the phone.
โ ๏ธ Note: Deleting system files can cause crashes, especially if you've got the wrong path.Always do a backup before editing a partition /system. On some firmware (MIUI EU) Files can be restored after updating.
๐ก
If the sound is left after deleting, check the /vendor/media/audio/ui/ folder โ there may be duplicated notification files.
Method 5: Third-party applications
If previous methods didn't work, you can use apps from Google Play that block system sounds.
- ๐ก๏ธ MacroDroid โ allows you to create a rule that turns off sound when you connect charging.
- ๐ SoundAssistant - Advanced sound profile management (requires exception settings).
- ๐ค Tasker โ for experienced users (you can write a script to turn off the sound on the event) POWER_CONNECTED).
Example of settings in MacroDroid:
- Create a new macro.
- As a trigger, select the Charging Connection.
- Add the action Set the volume of notifications โ 0%.
- Save and activate the macro.
The downside of third-party apps is that they can increase battery consumption due to the background, and some features may stop working after the MIUI update.
๐ก
Apps like MacroDroid are the only way to turn off charging sound on custom firmware (like LineageOS) that lack standard MIUI settings.
Frequent problems and solutions
Even after using one of the methods, the charging sound may remain, and let's consider the typical causes and ways to eliminate them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The sound returns after the reboot | Resetting MIUI settings | Repeat the ADB command or check root rights |
| No "Charging Sound" item in the settings | An outdated version of MIUI | Update your firmware or use ADB |
| Apps don't block sound | MIUI restrictions for third-party utilities | Give all permissions manually in the application settings |
| Sound is only available when wireless charging | Separate alert file | Delete. Wireless_charging_started.ogg (see method 4) |
If none of these methods helped, check:
- ๐ Version MIUI โ certain assemblies (e.g, MIUI Russia has restrictions.
- ๐ง Updates โ Additional settings may appear in new versions.
- ๐ฑ Modifications of firmware - custom ROM (For example, xiaomi.eu can change the standard behavior.