Background running of applications on Android is at the same time a benefit and a curse. On the one hand, it allows instant messengers to show notifications in real time, music services to play tracks when the screen is locked, and fitness trackers to record steps around the clock. On the other hand, uncontrolled background processes drain the battery in a few hours, slow down the system and eat up traffic. The problem is complicated by the fact that smartphone manufacturers (Samsung, Xiaomi, Huawei) actively modify the standard behavior Android, adding their own optimization mechanisms - often too aggressive.

In this article we will look at how properly configure background work on any device running Android 10โ€“14, including branded shells One UI, MIUI, ColorOS i EMUI. You'll learn which permissions really matter for apps, how to get around manufacturers' excessive restrictions without root, and why even smart battery optimization systems sometimes require manual adjustments. We will pay special attention hidden settingsthat do not lie on the surface, but greatly affect the stability of work.

Why does Android limit background work?

Starting s Android 8.0 Oreo, Google tightened control over background processes through the Background Execution Limitsmechanism. This was done to combat two key problems:

  • ๐Ÿ”‹ Battery consumption: Applications in the background could uncontrollably consume resources, reducing battery life.
  • ๐Ÿ“ถ Traffic and productivity: Background tasks occupied the processor, RAM and mobile data, slowing down main operations.

However, manufacturers went further. For example, Xiaomi v MIUI has added a function No restrictions for individual applications, but by default it blocks autorun of almost everything. Samsung v One UI uses Adaptive batterywhich can โ€œfreezeโ€ applications if they are not used regularly. A Huawei v EMUI/HarmonyOS generally hides some of the background settings behind the โ€œengineering menuโ€.

โš ๏ธ Attention: On devices with Android 12+ and shells from manufacturers (for example, Realme UI 4.0 or HyperOS) the paths to the settings may differ. If you do not find the specified item, use Search by settings (magnifying glass icon in the upper right corner).

To understand whether you need to interfere with the settings, check:

  • ๐Ÿ“‰ Applications stop updating data (for example, Telegram does not show new messages without opening).
  • ๐Ÿ”„ Music or podcasts are interrupted when the screen is locked.
  • ๐Ÿšซ Notifications arrive with a delay or do not arrive at all.
๐Ÿ“Š What background problem is bothering you more often?
Applications do not update data
The battery runs out quickly
Notifications do not arrive
Music is interrupted on the locked screen
Another problem

Basic settings background work in pure Android

If you have a device with a โ€œcleanโ€ Android (for example, Google Pixel, Nokia, Motorola), setting up background processes comes down to three key sections:

1. Application permissions

Go to Settings โ†’ Applications โ†’ [Select an application] โ†’ Permissions. Two points are important here:

  • ๐Ÿ“ฑ Work in the background: Allows the application to perform tasks when it is not active.
  • ๐Ÿ”„ Autostart: Allows the application to start automatically when turning on the device.

For instant messengers (WhatsApp, Viber), music services (Spotify, YouTube Music) and fitness trackers (Google Fit, Strava) these permissions must be enabled. For most other applications they can be disabled.

2. Battery optimization

Path: Settings โ†’ Battery โ†’ Battery optimization. Here you will see a list of applications with the ability to select:

  • ๐Ÿ”‹ Optimized (restrictions apply).
  • โšก Not optimized (background running allowed).

Critical nuance: Even if you have disabled optimization for an application, the system may enable it again after an update Android or a settings reset. Check this section once every 1โ€“2 months.

3. Background data restrictions

B Settings โ†’ Network and Internet โ†’ Data transfer โ†’ Data usage you can limit background traffic for individual applications. This is useful if you have a limited tariff, but it can disrupt the operation of services like Google Maps (updating traffic jams) or Gmail (synchronizing emails).

Open permissions for key applications

Disable battery optimization for instant messengers and music services

Check background traffic restrictions

Reboot the device to apply changes-->

Settings features on Samsung devices (One UI)

Samsung adds One UI several unique functions that may conflict with standard settings Android. The main ones:

1. Adaptive battery mode

Path: Settings โ†’ Device maintenance โ†’ Battery โ†’ Settings (โš™) โ†’ Adaptive battery. This feature analyzes your habits and limits background work for rarely used applications. Problem: sometimes it mistakenly blocks important services.

To exclude an application from optimization:

  1. Open Settings โ†’ Applications.
  2. Select the desired application โ†’ Battery.
  3. Tap Optimize battery usage and select All applications.
  4. Find your application in the list and disable slider.

2. Sleepy applications

Function Sleeping applications (path: Settings โ†’ Device maintenance โ†’ Battery โ†’ Background usage) completely blocks background work for selected apps. Be careful: if you add here WhatsApp, you will stop receiving notifications.

To remove an application from the list:

  1. Open the section Sleeping applications.
  2. Click on the trash can icon (๐Ÿ—‘) next to the unnecessary application.
  3. Confirm the action.

3. Deep Sleeping Apps

This is a โ€œstrengthenedโ€ version of sleeping applications. Applications in this list not only do not work in the background, but also do not receive notifications all. To check the list:

  1. Go to Settings โ†’ Applications.
  2. Click on the three dots (โ‹ฎ) โ†’ Special access โ†’ Battery optimization.
  3. Select All applications and find those with status Deep sleep.
โš ๏ธ Attention: On devices Samsung s One UI 5.0+ after resetting the settings or updating the software, all exceptions from battery optimization are reset. Always check the settings after updates.
๐Ÿ’ก

If after setting up the background notifications, all They still donโ€™t arrive, try turning off the power saving mode in the notification shade. Sometimes it overrides individual application settings.

Setting up background work on Xiaomi, Redmi and POCO (MIUI/HyperOS)

Shell MIUI (and its new version HyperOS) is famous for its aggressive battery optimization. Here, background work is blocked by default for almost all applications except system ones. To fix this:

1. Autorun and background activity

Path: Settings โ†’ Applications โ†’ Manage applications โ†’ [Select an application] โ†’ Autorun.

  • ๐Ÿ”„ Enable Autostart (allows startup when turned on device).
  • ๐Ÿ“ฑ Enable Background activity (allows work in the background).

For MIUI 14+ and HyperOS the path may differ: Settings โ†’ Battery and performance โ†’ Battery management โ†’ Select application.

2. Locking in the background

There is a hidden function MIUI there is a hidden function Lock in backgroundthat kills application processes when the screen is locked. To disable it:

  1. Open Settings โ†’ Battery and performance โ†’ Battery settings.
  2. Select Lock in background.
  3. Find the application you need and disable blocking for it.

3. Battery optimization (hidden settings)

There is an undocumented mode MIUI there is an undocumented mode No restrictionsthat completely disables optimization for the application. To activate it:

  1. Go to Settings โ†’ Applications โ†’ Application management โ†’ [Select application] โ†’ Battery.
  2. Select No restrictions (may be called No optimization).

Important: This mode significantly increases battery consumption. Use it only for critical applications (for example, Google Services for correct operation Android Pay).

Function Path to MIUI 13 Path to HyperOS Recommendation
Autostart Settings โ†’ Applications โ†’ Management โ†’ Autostart Settings โ†’ Applications โ†’ Autostart Enable for messengers and services
Background activity Settings โ†’ Battery โ†’ Application selection Settings โ†’ Battery and performance โ†’ Battery management Enable for music and navigation applications
Background lock Settings โ†’ Battery โ†’ Background lock Settings โ†’ Battery โ†’ Advanced Disable for all important applications
What to do if the settings are reset after the update?

On devices Xiaomi after the update MIUI/HyperOS all background permissions are reset. To avoid this:

1. Before updating, make a backup copy of the list of applications with permissions (you can take a photo of the screen).

2. After updating, manually restore the settings.

3. Use applications like AutoStart (from Play Market), which can automate the activation of autorun.

Background work on Huawei and Honor (EMUI/Magic) UI)

Huawei and Honor use their own shell EMUI (or Magic UI for Honor), which is even stricter about background processes. Even standard applications are here. data-i="242">may be limited. Google may be limited.

1. Application protection

Path: Settings โ†’ Applications โ†’ [Select application] โ†’ Battery โ†’ Application protection.

  • ๐Ÿ›ก Enable Protected (allows background work).
  • ๐Ÿ”„ Enable Autorun.
  • ๐Ÿ“ฑ Enable Secondary launch (allows launch by event, for example, when a push notification is received).

2. Launch optimization

There is a function EMUI there is a function Launch controlthat divides applications into three categories:

  • ๐Ÿš€ Automatic launch (autostart and background work allowed).
  • โณ Manual launch (background work is limited).
  • โŒ Forbidden launch (completely blocked).

To change the category:

  1. Go to Settings โ†’ Battery โ†’ Launch applications.
  2. Select the application and install Automatic launch.

3. High performance mode

If background tasks are critical (for example, for Navitel or Waze), you can enable the mode high performance:

  1. Open Settings โ†’ Battery โ†’ Performance modes.
  2. Select High performance.

On devices Huawei without services Google (for example, Mate 50 Pro) background work for applications from AppGallery may be limited by default. Check the settings after installing each new application.

How to check if an application is running in the background?

To make sure that the settings are applied correctly, use the following methods:

1. Check through the developer settings

Activate Developer mode (click 7 times on Build number in Settings โ†’ About phone), then:

  1. Open Settings โ†’ System โ†’ For developers.
  2. Find the section Services or Processes.
  3. Check whether your application is displayed in the list of running processes.

2. Using ADB commands

For advanced users: connect the device to the PC and run the command:

adb shell dumpsys battery unplug

This command will show which applications have been limited by the battery optimization system.

3. Testing notifications

The simplest way to check. background work of instant messengers:

  1. Open the application (for example, Telegram).
  2. Close it (not with a swipe from multitasking, but with the "Back" button).
  3. Ask a friend to send you a message.
  4. If a notification has arrived, background work is configured correct.

1. Notification permissions in the application settings.

2. Account synchronization settings (for Gmail, Calendar).

3. Operation of services Google Play (sometimes their limitation breaks push notifications).-->

Problems and solutions: what to do if the settings do not work?

Even after correctly setting up background work, problems may arise. Let's consider typical scenarios and ways to solve them.

1. The application is killed when the screen is locked

If the music or navigator is interrupted when turned off. screen:

  • ๐Ÿ”ง Check the settings Battery optimizations (see sections above).
  • ๐Ÿ“ฑ Add the application to optimization exceptions.
  • ๐Ÿ”‹ Disable the power saving mode in the notification shade.

2. Notifications arrive with a delay.

A common problem on devices Xiaomi i Huawei. data-i="327">๐Ÿ”” Enable

  • ๐Ÿ”” Turn it on Priority notifications for the application.
  • ๐Ÿ“ถ Check if Google Play Services is blocking background work (sometimes reinstalling updates for this service helps).
  • ๐Ÿ”„ Use alternative clients for instant messengers (for example, Telegram X instead of the usual Telegram).

3. Background tasks do not run on Android 12+

In new versions Android added additional restrictions. If the application does not updates data:

  • ๐Ÿ”ง Check the resolution Exact location (sometimes it is required for background work).
  • ๐Ÿ“ฑ Enable Unlimited access to data in settings SIM cards.
  • ๐Ÿ”‹ Disable the function Adaptive battery in the battery settings.
โš ๏ธ Attention: On some devices (for example, Realme s Realme UI) background work may be blocked due to function Super power saving. It activates automatically when the battery charge is low (usually below 15%) and kills all background processes except calls and SMS.

FAQ: Frequently asked questions about background work on Android

Why music interrupts when I lock the screen?

Most likely, the application has been added to the list of optimized ones or blocked by the system. Check: Battery settings for the music player (disable optimization). data-i="359">instead

  1. Battery settings for music player (disable optimization).
  2. Permissions to run in the background.
  3. Energy saving settings in the notification shade.

If the problem persists, try another application (for example, Poweramp instead of Spotify).

How to completely disable background work for all applications?

This is a radical solution, but if you need maximum battery savings:

  1. Open Settings โ†’ Applications.
  2. For each application, disable Background activity and Autorun.
  3. Enable the mode Energy saving in the notification shade.

โš ๏ธ After this, notifications, data synchronization and background tasks will stop working.

Is it possible to set up background work without root access?

Yes, all the methods described in the article work without root access. However, on some devices. (for example, Xiaomi s MIUI) may be required:

  • Use ADB commands to unlock hidden settings.
  • Installing third-party utilities like AutoStart or Battery Optimizer.

root access provide more options (for example, complete disabling Doze Mode), but they are not required for basic settings.

Why were all background settings reset after updating Android?

This is standard behavior Android for major updates (for example, from version 12 to 13). The system resets all battery optimization exceptions and autorun permissions. To avoid problems:

  1. Before updating, take screenshots of the current settings.
  2. After updating, manually restore. permissions.
  3. Use applications like MacroDroid to automate the inclusion of the necessary functions.
How to check which application consumes the most battery in the background?

Open Settings โ†’ Battery โ†’ Battery usageHere you will see a list of applications indicating their consumption. in the background. Pay attention to:

  • ๐Ÿ“Š Percentage of battery consumption.
  • โณ Operating time in the background.
  • ๐Ÿ“ถ Amount consumed traffic.

If an application consumes too much, limit its background activity.