How to restrict the Background process of any Android app without root

How to Restrict Background Process of any Android App without Rooting

Android is a robust operating system, allowing users to customize most of the things. We download a lot of Android apps to automate our stuff, and many applications run in the background causing unwanted battery drain. Though there are many third-party apps which can erase the background running processes, they cannot entirely restrict the background play of the app. Few apps like Greenify or Brevent offers limited restriction capabilities, but again they require root access.

If your device is running on the latest android version Nougat, then we have a simple trick to restrict the background play of apps. Not all, But few particular apps may eventually cause more battery drain on the device. Users can identify those apps from the battery performance chart and can restrict their process using our simple trick. Please read our detailed guide below to know how to restrict the Apps.

Prerequisites

  1. An Android device, running on Nougat 7.0 and above.
  2. ADB and Fastboot.
  3. Enable developer options and USB Debugging on the device.
    Enable USB Debugging in Android
  4. App Inspector: Download from PlayStore

Restrict Background Process of Apps without Root

Step 1: Find out the Package name of App

How to Restrict Background Apps from running without Rooting

Step 1. Install and Open the App inspector application on your device. Also, grant the user permissions requested by the App.

Step 2. Now search the list of Installed apps and find the App for which you want to restrict the background process.

Step 3. Tap on the App to know the Package name under the name of the app. (Example for Calculator App: com.google.android.calculator)

Step 4. Make a note of this package name for your app.

Step 2: To restrict the background process of Apps

Step 1. Now open the ADB installation folder and Right click on a white space while holding the shift key, then select the option ‘open command window here.’

Step 2. Connect your device to PC and also make sure USB debugging is enabled.

Step 3. Now, execute the command “adb shell ” and it will return you with a $ symbol.

Step 4. Now type and enter the following command to Freeze the selected app, after replacing the PACAKGE_NAME text with your app package name, which you have noted down earlier.

cmd appops set PACAKGE_NAME RUN_IN_BACKGROUND ignore
Commands to increase app performances in low memory conditions

Step 5. In case, if you ever want to revert this change and unfreeze the app then execute below command (after entering the ‘adb shell’ command)

cmd appops set PACAKGE_NAME RUN_IN_BACKGROUND allow
Command to increas app performances in low memory conditions

These commands allow the users to manage a hidden permission which is not accessible to the users by default. This RUN_IN_BACKGROUND permission was intendedly left open for the developers to test their app performances in low memory conditions.

Frequently Asked Questions

1. What is App Inspector?

Its an app available on playstore which inspect the detailed information of all apps installed. It can extract (download) APK file from installed applications. (Downloaded file will be saved in Download folder)

2. How do I see what apps are running in the background on my Android?

Open your Android’s Settings and Tap on About Phone. In the About Phone page, you will find “Build Number.” Tap on the Build Number heading seven times. After tapping Build Number heading seven times, Developer Options is unlocked. Go to Developer Options and search for Running Services. In the Running Services, you will get to know which apps are running the background.

3. Which apps use most data?

There are many apps which uses data. But the Top 5 apps which use most data are Google Chrome, UC Browser, Instagram, Youtube, Android native Browser.

4. How do I stop my apps from using data?

1. Open up Settings on your device.
2. Locate and tap Data usage.
3. Locate the app you want to prevent using your data in the background.
4. Scroll to the bottom of the app listing.
5. Tap to enable Restrict background data

5. How do I stop apps from automatically running on Android?

Open your Android’s Settings and Tap on About Phone. In the About Phone page, you will find “Build Number”. Tap on the Build Number heading seven times. After tapping Build Number seven times, Developer Options is unlocked. Go to Developer Options and search for Running Services. In the Running Services, tap the app you don’t want to start automatically and click on the Stop button.

6. Does optimizing apps save battery?

Battery optimization helps conserve battery life on your device. Battery Optimization feature is included on the device running on Android 6.0 and higher, which improves battery life by placing apps in Doze mode or App Standby mode.

7. Which apps are draining battery?

There are many apps that drain your battery by running services in the background and end up sucking your phone’s juice. Some of the top apps such Snapchat, Netflix, YouTube, Facebook, Messenger, WhatsApp, Google NEWS, Flipboard, BBC News, TikTok which keeps your phone busy and result in battery loss

Conclusion

Though you can limit the every app using this process, restricting of system apps is not recommended. While restricting messaging & social networking apps may cause some delay in notifications/updates, limiting of few system apps may also result in system/interface failure. So disabling of certain system apps like launchers, Dialer, Settings, Etc is not at all recommended. This process can be useful for an average smartphone user to moderately reduce the unwanted battery drain of the device.

Related Posts —