Mobile operating system Android version 10 (Q) made significant changes to the resource management mechanism, which directly affected the behavior of apps after the device was rebooted. Users often encounter a situation where important messengers, navigators or activity trackers stop working immediately after turning on the smartphone, requiring manual startup. This is due to stricter power saving policies and background restrictions implemented by developers to extend battery life. However, for many use cases, having the feature is critical. Without it, it is impossible to receive real-time notifications or use the phone as a full-fledged on-board computer in a car. In this guide, we will look in detail at how to regain control over the launch of apps, using both built-in system tools and manufacturer-specific settings. Google to extend battery life.

However, for many use cases, having a function autorun is critical. Without it, it is impossible to receive real-time notifications or use the phone as a full-fledged on-board computer in a car. In this guide, we will look in detail at how to regain control over the launch of apps, using both built-in system tools and manufacturer-specific settings.

It is worth understanding that there is no single โ€œEnable allโ€ button in pure Android 10 here. The setup process depends on the specific shell installed on your device, be it MIUI, OneUI or OxygenOS. We will look at universal action algorithms that will help solve the problem in most cases.

The architecture of background processes in Android 10

Starting with this version, the system has introduced an aggressive memory management mechanism known as App Standby Buckets. It categorizes applications based on how often they are used and limits background activity for those apps that are rarely launched by the user. If you have not opened the application for several days, Android may completely block its ability to start on its own when the system boots.

In addition, the work with Broadcast Receivers - components that listen to system events, such as loading completion (BOOT_COMPLETED) has been redesigned. Now many implicit broadcasts are no longer delivered to applications running in the background. This means that even if the developer has specified the need for autostart in the code, the operating system may ignore this request in order to save battery power.

To bypass these restrictions, you must explicitly indicate to the system that a particular application is important. This is done by granting special permissions and excluding the app from optimization lists. Without these actions, Android 10 will forcefully "kill" processes in an attempt to free up RAM.

๐Ÿ’ก

If your application is critical (for example, an alarm or tracker), add it to the Do Not Disturb exceptions so that the system does not limit its operation at night.

Universal method through application settings

The first step in solving the problem is to check the basic permissions for each specific application. In most shells, this path is hidden deep in the settings menu. You need to find the required software in the general list and manually activate the right to automatic start.

The algorithm of actions usually looks like this: go to Settings, select section Applications or Application Manager. Find the app you are interested in in the list, for example Telegram or Yandex.Navigator. Inside the application card, look for an item related to launch or autorun.

  • ๐Ÿ” Open menu Settings โ†’ Applications โ†’ Special. access.
  • ๐Ÿš€ Find the item Autostart and move the switch to the active position.
  • ๐Ÿ›ก๏ธ Check permissions for running in the background in the section Battery.
  • ๐Ÿ“‚ Make sure that the application is not frozen in the system manager.

It is important to note that on some devices with a clean Android such a switch may not be present. In this case, the system relies on an adaptive battery. You will need to go to the battery settings, select "Adaptive mode" and make sure that the desired application does not fall under restrictions.

๐Ÿ“Š What shell is installed on your smartphone?
MIUI (Xiaomi)
OneUI (Samsung)
OxygenOS (OnePlus)
Pure Android (Pixel)
Other

Specifics manufacturers: Xiaomi, Samsung, Huawei

Chinese manufacturers, such as Xiaomi and Huawei, are famous for their extremely aggressive energy saving methods, which often break the standard operating logic Android. In the shell MIUI there is a separate โ€œSecurityโ€ application, where a powerful autorun manager is hidden. If you do not enable the resolution there, no other settings will help.

In devices Samsung with a shell OneUI the situation is a little different. Here the emphasis is on โ€œSleep Modeโ€ and โ€œDeep Sleepโ€. Apps placed in the deep sleep list will never launch automatically unless you manually open them. It is necessary to exclude important apps from this list in the battery settings.

โš ๏ธ Attention: Shell interfaces are constantly updated. Menu items may be named differently or moved to different sections after a firmware update. If you do not find the described path, use the search in the phone settings.

For owners of Huawei i Honor the โ€œLaunch applicationsโ€ section is critically important. It has three switches: "Auto-run", "Indirect launch" and "Work in the background". For stable operation, you must activate all three options for the target application. Disabling any of them will lead to failures in receiving notifications.

Why do manufacturers limit autostart so much?

Smartphone manufacturers are striving to improve battery life in marketing tests. Blocking background processes is the easiest way to achieve figures of 2-3 days of autonomy, even at the cost of functionality.

Battery optimization and exceptions from sleep mode

Even if you have allowed autorun, the system may stop the application after a few minutes of operation due to battery optimization settings. B Android 10 this mechanism works at the kernel level. To prevent this, you need to switch the application to "No restrictions" or "Do not optimize" mode.

Go to Settings โ†’ Battery โ†’ Advanced settings (or Battery usage). Find your application in the list. By default, the value may be "Optimized". Change it to Unlimited. This will give the app the green light to use CPU resources even when the screen is off.

Manufacturer Path to setup Required action
Xiaomi (MIUI) Security โ†’ Permissions โ†’ Autorun Enable switch
Samsung (OneUI) Settings โ†’ Battery โ†’ Sleep applications Remove "Deep sleep" from the list
Huawei (EMUI) Settings โ†’ Battery โ†’ Launch applications Disable "Auto-control" and enable all 3 item
OnePlus (OxygenOS) Settings โ†’ Battery โ†’ Battery optimization Select "Do not optimize"

After making changes, it is recommended to force close the application and start it again for the new settings to take effect. It is also useful to restart the device to check whether the process will remain in memory after turning on the screen.

โ˜‘๏ธ Checking the power saving settings

Done: 0 / 1

Using ADB to force enable

If the GUI does not provide the necessary options, you can use the debugging tool ADB (Android Debug Bridge). This method requires connecting your smartphone to a computer and having basic knowledge of the command line, but it gives maximum control over the system.

Using ADB, you can change the power saving settings for a specific package, ignoring shell restrictions. First you need to enable "USB Debugging" in the "Developer Options" menu. Then connect your phone to the PC and enter a command to list all the packages to find the exact name of the application you want.

adb shell pm list packages | grep "name"

Once the package name is found (for example, com.telegram.messenger), you can use command dumpsys to check the current battery status or command am to force the service to start. However, the most effective way is to remove restrictions through the command pmalthough Android 10 some of these functions have been limited for security reasons.

โš ๏ธ Attention: Working with ADB requires caution. Entering commands incorrectly may result in system instability or reset. Use this method only if you are confident in your actions.

For advanced users, it is possible to change global settings via settings put global, but this may require root access. Without superuser rights, access to system tables that regulate autorun is often denied. Therefore, the ADB method is best considered as an auxiliary diagnostic tool.

๐Ÿ’ก

Using ADB allows you to bypass interface limitations, but does not guarantee operation on all devices due to differences in firmware customization by manufacturers.

Third-party utilities and automation

When built-in tools are powerless, automation applications such as Tasker, MacroDroid or Automatecome to the rescue. These apps can emulate user actions or use special system triggers to launch desired applications when certain events occur, for example, when a charger is connected or Wi-Fi is turned on.

Setting up a scenario in MacroDroid looks intuitive. You create a new macro, select the "Device Boot Complete" trigger, and add the "Launch Application" action. Select the desired software from the list and save your profile. This approach often bypasses standard restrictions, since the system believes that the launch is initiated by a trusted automation application.

  • ๐Ÿค– Download MacroDroid or Tasker from the application store.
  • โš™๏ธ Grant the utility rights to access usage statistics and special possibilities.
  • ๐Ÿ“ Create a macro with a trigger Device Boot.
  • โ–ถ๏ธ Add an action Launch Application and select a target.

It is worth considering that the automation applications themselves also require setting up autorun and battery saving exceptions, otherwise even their script. This creates a chain of dependencies that needs to be configured correctly in the system menu.

Is it safe to use applications for automation?

Yes, popular utilities like Tasker are safe if you download them from official sources. They do not require root access for basic functions. However, they consume additional battery life, as they constantly monitor the system state in anticipation of a trigger.

Why was autorun reset after updating Android?

When a major update to the Android version, the system often resets application permissions to default values โ€‹โ€‹for security reasons. This is standard behavior that requires re-configuring all exceptions and permissions for autorun.

Does autorun affect the speed of the smartphone?

Yes, a large number of applications that launch simultaneously with the system can increase the loading time by 10-20 seconds and cause short-term slowdowns in the interface immediately after turning on the screen. It is recommended to leave only really necessary apps in autorun.

Is it possible to enable autorun for all applications at once?

There is no such function in the standard Android interface. Some third-party launchers or tweakers with root access may offer this option, but this is highly not recommended as it will quickly drain the battery and run out of RAM.

What to do if the application is still unloaded from memory?

Try pinning it to the multitasking menu (usually by swiping down or clicking on the lock icon in the list running applications). This gives the system a signal that this process is a priority and should not be closed when clearing memory.