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.
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:
- Open
Settings โ Applications. - Select the desired application โ
Battery. - Tap
Optimize battery usageand selectAll applications. - 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:
- Open the section
Sleeping applications. - Click on the trash can icon (๐) next to the unnecessary application.
- 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:
- Go to
Settings โ Applications. - Click on the three dots (โฎ) โ
Special accessโBattery optimization. - Select
All applicationsand find those with statusDeep 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:
- Open
Settings โ Battery and performance โ Battery settings. - Select
Lock in background. - 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:
- Go to
Settings โ Applications โ Application management โ [Select application] โ Battery. - Select
No restrictions(may be calledNo 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:
- Go to
Settings โ Battery โ Launch applications. - 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:
- Open
Settings โ Battery โ Performance modes. - 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:
- Open
Settings โ System โ For developers. - Find the section
ServicesorProcesses. - 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:
- Open the application (for example, Telegram).
- Close it (not with a swipe from multitasking, but with the "Back" button).
- Ask a friend to send you a message.
- 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 notificationsfor 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 datain settings SIM cards. - ๐ Disable the function
Adaptive batteryin 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
- Battery settings for music player (disable optimization).
- Permissions to run in the background.
- 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:
- Open
Settings โ Applications. - For each application, disable
Background activityandAutorun. - Enable the mode
Energy savingin 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:
- Before updating, take screenshots of the current settings.
- After updating, manually restore. permissions.
- 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.