Voice assistant Alice from Yandex has long become an integral part of the ecosystem for many Android users. However, standard operating system settings often block applications from running in the backgroundโ€”especially assistants, which must listen to commands even when the screen is off. As a result, Alice stops responding to voice requests after 5-10 minutes of inactivity, and notifications about new messages or reminders arrive with a delay.

The problem is aggravated by the policy Android 12+ i MIUI/ColorOS, where aggressive battery optimization By default, it puts background processes to sleep. But there are ways to get around these limitations, from standard settings to using third-party tools. In this guide, we'll cover all current methods for activating the background mode for Aliceincluding hidden Android features, ADB commands, and alternative launchers. Important: some solutions require superuser rights (root), but most work without them.

Why Alice does not work in the background: technical reasons

Before moving on to the settings, it is worth understanding what exactly prevents Alice from remaining active. Modern versions of Android have several limitation mechanisms:

  • ๐Ÿ”‹ Battery optimization โ€”the system automatically pauses applications that are not directly used to save battery. Alice falls under this rule, since it does not apply to โ€œsystemโ€ services.
  • ๐Ÿ“ต Doze Mode Limitations โ€” starting from Android 6.0, the device enters deep sleep mode when the screen is turned off for a long time. This blocks network activity and background processes.
  • ๐Ÿ›ก๏ธ Manufacturers' policies โ€” Xiaomi, Oppo, Huawei and other brands add their own layers of optimization on top of standard Android, which control background tasks even more tightly.
  • ๐Ÿ”Š Microphone restrictions โ€” c Android 10 applications are prohibited from constantly listening to the microphone in the background without the user's explicit permission.

In addition, Alice herself does not always handle permissions correctly. For example, after updating the application, the "Allow background activity" flag may be reset and the assistant will stop responding to voice commands. The firmware version also affects: Android 13+ requires additional permission for notifications, without which Alice will not be able to show pop-up windows.

โš ๏ธ Attention: On some devices (for example, Samsung Galaxy s One UI 5.0+) even after disabling battery optimization, Alice may stop working after 30-60 minutes. This is due to the manufacturer's proprietary algorithms, which are not always amenable to standard settings.

Method 1: Disabling battery optimization for Alice

The simplest and safest method is to exclude Alice's application from the list of optimized ones. This method works on all devices, but the interface may differ slightly depending on the Android version and shell.

Instructions for pure Android (Pixel, Motorola, Nokia):

  1. Open Settings โ†’ Applications โ†’ All applications.
  2. Find in the list Yandex (or Aliceif installed as a separate application) and tap on it.
  3. Select Battery โ†’ Battery optimization.
  4. In the drop-down menu, select All applications, find Alice and set the status Do not optimize.

For Xiaomi (MIUI), Redmi, POCO:

  1. Go to Settings โ†’ Battery and performance โ†’ Battery management.
  2. Select Select applications and find Yandex.
  3. Set the switch No restrictions.
  4. Go back and to section Battery optimization add Alice to the exceptions.

For Samsung (One UI):

  1. Open Settings โ†’ Device care โ†’ Battery.
  2. Tap on Background limit and select Never limit for Alice.
  3. Then go to Settings โ†’ Applications โ†’ Yandex โ†’ Battery i disable Optimize battery usage.

Optimization disabled for the Yandex application|Alice added to exceptions Doze Mode|Autostart permission enabled|Background activity allowed in settings applications-->

After applying these settings, reboot your device. Alice should remain active longer, but may require additional steps to fully run in the background.

Method 2: Permissions to run in the background forever

Android requires explicit approval for apps that want to run in the background for long periods of time. For Alice, you need to enable several key permissions:

  1. Autostart (for automatic start after reboot):

    Path: Settings โ†’ Applications โ†’ Yandex โ†’ Autorun (on MIUI) or Settings โ†’ Battery โ†’ Autorun (on Huawei).

  2. Background activity (permission to work without an open window):

    In the Yandex application settings, find the item Additional โ†’ Background activity and enable it.

  3. Permanent notifications (so that Alice is not closed by the system):

    In the notification settings for Yandex, allow to show Permanent notifications.

  4. Access to the microphone in the background (for voice commands):

    M Settings โ†’ Privacy โ†’ Permissions โ†’ Microphone make sure that Yandex has access Always, and not just During use.

Resolution Where to enable Why is it necessary
Autostart Settings โ†’ Applications โ†’ Yandex โ†’ Autorun So that Alice starts after the device is rebooted
Background activity Settings โ†’ Battery โ†’ Optimization โ†’ Yandex Prevents the assistant from being suspended
Permanent notifications Settings โ†’ Notifications โ†’ Yandex Allows Alice to remain in memory as an "active process"
Microphone (always) Settings โ†’ Privacy โ†’ Microphone To recognize voice commands in the background
โš ๏ธ Attention: On Android 14 a new restriction has appeared - applications are prohibited from using a microphone in the background for more than 24 hours in a row. If Alice stops responding to voice after a day of operation, restart it manually.

Pure Android (Pixel, Motorola)|MIUI (Xiaomi, Redmi, POCO)|One UI (Samsung)|ColorOS (Oppo, Realme)|EMUI (Huawei)|Other-->

Method 3: Using ADB to remove restrictions

If the standard settings do not help, you can use ADB commands (Android Debug Bridge). This method requires connecting your smartphone to your computer, but gives you greater control over background processes. Important: after executing the commands, Alice will consume more battery.

Steps for setting up via ADB:

  1. Enable Developer mode on the phone: go to Settings โ†’ About phone 7 times tap on the build number.
  2. Go back to Settings โ†’ System โ†’ For developers and enable USB debugging.
  3. Connect your phone to the PC, install ADB-tools and run the connection test command:
    adb devices

    Your device should appear.

  4. Run the command to disable battery optimization for Alice:
    adb shell dumpsys deviceidle whitelist +com.yandex.browser

    (if Alice is installed as a separate application, use com.yandex.alice)

  5. Then allow background activity without restrictions:
    adb shell cmd appops set com.yandex.browser RUN_ANY_IN_BACKGROUND allow

After executing the commands, reboot the device. To check if the changes have been applied, use:

adb shell dumpsys deviceidle whitelist

The output should display a package com.yandex.browser.

What to do if ADB does not recognize the device?

Make sure that the drivers for your smartphone model are installed (download them from the manufacturerโ€™s official website). Also check that the item USB debugging (security settings) is enabled in the developer settings and you have confirmed trust in this computer on the phone screen. If used Windows, try running ADB as an administrator.

Method 4: Alternative launchers with support for background assistants

Some alternative launchers (for example, Nova Launcher, Lawnchair) allow you to integrate voice assistants at a deeper level than the standard shell. This helps to bypass manufacturer restrictions on background activity.

Instructions for Nova Launcher:

  1. Install Nova Launcher from Google Play and make it the default launcher.
  2. Go to the launcher settings: long tap on the desktop โ†’ Settings.
  3. Select Voice search and set Yandex Alice as the default assistant.
  4. Enable the option Allow background access (if available).

For Lawnchair (open source):

  1. Download the latest version from official website.
  2. In the launcher settings, find the section Assistant and select Alice.
  3. Activate the option Show in search and Allow background activity.

The advantage of this method is that launchers often bypass manufacturer restrictions, since they work at the interface level. However, please note that this does not guarantee 100% stability - it still depends on the policy of the specific firmware.

๐Ÿ’ก

If after changing the launcher Alice still turns off, try combining this method with disabling battery optimization (Method 1).

Method 5: Using Tasker to force retention in memory

The application Tasker allows you to automate actions on Android, including forcing background processes to โ€œwake upโ€. With its help, you can force the system to keep Alice in an active state.

Configuration algorithm:

  1. Install Tasker from Google Play and provide all necessary permissions (including Special features).
  2. Create a new task (Tasks โ†’ +) and add an action App โ†’ Launch App.
  3. Select an application Yandex and check the box Recreate (this will force the system to restart the process if it was closed).
  4. Add another action Task โ†’ Wait with a delay of 5 minutes.
  5. Create a profile (Profiles โ†’ + โ†’ Event โ†’ Device Boot) that will run this task when you turn on the phone.
  6. Additionally, create a time profile (Time โ†’ Every 30 minutes), which will periodically "wake up" Alice.

This method is not ideal (consumes additional battery), but it is effective on devices with aggressive optimization, for example, on Xiaomi or Huawei. An alternative Tasker may be a free application MacroDroid with similar functions.

โš ๏ธ Attention: On some firmware (for example, ColorOS 13+) Tasker may not have sufficient rights to manage background processes. In this case, you will need rootaccess.

Method 6: Root solutions for complete control

If none of the previous methods worked, the last option remains - use superuser rights (root). This gives complete control over system processes, but voids the warranty and may disrupt the operation of some functions (for example, Google Pay).

What can you do with root:

  • ๐Ÿ”ง Change process priority - using Build.prop Editor or ADB install for Alice maximum priority (persist.sys.power.optimize_app=0).
  • ๐Ÿšซ Disable Doze Mode - by editing the file /system/build.prop (add line ro.config.override_forced_doze=0).
  • ๐Ÿ”„ Freeze system optimizers - using Titanium Backup or Lucky Patcher disable services like com.android.server.power.
  • ๐Ÿ“ฑ Use Xposed/EdXposed - module Disable Flag Secure or AppOpsX allows you to bypass restrictions on background activity.

Example command for ADB with root-access:

su

pm grant com.yandex.browser android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS

settings put global hidden_api_policy 1

These methods give maximum control, but require experience with root. actions can lead to unstable operation of the system or even bricking of the device.

๐Ÿ’ก

Root access is a last resort. Before obtaining it, make a complete backup of your data and keep in mind that some banking applications (for example, Sberbank Online) may stop working.

Frequent problems and their solutions

Even after correct configuration Alice may behave unstable. Let's consider typical situations and ways to correct them:

Problem Possible cause Solution
Alice does not respond to voice after 10 minutes of inactivity Doze Mode or battery optimization Disable optimization (Method 1) and check microphone resolution
Notifications arrive with a delay Restrictions on background activity Enable persistent notifications and autorun (Method 2)
Alice closes after locking the screen Aggressive firmware optimization (MIUI, ColorOS) Use ADB commands (Method 3) or Tasker (Method 5)
Voice assistant does not hear commands No microphone permission in the background Check your privacy settings (Method 2, point 4)
Alice only works when the application is open Android 12+ restrictions on background processes Try an alternative launcher (Method 4) or root solutions (Method 6)

If the problem persists, check:

  • ๐Ÿ“ฑ Version of the Yandex application - update it to the latest version in Google Play.
  • ๐Ÿ”„ Cache and data - clear them in the application settings (Storage โ†’ Clear cache).
  • ๐Ÿ“ก Internet connection - Alice requires stable connection for work.
  • ๐Ÿ”Š Voice settings - in the Yandex application, check whether the item Voice assistant โ†’ Work in the background is enabled.
โš ๏ธ Attention: On some devices (for example, Huawei s EMUI 12+) even after all the settings, Alice may turn off after 1-2 hours. This is due to the manufacturer's proprietary algorithms, which are not publicly documented. In this case, you either have to accept the limitations or use a separate device (for example, Yandex Station) for the voice assistant.
Is it possible to make Alice work in the background without root?

Yes, in most cases a combination of Methods 1-4 is sufficient (disabling battery optimization, ADB commands, alternative launchers). Root is only required for deep system changes, such as disabling Doze Mode at the kernel level.

Why does Alice stop working after an Android update?

Every major Android update (for example, from 12 to 13) introduces new restrictions on background activity. After upgrading the system, you need to repeat:

1) Check permissions for Yandex.

2) Disable battery optimization.

3) If necessary, repeat ADB commands.

How to check if Alice is running in the background?

There are several ways:

- Try saying "Hello, Alice" 15-20 minutes after the screen is locked.

- Look in Settings โ†’ Applications โ†’ Yandex โ†’ Battery - if it says there "Active", means the process is not suspended.

- Use the application Greenify (in analysis mode) to see if Alice is โ€œput to sleepโ€ by the system.

The battery runs out quickly after the settings. What to do?

Alice's background work really increases battery consumption. To mitigate the effect:

- In Yandex settings, disable unnecessary functions (for example, "Show weather on the lock screen").

- Use Taskerto activate Alice only during certain hours (for example, from 8:00 to 22:00).

- Install the application AccuBatteryto track which process consumes the most energy.

Does this method work for other voice assistants (Google Assistant, Siri, Marusya)?

Yes, most of the described methods (disabling battery optimization, ADB commands, Tasker) are universal and suitable for any applications that need background activity. However:

- Google Assistant already has built-in support for background work on most devices.

- Marusya (from Mail.ru) requires the same settings as Alice.

- Siri works only on Apple devices and does not apply to Android.