Yandex Alice voice assistant on Xiaomi smartphones often faces the problem of forced shutdown by the system. Even if you actively use the command "OK, Yandex", after 5-10 minutes of inactivity, the app ru.yandex.alice can be stopped by MIUI Optimized Battery - a built-in mechanism for saving energy, as a result, Alice stops responding to voice commands until you again open the application manually.
The problem is compounded by Xiaomi aggressively optimizing the background of third-party apps, especially on budget and mid-budget models (Redmi Note 12, POCO X5, Mi 11 Lite, etc.). Even on flagships like Xiaomi 13 Ultra or Mix Fold 3 after upgrading to MIUI 15, users complain about the failures in Aliceβs work. In this article, current ways to bypass the limitations of MIUI for stable background work of the assistant in 2026, including hidden developer settings and alternative methods.
Why Alice is closing in the background on Xiaomi
The reason lies in the MIUI architecture, where three key mechanisms are responsible for the background operation of applications:
- π Battery Optimization β automatically suspends applications that the system believes are βexpending too much powerβ and Alice falls under this rule due to constant listening to the microphone.
- π« Auto-Start Management β blocks the auto-start of applications after the device is restarted.
- β‘ MIUI Memory Extension (on new models) - virtualizes RAM, It aggressively clears the cache of underutilized services, including voice assistants.
In practice, this means that even if you manually allowed Alice to work in the background through battery settings, the system may ignore your preferences after:
- π Phone reboots;
- π± Long downtime (more than 30 minutes without activity);
- π Charge level drops below 15%;
- π² Closing all applications via the βClear Allβ button in the multitasking menu.
β οΈ Attention: On devices with MIUI 14/15 less 6 GB of RAM (Redmi) 10A, POCO M4 Pro) Alice's background work may not be possible without root rights.
Preparation: Verification of MIUI version and Aliceβs rights
Before setting up, make sure your device meets the minimum requirements:
| Parameter | Minimum requirement | Recommended |
|---|---|---|
| MIUI version | 12.5+ | 14.0.5 or later |
| RAM | 4GB | 6 GB or more |
| Alice's version | 2.40.0 | The latest from Google Play |
| Availability of root rights | Not required | Only for devices with <4 GB of RAM |
To check Alice's current permits:
- Open Settings β Applications β Application Management.
- Find Yandex Alice (or en.yandex.alice).
- Check the points: π Permissions: Must have access to Microphone, AutoRun, Work in the background. π± Battery Limits: Must be without restrictions. π Auto-start: on.
If one of the items is off, Alice can't work in the background, so fix this before you move on to the next steps.
Method 1: Disabling Battery Optimization for Alice
The most reliable method is to completely eliminate the application from the energy saving mechanisms.
- Go to Settings β Battery and Performance β Battery Optimization.
- Select All Applications (or Applications in older versions of MIUI).
- Find Yandex Alice and tap her.
- Choose Unlimited (or Not Optimized in MIUI 13 and below).
- Add to the RAM Cleanup Exceptions: Open Settings β About Phone and tap the MIUI Version 7 times to activate Developer Mode. Return to Settings β Additional β For Developers. Find Process Limitation and set a Standard Limit (or No Limits, if available). Turn on Don't Kill Apps when you lock the screen.
On Xiaomi with HyperOS, the path to developer settings may be different:
Settings β About Phone β HyperOS Version (stamp 7 times) β Additional β Developer ParametersAfter activating these settings, restart the device.Alice should maintain background activity even after locking the screen.
π‘
If Alice closes again after the reboot, try temporarily disabling Google Play Protection (Settings β Google β Security).
Method 3: Using ADB to force background work
If previous methods didnβt work, you can manually prioritize Alice via Android Debug Bridge (ADB), which works on all versions of MIUI, but requires a PC connection.
Instructions:
- Download ADB Tools and unpack into any folder.
- On your phone, activate USB Debugging (Settings β For developers β Debugging via USB).
- Connect your phone to your PC and in the command line (in the folder with ADB) do:
For owners of devices with Qualcomm Snapdragon (for example, Xiaomi 12T, POCO F5), there is another trick:
- Install the QuickShortcutMaker app.
- Find the activity of com.qualcomm.qti.perfdump/.PerformanceDumpActivity.
- Create a label and run it.
- From the menu, select Disable Thermal Throttling.
This will prevent forced performance declines that cause MIUI to kill background processes.
π‘
On devices with MediaTek processors (like the Redmi Note 12), workarounds work worse because of the closed chipset architecture, leaving only the power-saving features to be turned off or Alice used via a browser.
Method 5: Radical measures (for advanced users)
If you are critical to Aliceβs stable job, consider the following options:
- π§ Installation of custom firmware: firmware on the basis AOSP (LineageOS or Pixel Experience do not have aggressive optimizations MIUI. After installation, Alice will work in the background without additional settings.
- π Root rights: Magisk can: Remove MiuiOptimization via Titanium Backup; Freeze com.miui.powerkeeper and com.miui.securitycenter; Use Disable Flag Secure to circumvent restrictions.
- π± Using a second device: Some users connect a cheap Redmi to Alice A2 or POCO C50 You can use one Yandex account and leave it on at home as a voice hub, and the main phone doesn't lose functionality.
β οΈ Note: Installing custom firmware or obtaining root rights will void Xiaomiβs warranty and may cause the device to operate unstable. TWRP.
Frequent mistakes and their solutions
Even if you set it up correctly, Alice can be unstable.
| Problem. | Reason. | Decision |
|---|---|---|
| Alice doesn't respond to "OK, Yandex." | Microphone locked by system | Go to Settings β Privacy β Permissions β Microphone and enable access for Alice |
| The app dyes when it starts | Conflict with Google Assistant | Turn off Google Assistant in Settings β Google β App settings β Search, Assistant and Voice |
| Alice only works with an open application. | MIUI kills trial due to lack of RAM | Close all background apps through Settings β Apps β Clear everything, then run Alice |
| Voice commands are executed with a delay | Weak Internet connection | Connect to 5 GHz or use mobile internet (4G/5G) |
If Alice stopped working after the MIUI update, try:
- Clear the app cache (Settings β Applications β Yandex Alice β Storage β Clear the cache).
- Remove and reinstall Alice from Google Play.
- Reverse to the previous version of MIUI via the Mi Flash Tool (power users only!).