Permissions in Android

The First launch

Android 11 Settings Guide

Android 10 Settings Guide

Android 10 Xiaomi Settings Guide

Android 10 Honor Settings Guide

Android 9 Settings Guide

Android 9 Samsung Settings Guide

Android 9 Xiaomi (MIUI 11) Settings Guide

1. Autostart Permission

2146

2. App Permissions

3240

3. Notifications Permissions

3240

4. Battery Permission

2160

Check granted permissions

Samsung

App killing was significantly increased on Samsung's Android Pie flavor. Adaptive battery is much more eager than in stock Android.
After 3 days any unused app will not be able to start from background (e.g. alarms will not work anymore). For the proper work user should turn off Adaptive battery and Put apps to sleep options using instructions below.

Important: Even when these options get disabled, Samsung may re-enable them later after a firmware update!

Samsung Android 9 (Pie) and newer devices

For Samsung Pie devices you should verify 2 main settings:

  • Allow background activitiy and Optimize battery usage
  • Allow background activity

Allow application work in the background:

  1. Go to SettingsApps
  2. Find your application and tap on it
  3. Tap on Battery
  4. Switch on Allow background activity

Steps on Samsung Galaxy S20:

1647

Optimize battery usage
To exclude application from battery optimization:

  1. Navigate to your app’s battery screen (1-3 steps from Allow background activity)
  2. Tap on Optimize battery usage if it says Optimize battery
  3. Find your application in the list and switch off toggle
  4. Navigate back to app’s battery screen and check that Optimize battery usage says Not optimized

Steps on Samsung Galaxy S20:

1664

Samsung Pre-Pie Android versions

With the introduction of Galaxy S8 (and with some earlier experiments), Samsung has introduced a flawed attempt at prolonging battery life called App power monitor.

For your apps to work correctly, please whitelist them in App power monitor.

How to do that:
Open the Settings > Device maintenance > Battery and at the bottom you’ll see a list of your most frequently used apps. You can manage apps individually or in a group by selecting them and tapping the big Save power button. Apps that are sleeping will appear in the Sleeping apps list at the bottom (tap it to expand the list). Scrolling further — all the way to the very bottom — and you’ll find Unmonitored apps. These are apps that you specifically want to exclude (whitelist) from App power monitor evil reach.

In the Unmonitored apps menu, you can tap the 3-dot menu to add or delete apps from the list. Rather than bothering with any of that, you can just turn off the App power monitor feature completely as it has little-to-no impact on battery life and only serves to handicap the normal functioning of your Galaxy device.

It’s excessive and in some cases downright misleading, using scare tactics to keep you reliant on Samsung’s software when other Android devices get by just fine without it.

Other

Phone settings > Applications > select three dot menu (top right corner) > Special Access > Optimize Battery usage > Find your app on the list and make sure that it is not selected.

Oppo

Turn OFF Battery Optimization for your app

Important! Settings vary across various Oppo devices and versions of the operating system.

Option #1

1756

Option #2

1690

Other

If the above options are not there on your device, try these actions:

  1. Go to Settings → Battery and Storage → Battery Manager → Power consumption details → Optimize for excessive power consumption.
  2. Uncheck your app

If you don’t have the above, try this:

  1. Go to Settings → System Notifications → System Notifications → System Notifications
  2. Scroll to your app and Turn ON the button next to it.

If you don’t find the options above try this:

  1. Go to Settings → Apps → Advanced → Ignore battery optimizations
  2. Scroll to your app and Turn ON

Add your app to Startup Manager

  1. Open Settings → Security Center → Privacy Permissions → Startup manager
  2. Scroll down to Start-up apps disallowed
  3. Scroll down to your app and switch on the button next to it.

If you don’t find a Startup Manager in settings, search for an app called Phone Manager on your device.

  1. Launch Phone Manager app → Privacy Permissions → Startup Manager → Your app
  2. Switch on the button next to your app

Huawei

📘

Important

Some of the latest Huawei devices do not support Google Services (source)
Telematics App isn't able to work without Google Services.

Huawei devices without Google Services:
P40, P40 Pro, P40 Pro Plus, Mate 30, Mate 30 Pro, Mate 30 Pro 5G, Nova 6 SE, Nova 7i, Nova 7 SE 5G, Nova 7 5G, Nova 7 Pro 5G, Y7p, Mate Xs, MatePad Pro 5G, MatePad 10.4, MatePad T8, P40 Lite, Enjoy 10e, Y5p, Y6p, Y8p

Honor devices without Google Services
30, 30 Pro, 30 Pro Plus, X10 5G, Play 4 Pro, 8A Prime, 9C, 9A, 9S, 4T, 4T Pro, Play 9A, 30s, 9X Pro, 9X Lite, V30, V30 Pro, V6

On some phones with EMUI 9+ (Android P+) Huawei introduced a new task killer app called PowerGenie which kills everything not whitelisted by Huawei and does not give users any configuration options.
We've got mixed reviews on Huawei - the PowerGenie app is present on some EMUI 9+ systems, while on others it isn't.

Traditionally, Huawei and their Android customization called EMUI belongs to the most troubled on the market with respect to non-standard background process limitations. On default settings, background processing simply does not work right and apps working in background will break.

In some of the EMUI versions (we know about EMUI 4 and we've got some reports about EMUI 5 and now the latest EMUI 9) no user accessible settings can prevent the system to break background processing longer than 60 minutes. This is done by a custom service called HwPFWService (and in EMUI 9 this is called PowerGenie) developed and bundled with EMUI by Huawei.

App Launch on some EMUI 8, 9 and 10 devices (Huawei P20, Huawei P20 Lite, Huawei Mate 10, Huawei Honor 9 Lite, Huawei Mate 9 Pro etc.)

  1. Go to your phone's Settings.
  2. Tap on Battery.
  3. Tap on Launch (Honor 9 Lite, Mate 9 Pro) or App Launch (P20, P20 Lite, Mate 10).
  4. Set your app to Manage manually.
  5. Turn on every option for your app.
1672

Turn off battery optimization

1448 1560

Startup manager
Startup manager seems to be a new kid on the block, preventing apps run automatically after the phone starts up.

1204

Xiaomi

Traditionally, Xiaomi and their Android customization called MIUI belongs to the most troubled group on the market with respect to non-standard background process limitations and non-standard permissions. In default settings, background processing simply does not work right and apps using them will break.

Autostart

The main restrictive setting is called Autostart. It may vary on different Xiaomi smartphones.

Option #1

1950

Option #2

1826

App permissions and a Battery Saver setting

  1. From your app's battery screen, tap on App permissions.
  2. Turn on Show on Lock screen, Start in background, and Display pop-up window.
  3. Go back to your app's battery screen and verify that Other permissions say Allowed for 3 permissions. Scroll down and tap on Battery saver.
  4. Choose the No restrictions option.
  5. Go back to your app's battery screen and verify that all 3 sections has successfully changed. Battery saver should now show No restrictions.
1680

App pinning

When you open the recent apps tray, drag your app downwards (it will be locked). So, even if you clear recent apps, it will not clear them from the background. Drag downwards again to clear your app from the background.

OnePlus

OnePlus with OxygenOS Android modification is known for maximizing the stock Android experience. This may be true on the UX front but the exact opposite is valid for background process limits.

When releasing their 1+5 and 1+6 phones, OnePlus introduced one of the most severe background limits on the market to date, dwarfing even those performed by Xiaomi or Huawei. Not only did users need to enable extra settings to make their apps work properly, but those settings even got reset with firmware updates. So apps break again and users are required to re-enable those settings on a regular basis.

Deep optimization

The OnePlus restrictive setting is named Deep Optimization. Here are the steps to turn it off:

  1. Go to your Settings → Battery.
  2. Tap on Battery Optimization.
  3. Tap on the ⋮ 3 dots menu icon and tap on Advanced Optimization.
  4. Toggle Deep Optimization to OFF.
1665

Battery optimization

1663

Recent apps clearing behaviour

Normally when you swipe an app away, it won’t close. Android handles that well on its own. On OnePlus this may however work in a different way. Recent app clear behaviour manager might be set up in a way that swiping the app to close will kill it:

1820

Lock your app in Recent

1010

Meizu

  1. Device Settings → Advanced Settings → Battery manager → Power plan set to Performance
  2. Device Settings → Advanced Settings → Battery Manager → Protected apps – check your app as Protected
  3. Enable Device Settings → Apps → your app → Battery → Power-intensive prompt and Keep running after screen off

Asus

Asus phones have their own optimization tool called Power Master. To make sure apps background processing works, set up the following:

  1. Go to Mobile Manager → PowerMaster → Settings (or Battery-saving options)
  2. Uncheck Clean up in suspend
  3. Uncheck Auto-deny apps from auto starting.
1824

Vivo

Autostart

This option should be present on all Vivo phones. To turn it off:

  1. Go to Settings → More settings
  2. Tap on Applications
  3. Find your application and turn on Autostart toggle

For Funtouch OS 2.6 and lower version:

  1. Go to iManager → App manager
  2. Tap on Autostart manager
  3. Turn on the app switch

Vivo Y91
1. Lock the app in taskbar
Apps locked in the taskbar are safe from getting terminated when they run on the background.

  1. Swipe up in your home screen while the app is open in background, and swipe the app icon down.
  2. Tap the lock icon.
  3. Done - now the app is locked in the taskbar.

2. Allow the app to keep running even during high power consumption

  1. Go to system Settings → Battery.
  2. Go to High background power consumption.
  3. Find your app in the list and enable the high battery consumption.

Wiko

Wiko devices are however definitely problematic in terms of non-standard background process optimizations and adjustments to the settings that need to be done to make apps work properly.

Turn off Eco.Mode and disable Optimized mode

  1. Go to Phone assist
  2. Tap on Power Saver
  3. Turn off Eco. Mode
  4. Tap on Optimized mode
  5. Disable Optimized mode and make sure your app is not optimized
1818

Add app to background whitelist

  1. Go to Advanced settings
  2. Tap on White-list apps background
  3. Find your app in the list and enable it
1836

Alternatively

Go to dialer and put the code ##86569726## and uncheck Lowram Enable and Background enable.
Note: This needs to be done again after reboot.