Alice on Xiaomi in the background: how to make work without restarting

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:

ParameterMinimum requirementRecommended
MIUI version12.5+14.0.5 or later
RAM4GB6 GB or more
Alice's version2.40.0The latest from Google Play
Availability of root rightsNot requiredOnly for devices with <4 GB of RAM

To check Alice's current permits:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find Yandex Alice (or en.yandex.alice).
  3. 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.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/X6
Xiaomi 13/14
Redmi 10/9 Series Series
Another model

Method 1: Disabling Battery Optimization for Alice

The most reliable method is to completely eliminate the application from the energy saving mechanisms.

  1. Go to Settings β†’ Battery and Performance β†’ Battery Optimization.
  2. Select All Applications (or Applications in older versions of MIUI).
  3. Find Yandex Alice and tap her.
  4. Choose Unlimited (or Not Optimized in MIUI 13 and below).
  5. 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 Parameters

After 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:

  1. Download ADB Tools and unpack into any folder.
  2. On your phone, activate USB Debugging (Settings β†’ For developers β†’ Debugging via USB).
  3. 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:

  1. Install the QuickShortcutMaker app.
  2. Find the activity of com.qualcomm.qti.perfdump/.PerformanceDumpActivity.
  3. Create a label and run it.
  4. 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 systemGo to Settings β†’ Privacy β†’ Permissions β†’ Microphone and enable access for Alice
The app dyes when it startsConflict with Google AssistantTurn 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 RAMClose all background apps through Settings β†’ Apps β†’ Clear everything, then run Alice
Voice commands are executed with a delayWeak Internet connectionConnect to 5 GHz or use mobile internet (4G/5G)

If Alice stopped working after the MIUI update, try:

  1. Clear the app cache (Settings β†’ Applications β†’ Yandex Alice β†’ Storage β†’ Clear the cache).
  2. Remove and reinstall Alice from Google Play.
  3. Reverse to the previous version of MIUI via the Mi Flash Tool (power users only!).
Can you make Alice work in the background on Xiaomi without ADB and root?
Yes, but with limitations: The combination of powering down battery optimization, adding to auto-run, and secure applications helps 70-80% of devices. On low-end models (Redmi 9A, POCO M3), stable performance without ADB is unlikely due to the rigid limitations of MIUI.
Why does Alice close again after the reboot?
The reason is to reset battery optimization flags. MIUI restores default settings for applications after the reboot. Solution: use Tasker to automatically apply ADB commands after booting, or turn off the quick reboot in the developer settings (Fast Reboot β†’ Off).
Will Alice work in the background if the phone is connected to Power Bank?
Yes, but only if: In the battery settings, the option Optimization when charging is turned off; The original cable and power supply are used (poor accessories can cause failures); The battery level is above 20% (at low charge, MIUI forcibly kills background processes).
Can I use Alice in the background on Xiaomi with the screen off?
Technically yes, but: On MIUI 14/15, you need to disable Optimization when locking the screen in the battery settings; With prolonged locking (more than 1 hour), Alice can be stopped despite the settings; For reliability, use Always On Display (if supported) - this prevents the processor from completely falling asleep.
Which Xiaomi models best support Alice’s background work?
According to user tests, the least problems are observed on: Xiaomi 13/14 Pro (thanks to the flagship processor and 12 GB RAM); POCO F5 Pro (optimized firmware for gamers); Redmi K60 Ultra (Balance of Performance and Energy Efficiency); Xiaomi Mix Fold 2/3 (minimum restrictions MIUI The worst thing Alice does is she works on budget models with a 3-4 GB of RAM (Redmi) 10A, POCO M4).