Alice in the background on Xiaomi: how to turn it on and why it turns off

Voice assistant Alice from Yandex has long been an integral part of the smartphone ecosystem, but on Xiaomi devices with firmware MIUI It's often blocked in the background by system optimizations, and users find that the assistant stops responding to commands through the system. 5-10 It's a moment after you go into the background, and the voice notifications are late or gone, because of aggressive energy conservation policies. MIUI, which forcibly β€œfreezes” background processes.

In this article, we’ll look at all the working ways to get Alice to work in the background on Redmi, POCO and Xiaomi, from basic auto-start settings to manually adding an application to the whitelist of system optimizations. Separately, we’ll look at the nuances for different versions of MIUI (12, 13, 14) and explain why even after all the manipulations, the assistant can continue to β€œfall asleep.” If you’re tired of opening the Yandex app to the team every time, this guide is for you.

Why Alice is switching off in the background on Xiaomi

The problem lies in three key features of MIUI firmware:

  • πŸ”‹ Aggressive power management: The system automatically suspends background processes if the application is not on the whitelist, and Alice falls under this restriction because she is not a system service.
  • ⚑ Optimization MIUI Even if you're not playing, the default firmware limits background activity of "unnecessary" applications to free up resources.
  • πŸ“± Unlike Google Assistant, Alice is not built into the MIUI system, so they do not have the privilege of permanent employment.

It is important to understand that Xiaomi does not block Alice purposefully - this is a side effect of the overall energy saving strategy. For example, on the same Samsung or Google Pixel with similar battery settings, the assistant will work more stable precisely because of the deep integration with Android.

⚠️ Attention: On devices with MIUI 14 and later, the power saving settings are hidden behind the developer. If there are no items in the menu, turn on Developer Mode (7 times tap the version). MIUI In Settings β†’ The phone).

Method 1: Basic Autostart and Notification settings

Start with the simplest steps – they help 60% of the time:

  1. Allow autorun: Go to Settings β†’ Applications β†’ Application Management β†’ Yandex (or Yandex Alice). Tap Autorun and switch on the switch. This will allow the assistant to start with the system.
  2. Turn off battery optimization: In the same app menu, find Energy Saving β†’ No restrictions. If there is no such item, select No restrictions in battery settings.
  3. Enable notifications: Go to Settings β†’ Notifications β†’ Yandex and activate all types of alerts (especially Voice Assistant and Background mode).

After this manipulation, restart your phone. If Alice is still falling asleep, move on to the next method.

Allow auto-run of Yandex | Disable battery optimization |Enable all notifications |Reboot phone-->

Method 2: Add to the MIUI whitelist (for MIUI 12-14)

The most reliable method is to manually add Alice to the list of applications that MIUI will not block, and the instructions vary depending on the firmware version:

MIUI versionThe path to settingsAction.
MIUI 12Settings β†’ Battery β†’ Selection of applicationsFind Yandex, choose Without restrictions
MIUI 13Settings β†’ Applications β†’ Special permissions β†’ Battery optimizationSlip on Yandex, choose Not to optimize
MIUI 14Settings β†’ Battery β†’ Battery settings β†’ High-consumption appsAdd Yandex to the list and enable Background Activity Allow

On some devices (such as POCO F3 or Redmi Note 11), Battery Optimization may be called Application Energy Saving. If you don’t find the right section, search by settings (the magnifier icon at the top of the screen).

πŸ’‘

After adding to the whitelist, check Alice's work in 30 minutes without using the phone actively. If the assistant answers the "Hello Alice" command, the settings are applied correctly.

Method 3: Adjusting through ADB (for advanced users)

If previous methods have failed, you can force Alice's battery optimization to be turned off via ADB (Android Debug Bridge), which requires connecting the phone to a computer, but gives 100% results.

Instructions:

  1. Install ADB Tools on your PC and connect your phone over USB (enable USB Debugging in Developer Settings).
  2. Open the command line in the folder from adb.exe and enter: adb shell dumpsys deviceidle whitelist +com.yandex.browser (for the Yandex application) or adb shell dumpsys deviceidle whitelist +ru.yandex.alice (if you have a separate Alice application).
  3. Reboot the phone.

To check if the settings are applied, enter the command:

adb shell dumpsys deviceidle whitelist

The output should appear package com.yandex.browser or en.yandex.alice.

⚠️ Attention: Teams ADB They are reset after the phone is reset to factory settings, and they may not work on custom firmware (e.g. LineageOS or Pixel Experience).

Basic Auto Start Up Settings|Addition to the whitelist MIUI|Customization through ADB|Nothing helped.-->

Method 4: Use of third-party utilities (without root)

If manual settings don't work, you can use apps that force Alice to be active.

  • πŸ”„ Don't Kill My App! (DKMA) β€” It shows you what settings are MIUI They block background work, and they give you direct links to it.
  • ⚑ Greenify (in "Do Not Optimize" mode) - allows you to manually add applications to exceptions!
  • πŸ“± AutoStart – manages the autorun of applications, including those that MIUI hide from the user.

Example of DKMA:

  1. Install the app from Google Play.
  2. Choose Xiaomi from the list of manufacturers.
  3. Follow the instructions – the utility will automatically redirect you to the desired MIUI menu.

What to do if the apps don’t help?
Even after the use of DKMA or Greenify Alice continues to shut down, the problem may be: 1. Custom core (for example, on firmware like Xiaomi.EU). 2. Restrictions MIUI for a specific model (on some devices, for example, Redmi) 9A, background activity is blocked at the core level. 3. Conflict with other optimizers (e.g, MIUI Optimization or Security App: In such cases, you can either accept the restrictions or consider root rights (but that will deprive you of them). OTA-updates and may disrupt banking applications).

Problems and Solutions: Why Alice Doesn't Work

Even after all the settings, the assistant can be unstable. Consider typical scenarios and their solutions:

Problem.Possible causeDecision
Alice works 10-15 minutes, then "falls asleep"MIUI It is forced to close the background processes through miui_optimizationTurn off optimization through ADB: adb shell settings put global miui_optimization_disabled 1 Warning: This can increase battery consumption!
Assistant doesn't respond to voice, but notifications comeThere is no permission to use the microphone in the backgroundGo to Settings β†’ Privacy β†’ Permissions β†’ Microphone and enable access for Yandex without restrictions
Alice works only with the open application YandexFailure in Yandex services or app cacheClear the cache and data of Yandex (not Alice!), then reinstall it.

If none of the methods worked, check:

  • πŸ“Ά Internet connection stability: Alice requires constant access to the network - with a weak signal, she can "hang".
  • πŸ”„ Outdated versions (e.g. Yandex 22.7 and below) may conflict with MIUI 14.Update through Google Play.
  • πŸ› οΈ Regional settings. On some firmware (e.g. global) MIUI Redmi Note 10 Pro voice assistant works only in selected region of Russia.

πŸ’‘

If Alice stopped working after the MIUI update, reset the Yandex app settings and repeat all the steps from scratch. Newer firmware versions often reset permissions for background processes.

Alternative solutions: if nothing has worked

If all the methods have been tried and Alice still refuses to work in the background, consider the alternatives:

  • πŸ€– Google Assistant: Google’s built-in assistant has no problems with background work MIUI, It requires the installation of a separate application.
  • πŸ“± Quick commands via widget. Add widget Yandex Alice on the home screen - this will allow you to quickly activate the assistant without opening the application.
  • ⚑ Automate through Tasker. Create a task that will wake Alice's app every 30 minutes (e.g., by sending Intent).

For users willing to take drastic measures, there is another option - install custom firmware (for example, Pixel Experience or LineageOS). On "pure" Android Alice works stable, but this method is suitable only for advanced users, as it requires unlocking the bootloader and losing warranty.

If Alice is critically important to you, consider buying a device with EMUI (Huawei) or One UI (Samsung), where the assistant is integrated at the system level.

FAQ: Frequent questions about Alice’s work at Xiaomi

Can you make Alice work in the background without ADB?
Yes, in most cases, it is enough to add an application to the battery whitelist (Method 2) and turn off optimization. ADB is only needed for devices with MIUI 14, where some of the settings are hidden.
Why did Alice stop working again after the MIUI update?
Xiaomi often resets permissions for background processes after major updates.You need to repeat all the steps (autostart, whitelist, ADB-Also check if there are any new items on the Energy Saving menu.
Alice's working, but she can't hear the voice commands.
The problem may be the microphone or permissions: Check if the microphone is silenced (for example, after the phone falls). Go to Settings β†’ Privacy β†’ Permissions β†’ Microphone and make sure that Yandex has access without restrictions. Reinstall the Yandex application – sometimes the voice recognition settings are confused.
How to check if Alice is working in the background?
The simplest test is: Activate Alice with "Hi Alice." Close all apps (swipe up). Wait 30 minutes without interacting with your phone (don't unlock the screen!) Say a command (e.g., "Alice, what day is it?") If the assistant answers, the settings are applied correctly.
Will the battery be used up more if Alice is working in the background?
Yeah, but not critically, according to our Redmi Note test. 11 Pro+ s MIUI 13, Alice's background activity increases the cost of 3-5% post 8 (with moderate phone use) if you have switched on miui_optimization_disabled through ADB β€” gain 8-12%.