Modern smartphones based on Android have become incredibly smart systems that independently decide which processes are important for the user and which can be frozen to save battery. However, this “concern” often goes beyond reason: instant messengers stop sending messages, alarm clocks don’t ring, and the tracks in the player stop as soon as you turn off the screen.
The reason lies in the aggressive operation of the system Doze Mode (standby mode) and built-in battery optimization algorithms from shell manufacturers such as MIUI, One UI or EMUI. Users often encounter the fact that an application simply “falls asleep” and cannot go online until you manually open it again.
In this article, we will look in detail at how to disable power saving for specific applications so that they work uninterruptedly in the background. We will look at standard system settings, hidden developer menus and specific features of popular brands.
Why Android kills background processes
Starting with version Android 6.0 Marshmallow, Google has introduced strict restrictions on background activity. The system analyzes user behavior: if the phone is not used for a certain time, the screen is turned off and the device does not move, it goes into deep sleep mode.
In this state network activity suspends (suspends), data synchronization is blocked, and high-priority timers are postponed. This is done so that your smartphone can last a whole day without recharging, but the price of such savings is the loss of important notifications.
Smartphone manufacturers such as Xiaomi, Huawei and Samsunghave gone even further. They add their own add-ons on top of the standard one, which can forcefully close applications if they consume too many resources or simply hang in memory for a long time. Android, which can force applications to close if they consume too many resources or simply hang in memory for a long time.
⚠️ Warning: Completely disabling battery optimization for all applications will immediately lead to a sharp decrease in battery life. Act selectively, setting up only those apps that are critical for you (messengers, navigators, trackers).
Understanding how App Standby i Doze Modeworks will help you configure the device correctly. The system does not “break down”, it simply fulfills the saving scenario built into it, which in your case may be redundant.
The standard method is through the battery settings
The simplest and safest method is available in clean Android and most stock shells. You do not need root access or a connection to a computer, everything is done through the standard settings menu.
Go to the section Settings and find the item Battery or Power. Depending on the firmware version, the interface may differ, but the logic remains the same: you need to find the list of applications and change the priority of their operation.
Click on the item Battery usage or Charge consumption. You will see a list of all installed apps, sorted by energy consumption. Find the problematic application in this list, for example Telegram or Viber.
After selecting the application, you will see detailed statistics. At the bottom of the screen or in the menu (three dots in the corner) there will be an option Battery optimization or Power management. By default, the value is "Optimize".
You need to switch this option to Do not optimize or "No restrictions" mode. This will give the system a command to ignore standard power saving rules for the selected software.
☑️ Checking battery settings
Specifics of MIUI, EMUI and One UI shells
Owners smartphones from Chinese brands and Samsung often face the fact that the standard settings are not enough. The shells of these manufacturers have their own, very aggressive task managers.
On devices Xiaomi (MIUI/HyperOS) you need to go into the application Security. Inside, find the section Battery and go to Battery saving. Here you can select the “No restrictions” mode for a specific application.
There is also a function in MIUI Autostart. If it is disabled for the messenger, the system will not allow it to start after the phone is rebooted, which also blocks receiving notifications in the background.
For users Huawei and Honor (EMUI/Magic UI) the path looks like this: Settings → Battery → Launch applications. Here you need to disable automatic control for the desired app and manually enable Autostart, Indirect launch i Work in the background.
| Brand / Shell | Path to settings | Key parameter |
|---|---|---|
| Xiaomi (MIUI) | Security → Battery | No restrictions |
| Samsung (One UI) | Settings → Applications | Battery → No restrictions |
| Huawei (EMUI) | Settings → Battery | Launch applications |
| Realme (ColorOS) | Settings → Battery | High background consumption |
Interfaces are updated regularly, so item names may change slightly. If you don't find an exact match, look for sections related to power management or running apps.
Why is Samsung so aggressive in saving energy?
Samsung has implemented machine learning algorithms that analyze your habits. If you rarely open an application at a certain time of day, the system may force you to close it, considering it unused.
Configuration through accessibility and notifications
Sometimes the problem lies not only in the battery, but also in the rights to display notifications. Even if the application is running in the background, the system can block pop-up windows if this is allowed in the notification settings.
Go to Settings → Applications, select the desired app and click on the section Notifications. Make sure the "Allow notifications" switch is enabled. But that's not all.
Additional settings for each type of notification are often hidden inside the notification menu. Click on the notification type itself (for example, “Messages” or “Calls”) and check whether there is a checkmark next to Important notification or "Silent" (need to be removed).
It is also worth checking the settings Accessibility. Some applications require the right to display on top of other windows or access to the list of running processes in order to work correctly in the background.
Find the item in the settings Accessibility → Access to notifications. Make sure that your application has the right to read notifications if this is necessary for its functionality (for example, for smart watches or automated devices).
If after all the settings the notifications still do not arrive, try deleting and installing the application again. During the first installation, the system will ask about battery priority - immediately select “Do not limit.”
Using developer mode and ADB
For advanced users who do not benefit from standard methods, it is possible to manage processes through developer mode or console commands ADB (Android Debug Bridge).
First you need to activate the developer menu. Go to Settings → About phone and quickly click 7 times on the item Build number. After this, a new section will appear in the main settings menu For developers.
In this menu, find the item Limit of background processes. Make sure it is set to "Standard Limit" or "No Limit". If "No more than 1 process" is selected, the system will kill all unnecessary ones.
A more radical method is to use the ADB command through a computer. Connect your phone to the PC, enable USB debugging and enter the command to remove restrictions:
adb shell dumpsys deviceidle whitelist +com.package.name
Replace com.package.name with the real identifier of your application (it can be found in the application settings or through special utilities). This command adds the application to the system whitelist Doze Mode.
⚠️ Warning: Using ADB commands requires caution. Incorrect data entry or changes to system parameters may result in unstable operation of the device. Do this only if you understand the essence of the command.
This method is especially useful for older versions Android or custom firmware, where the graphical settings interface is cut down or does not work correctly.
Fixing applications in RAM
Another effective way to prevent the application from closing is to "consolidation" in RAM. This does not cancel battery optimization completely, but gives the process high priority when cleaning RAM.
Open the menu Recent applications (square navigation button or swipe up from bottom and hold). Find the card of the desired application.
Click on the application icon at the top of the card or hold your finger on the card itself (depending on the model). In the menu that appears, select Block or click on the lock icon.
Now, when you click the "Close all" button or clear the memory, the blocked application will remain hanging in the background. This ensures that its process will not be unloaded by the system if there is not enough free memory.
However, it is worth remembering that pinning a large number of applications can lead to the phone starting to slow down due to overflow. RAM. Use this function only for 2-3 of the most important apps.
An integrated approach (battery settings + autostart + memory lock) gives a 99% guarantee of stable operation of the application in the background on any Android smartphone.
Frequent problems and solutions
Even after following all the instructions, nuances may arise. For example, some antiviruses or third-party memory cleaners may conflict with system settings and force processes to close.
If you have CCleaner, Greenify or similar software installed, check their settings. Make sure that important applications are added to the white list of these utilities, otherwise they will work against your system settings.
The problem may also be related to the mode Data Saver. When enabled, the system limits background data transfer for all applications except those in the white list.
- 📱 Check if Airplane mode is on or poor network coverage in the bedroom.
- 🔋 Make sure the "Power Saver" mode (battery icon) in the curtain) is turned off.
- 🔄 Update the application to the latest version via Google Play or AppGallery.
- 🔒 Check whether there are restrictions on data transfer in the background in the SIM card settings.
Sometimes a simple reset of the network settings helps. This won't delete your data, but it will update your tower and Wi-Fi connection configuration, which can solve stuck connections.
Why did the settings reset after an Android update?
With major system updates (for example, from Android 13 to 14), power saving settings are often reset to factory settings for security purposes. You will have to go through the setup process again for each important application.
Does the dark theme affect the running of applications in the background?
No, the visual theme of the interface does not affect background processes. However, using the Always On Display (always on screen) can drain the battery, causing the system to become more aggressive in saving energy in other places.
Is it possible to disable optimization for system applications?
For most system services (Phone, Messages, Contacts), optimization is disabled by default. Forcibly changing their settings is not recommended, as this may disrupt the stability of the entire system.
What to do if the "Battery optimization" item is inactive (gray)?
This often happens with applications that the system considers critical, or vice versa - with those that were recently installed and have not yet been analyzed. Try actively using the application for a couple of days, then check the settings again.
Does disabling optimization eat up a lot of battery?
Depends on the application. The messenger in the background consumes minimal energy when receiving push notifications. But a navigator or music player that works without restrictions can significantly reduce the lifespan of a smartphone.