Modern smartphones on Android actively use a variety of optimization mechanisms - from limiting background application activity to aggressive battery management. These features are designed to extend battery life and improve performance, but they often get in the way: apps don't receive notifications, games lag, and background processes suddenly stop. If you are faced with the fact that optimization interferes with the normal operation of the device, you can disable it - completely or selectively.
In this article we will look at all the ways to remove optimization on Android - from standard settings to hidden developer options and commands ADB. You'll learn how to disable battery optimization for individual apps, how to remove performance restrictions, and what to do if your system automatically resets after an update. It is important to understand that completely disabling optimization can reduce battery life and increase the heating of the device - but in some cases this is a necessary measure.
Why does Android optimize the device?
Optimization for Android is a set of measures that the operating system uses to:
- ๐ Saving battery power - limit background activity, reducing the processor clock frequency, disabling unused modules (GPS, Wi-Fi scanning).
- โก Increasing performance โprioritizing resources for active applications, clearing the cache, managing RAM.
- ๐ก๏ธ Overheating protection โ throttling (artificial slowdown) of the processor at high temperatures.
- ๐ฑ Extending the life of the device โreducing the load on the battery and chipset.
Starting from Android 6.0 Marshmallow, Google has implemented a mechanism Doze Mode (sleep mode) that aggressively limits background processes when the device is not in use. In Android 8.0 Oreo there appeared restrictions on background activity for applications, and in Android 9.0 Pie โ Adaptive batterywhich analyzes the user's habits and blocks rarely used applications. Smartphone manufacturers (Samsung, Xiaomi, Huawei) add their own layers of optimization, which often leads to conflicts.
The problem is that these mechanisms do not always work correctly. For example, messengers (Telegram, WhatsApp) may not receive notifications, fitness trackers (Google Fit, Strava) may lose activity data, and games may slow down due to artificial performance limitations. If you notice such symptoms, over-optimization is most likely to blame.
How to disable battery optimization for individual applications
The easiest way to return applications to normal operation is to exclude them from the list of optimized ones. This will not disable all saving mechanisms, but will allow critical apps to run in the background without restrictions.
Instructions for pure Android (for example, Google Pixel):
- Open
Settings โ Applications and notifications โ All applications. - Select the desired application (for example, Telegram).
- Tap on
Battery โ Battery optimization. - In the drop-down menu, select
Do not optimize.
On smartphones Samsung the path is different:
- Go to
Settings โ Device maintenance โ Battery. - Click on the three dots in the upper right corner and select
Settings. - Tap
Sleep mode for applicationsand add the desired apps to the exclusion list.
For devices Xiaomi, Redmi i POCO your approach:
- Open
Settings โ Battery and performance โ Battery management. - Select
Selecting applicationsand mark those for which you want to disable optimization. - Turn on the switch
No restrictions.
Notifications arrive without delay|
The application does not close in the background|
No lags when switching between tasks|
The battery discharges no faster than 10-15%-->
If after these steps the application still behaves incorrectly, the manufacturer may have blocked manual optimization control. In this case, it will help ADB (we'll talk about it below).
โ ๏ธ Attention: On some devices (Huawei, Honor), after updating the firmware, optimization settings are reset. Check exceptions after each update.
Disabling adaptive battery and background activity
Adaptive battery is a function that analyzes your habits and limits resources for rarely used applications. It is useful for saving battery, but it often makes mistakes, blocking important processes. You can disable it like this:
On pure Android:
- Go to
Settings โ Battery โ Adaptive settings. - Disable the switches
Adaptive batteryandLimit background activity.
On Samsung:
- Open
Settings โ Device maintenance โ Battery. - Tap on the three dots โ
SettingsโAdaptive battery. - Disable the function.
On Xiaomi/Redmi/POCO:
- Go to
Settings โ Battery and performance โ Battery settings. - Disable
Adaptive batteryiRestriction of running in the background.
After disabling the adaptive battery, applications will be allowed to run in the background without restrictions, but battery life will be reduced by 10โ25% (depending on the model).
What is Doze mode and how to disable it?
The mode Doze is activated when the device is not used for a long time (for example, at night). In this mode:
- Data synchronization is disabled.
- Background tasks are suspended.
- Network access is limited.
You can completely disable Doze only after ADB (see section below), but this is highly not recommended - the battery will drain 2-3 times faster even in standby mode.
| Optimization function | What it does | How to disable | Consequences |
|---|---|---|---|
| Adaptive battery | Limits resources for rarely used applications | Settings โ Battery โ Adaptive settings | Increases battery consumption by 10-20% |
| Limit background activity | Closes applications in the background after 5-10 minutes of inactivity | Settings โ Applications โ [Select application] โ Battery | Applications remain active, but drain the battery faster |
| Doze Mode | Deep sleep mode for long periods of inactivity | Only after ADB | The battery drains 2-3 times faster in standby mode |
| CPU throttling | Reduces performance when heated | Developer settings โ Disable throttling | The device may overheat |
Using ADB to deeply disable optimization
If the standard settings do not help, you will have to connect to the device via ADB (Android Debug Bridge) (This method allows you to disable optimization at the system level, but requires a computer and basic skills in working with the command line). line.
What you will need:
- ๐ป Computer with drivers installed Android i
ADB. - ๐ USB cable (preferably original).
- ๐ฑ Debugging enabled via USB on a smartphone (
Settings โ About phone โ Build number(tap 7 times) โDeveloper settings โ USB debugging).
Step-by-step guide:
- Connect your smartphone to the computer and confirm permission to debug.
- Open the command line (
cmdon Windows orTerminalon macOS/Linux). - Enter the command to check connections:
adb devicesWait for the device serial number to appear.
- To disable optimization for a specific application (for example, Telegram), do:
adb shell dumpsys deviceidle whitelist +org.telegram.messenger - To completely disable the mode Doze (not recommended!):
adb shell dumpsys deviceidle disable - To disable the adaptive battery:
adb shell settings put global adaptive_battery_management_enabled 0
After rebooting the device, all changes made via ADB will be reset. To make them permanent, you need to create a script that will be executed when the system starts.
โ ๏ธ Attention: Some manufacturers (for example, Huawei) block commands ADBrelated to optimization. In this case, only getting root access or custom firmware will help.
If after the commands ADB the application still closes in the background, try additionally disabling optimization via Settings โ Accessibility โ Accessibility Services and add the problematic application to the "Ignore" list optimization."
Disabling performance optimization (throtting)
Many smartphones artificially limit processor performance to prevent overheating or extend battery life. This is noticeable in games, when rendering videos or running heavy applications. You can disable throttling through developer settings:
How to enable developer mode:
- Go to
Settings โ About phone. - Find item
Build numberand tap on it 7 times. - Enter the PIN code or pattern if required.
Now open Settings โ System โ For Developers and find the following parameters:
- ๐ง
Disable absolute frequency limit(if available) - removes restrictions on the maximum processor clock frequency. - ๐ฅ
Disable thermal zone throttling- prevents performance degradation when heated. - ๐ฎ
Force the use of 4x MSAAโimproves graphics in games (but increases load). - โก
Do not turn off the screen during chargingโuseful for long tasks.
On devices Samsung you can additionally disable Game Optimizing Service (GOS) a service that limits performance in games. To do this:
- Open
Settings โ Applications. - Tap on three dots โ
Show system applications. - Find
Game Optimizing Serviceand disable it.
Disabling throttling may cause the device to overheat, especially in games. Monitor the processor temperature using applications like CPU Monitor or AIDA64.
Reset optimization after firmware update
One โโof the most common problems is automatically reset optimization settings after update Android. Manufacturers often return all settings to factory settings to โimprove the user experience.โ To avoid this, you can:
- ๐ Create a backup copy of the settings using
ADB:adb pull /data/system/batterystats.bin batterystats_backup.binAfter updating, restore the file:
adb push batterystats_backup.bin /data/system/batterystats.binadb shell chmod 660 /data/system/batterystats.bin - ๐ Use automation (for example, Tasker or MacroDroid) to reapply the settings after a reboot.
- ๐ซ Disable automatic firmware update in the system settings (if this is critical).
On some devices (Xiaomi, Realme), disabling the function helps MIUI Optimization (only for firmware with an unlocked bootloader). To do this, through ADB execute:
adb shell settings put global miui_optimization 0
โ ๏ธ Attention: Backing up system files may disrupt the operation of the device if the version Android has changed. Before restoring, check compatibility.
What to do if optimization cannot be disabled?
Some manufacturers (especially Huawei, Honor, Oppo) are so aggressive in blocking the ability to disable optimization that standard methods do not work. In this case, there are several options left:
- ๐ Get root access and manually edit system files (for example,
/system/build.prop). This is risky and voids the guarantee. - ๐ฑ Install custom firmware (for example, LineageOS), where there is no aggressive optimization. Requires unlocking the bootloader.
- ๐ Use alternative launchers (for example, Nova Launcher), which allows you to bypass some restrictions.
- โ๏ธ Use workarounds โfor example, run problematic applications through Island (sandbox) or Shelter.
If you are not ready for such drastic measures, try the following workarounds:
- Add the application to autorun exceptions (on Xiaomi:
Settings โ Permissions โ Autorun). - Enable it high priority notifications.
- Launch the application manually before important events (for example, before training for a fitness tracker).
On devices Huawei there is a hidden menu for managing optimization. To open it:
- Open the application
Telephone. - Enter the code:
##2846579##. - Go to
ProjectMenu โ Background Settingsand disable optimization for the desired applications.
FAQ: Frequently asked questions about disabling optimization on Android
Is it possible to disable optimization without root access?
Yes, in most cases, standard settings or commands are sufficient. ADBHowever, on some devices (for example, Huawei), the manufacturer blocks these features, and then you cannot do without root.
Why after disabling optimization, does the battery drain faster?
Battery optimization limits background activity and reduces the processor clock speed. After turning it off, applications consume more resources, which leads to an increase in battery consumption by 15โ30%.
How to check if optimization works for a specific application?
Use command ADB:
adb shell dumpsys deviceidle whitelist
It will show a list of applications excluded from optimization. You can also use applications like BetterBatteryStats or AccuBattery to monitor background activity.
Is it safe to disable Doze Mode?
Full disabling Doze Mode is not recommended, as this will significantly reduce battery life. It is better to add only critical applications to the white list.
Why do games slow down even after disabling optimization?
Perhaps the device is running Game Optimizing Service (on Samsung) or similar services on other brands. Disable them in the settings or via ADBAlso check the processor temperature - throttling may turn on due to overheating.