Why doesnβt Xiaomi have default voice charging notifications?
Owners of Xiaomi smartphones often face the fact that the shell MIUI It does not support voice alerts about connecting / disabling charging out of the box, the reason lies in the energy saving policy: the manufacturer believes that unnecessary sound signals drain the battery. However, for people with disabilities or those who want to hear a confirmation of the start of charging without looking at the screen, this feature can be critically important.
In this article, we will discuss 5 Proven ways to add voice notifications β from standard settings MIUI beforehand ADB-All methods tested on Redmi Note models 10/11/12, POCO X3/X4/X5 Xiaomi 12/13/14 versioned MIUI 13β15. If your smartphone is running on HyperOS, some of the ways will also be relevant β we will warn you about this separately.
β οΈ Voice notifications can be triggered with a delay of up to 3-5 seconds due to the optimization of background activity in the MIUI. On weaker models (e.g. Redmi) 9A) delay can be as long as 10 seconds.
Method 1: Incorporating system charging sounds into MIUI
The easiest method is to activate the built-in audio signals that Xiaomi hides in its feature settings, which are not voice-based (usually short tunes), but can be used as a basis for further customization.
Instructions:
- π± Open the Settings. β Special facilities β Rumor.
- π Scroll through to the "Sound prompts" section and turn on the Sound switch when connecting charging.
- π΅ In the list below, select a tune (e.g. Charging.ogg or Plug_in.ogg).
- π Repeat the steps for the Sound option when you turn off charging.
β οΈ Note: On some firmware (for example, MIUI 14 Global) these settings may not be available. In this case, move on to the next method.
Is the βSpecial Opportunitiesβ section activated?
Is the "Sound When Connecting Charging" switch on?
Is the melody selected from the list?
Is the charging disconnect checked (sound should be different)?
-->
If you want voice notifications rather than standard sounds, use Tasker Method 2 or Automate Method 3.
Method 2: Voice notifications via Tasker (without root)
Tasker is a powerful automation tool that allows you to create custom scripts, including voice alerts.The method works on all Xiaomi models with Android 8.0+, but requires pre-configuration.
Steps:
- π₯ Install Tasker from Google Play (paid app, ~300 β½).
- π Create a new profile (Profile) β Status. β Equipment β power supply).
- π Select Any (to react to the connection/disconnection) or specify a specific type (AC, USB, Wireless charging).
- π£ Add the Media Action β Say (for voice alert).
- π In the Text field, type a phrase such as: Charging is connected, battery level %BATT% (where %BATT β charge-level).
- π€ Select the voice engine (Google) TTS Samsung TTS, if established).
- πΎ Save the task and activate the profile.
πΉ Additional settings:
- π To voice the charge level, add the action Variables. β Set a variable with a name %BATT significance %LEVEL (from the category β Battery).
- π To turn off the sound at night, add a time condition %TIME between 23:00 and 07:00 β Interrupt the task.
- π΄ HyperOS may require permission ADB Start in the background (see Method 5).
Tasker
Automate
MacroDroid
I don't use it.
Other-->
Method 3: Automate (Free Alternative to Tasker)
If Tasker seems complicated, try Automate, a free app with a visual thread editor that supports voice notifications and runs on Xiaomi without root rights.
Step-by-step:
- π₯ Install Automate.
- π₯ Press. + β Create a flow.
- π Add the block Conditions β Power source and select Connected.
- π£ Add the Action Block β Voice the text.
- π In the text box, type, for example: Device connected to charge. Current charge: {{{battery-level}} percent.
- π€ Select the voice engine (Google Text-to-speech).
- π Repeat the steps for the condition Disconnected with other text.
- πΎ Save the flow and start it.
β οΈ Attention: B MIUI 14+ Automate can be blocked by the battery optimizer to avoid this:
- Go to Settings. β Annexes β Application management β Automate.
- Choose AutoRun and Without Limitations.
- In the Permissions section, enable Display over other windows.
π‘
If voice sounds robotic, install additional voice packs in Google settings TTS (for example, voices in Russian from IVONA or SVOX).
Method 4: Voice Alerts via the Talking Charging app
For those who don't want to know Tasker or Automate, there are solutions out there, and one of them is the Talk Charging app (free, with ads).
- π£ Voiceover of connection/disconnection of charging;
- π Notifications of reaching a predetermined charge level (e.g., 80%);
- π΅ Choice of voice (male/female) and speech speed;
- π Do Not Disturb on Schedule.
πΉ How to set up:
- Install the application and open it.
- Turn on the switch Enable notifications.
- In the Voice Settings section, select the language (Russian) and voice.
- In the Additional settings, specify charge thresholds for alerts (e.g., 15%, 50%, 100%).
- π V MIUI Add the application to the battery optimization exceptions (see the instruction in Method 3).
The app may conflict with other voice-over services (e.g. Google Assistant). If the voice is not playing, check engine priority TTS In Android settings: Settings β System system β Language and input β Text in speech β Settings (β) β Preferred engine.
Method 5: ADB-commands to unlock background activity (for experienced)
If voice notifications are not working due to aggressive optimization MIUI, You can manually disable the restrictions through ADB. This method is suitable for Xiaomi on Android 10+ and does not require root rights.
πΉ What's the matter:
- π₯ Computer with installed ADB-driver;
- π± Included debugging by USB on a smartphone (Settings) β The phone. β Version. MIUI β 7 times to press to unlock the developer settings β set up USB);
- π USB-cable (preferably original).
π Commands to execute:
- Connect your phone to your PC and enter in the terminal: adb devices (you should display your device).
- Allow debugging on the smartphone screen.
- Enter a command to disable battery optimization for Tasker/Automate: adb shell dumpsys deviceidle whitelist +net.dinglisch.android.taskerm (replace net.dinglisch.android.taskerm with com.llamalab.automate if you use Automate).
- Turn off background activity restrictions: adb shell cmd appops set net.dinglisch.android.taskerm RUN_ANY_IN_BACKGROUND allow
- Reboot the device: adb reboot
β οΈ Note: These commands are reset after resetting settings or updating MIUI. Repeat them after each major update.
What if the ADB canβt see the device?
Comparison of methods: which one to choose?
To make the choice easier, we have compiled a table with the pros and cons of each method:
| Method | Difficulty | Required. root/ADB | Flexibility of setting | It's powered by HyperOS. | Energy consumption |
|---|---|---|---|---|---|
| MIUI system sounds | β (simple) | β No. | β Only standard tunes. | β Yes. | β‘ Minimum |
| Tasker | βββ (middle-of-the-road) | β No, but permissions are required. ADB background) | β Full customization | β Yes. | β‘β‘ Average. |
| Automate | ββ (easily) | β No. | β Tall. | β Yes. | β‘β‘ Average. |
| Annex βTalking chargingβ | β (simple) | β No. | β Limited. | β Yes. | β‘β‘β‘ High (due to advertising) |
| ADB-team | ββββ (difficult) | β Yes, but no root) | β Allows you to unlock any applications | β Yes. | β‘ Minimum |
πΉ Recommendations:
- π If you have a new model (Xiaomi 14, Redmi Note 13) on HyperOS, start with Method 1 or Method 4.
- π For full customization (e.g., different voices for the USB/wireless charging) - Method 2 (Tasker).
- π§ If nothing works due to optimization MIUI β Method 5 (ADB).
π‘
On HyperOS models (such as Xiaomi 14), there may be no system charging sounds, in which case use Tasker or Automate with background activity resolution via the phone. ADB.
Frequent problems and their solutions
Even after setting up, voice notifications can be unstable, and letβs look at common errors and how to fix them:
πΈ Problem 1: Voice is not played, even though notification appears.
Decision:
- Check if the voice engine is installed (Google) TTS Samsung TTS).
- In the text-to-speech settings, select Russian and download the voice packet.
- V Tasker/Automate Make sure the correct output device is selected (e.g., Speaker, not Bluetooth).
πΈ Problem 2: Notifications are delayed or not working at all.
Decision:
- Add the application to the battery optimization exceptions (see Method 3).
- V MIUI 14+ Turn off Adaptive Optimization in Battery Settings.
- If you use Tasker, increase the priority of the task to High.
πΈ Problem 3: Voice interrupted or robotically sounded.
Decision:
- Install an alternative voice engine, for example, IVONA.
- In Google's settings TTS Reduce the speed of speech to 0.8x.
- Check if the app is in conflict with Google Assistant (turn it off temporarily).
πΈ Problem 4: After the update MIUI stopped working ADB-team.
Solution: Repeat the commands from Method 5, as the optimization reset is reset after updates.
π‘
If voice notifications are only needed at night, set up a time condition in Tasker or Automate (for example, from 22:00 to 08:00) to save battery power.