NoMoreBackground
2.8.2 · GitHub
More about this app
A fire-and-forget program to stop Android apps from running in the background
NoMoreBackground
A fire-and-forget program to stop Android™ apps from running in the background.
Translate
If you wish to bring NoMoreBackground to more people, please contribute translations on our Weblate page:
Install
Install NoMoreBackground on...
Linux
Search for NoMoreBackground in your app store or go to https://flathub.org/apps/com.adilhanney.no_more_background
Windows
Download the latest NoMoreBackground-Windows-x64.zip, extract it somewhere, and run
no_more_background.exe.Android (no computer needed)
Setup Shizuku with these instructions: https://shizuku.rikka.app/guide/setup/.
Then install NoMoreBackground from https://f-droid.org/en/packages/com.adilhanney.no_more_background/
Usage
If using Windows, install adb on your computer. adb is already bundled on Linux so this step isn't necessary.
Connect your Android device to your computer with a cable.
In no_more_background, tap your device in the list. If you don't see your device, you may wish to check out Google's troubleshooting guide.

You'll see a list of apps installed on your device. Use the checkboxes to choose which apps can run in the background, and which apps can access data in the background.

That's it! Close no_more_background and move on with your life.
Manual method
no_more_background is just a convenient way to manage all your apps in one place, but you can do the exact same thing manually on the Android device.
For each app:
- Open Settings → Apps → [Find your app].
- In "App battery usage", disable "Allow background usage".
- In "Mobile data usage", disable "Background data".
You have to repeat this process for each app, which quickly becomes tedious. no_more_background exposes these settings all in one page to make the process a little less painful.
Building from source
- Install Flutter, e.g. with my script:
curl -s https://raw.githubusercontent.com/adil192/adil192-linux/main/bootstrap/install_flutter.sh | bash - Clone this repository with its submodules:
git clone --recurse-submodules https://github.com/adil192/no_more_background.git cd no_more_background - Get the dependencies:
flutter pub get - Build the app:
flutter build linux - Run the app:
./build/linux/x64/release/bundle/no_more_background
Licenses
Here is a subset of some of the works that are used with NoMoreBackground. Please view the license page in-app for the full list.
- This repo, except for NoMoreBackground's icon, is licensed under the GPL-3.0-or-later license.
- Android is a trademark of Google LLC.
- The green Android robot in NoMoreBackground's icon was reproduced and modified based on work created and shared by Google and used according to terms described in the CC BY 3.0 license. Therefore, the NoMoreBackground icon is also licensed under the CC BY 3.0 license.
- Illustrations from CocoMaterial under the CC0 1.0 license.
- App icons from Delta-Icons, licensed under the CC BY-NC-ND 4.0 license.
- App display names from lawnicons, licensed under the Apache-2.0 license, plus some display names from NoMoreBackground under its GPL-3.0-or-later license.
- Device images from lineage_wiki, licensed under the MIT license.
- You can view the full list of licenses in the app by clicking "About this app" then "View licenses".
How Shizuku is used
Can restrict background activity and data, stop, archive and inspect apps via `shizuku.runCommand` shell commands.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
On Android, Shizuku runs the app's shell commands on-device so no computer connection is needed.
- Control background activity: choose reduced, automatic or unrestricted background running for each app, applied with
cmd appops set RUN_ANY_IN_BACKGROUNDanddumpsys deviceidle whitelistthrough Shizuku. - Restrict background data: turn background mobile data off or on per app, applied with
cmd netpolicy restrict-background-blacklistthrough Shizuku. - List installed apps: browse user and system apps and their current background states, read with
pm list packages,cmd appops query-op,dumpsys deviceidle whitelistandcmd netpolicy listthrough Shizuku. - Stop running apps: use soft stop and force stop actions to stop an app and its services, run with
am stop-appandam force-stopthrough Shizuku. - Archive apps: archive apps to remove APKs while keeping data and request unarchiving to restore them, run with
pm archiveandpm request-unarchivethrough Shizuku. - View app info: open the system app info page for an app, launched with
am startthrough Shizuku.
Android APIs or commands used
pm list packagescmd appops query-op RUN_ANY_IN_BACKGROUND ignorecmd appops set RUN_ANY_IN_BACKGROUNDdumpsys deviceidle whitelistcmd netpolicy list restrict-background-blacklistcmd netpolicy add restrict-background-blacklistcmd netpolicy remove restrict-background-blacklistpm archivepm request-unarchiveam startam force-stopam stop-appam get-current-usergetprop
Notable details
On desktop the same background controls work over a regular ADB connection without Shizuku.
Changelog
What's new for version 2.8.2
- Fixed the wrong background data toggle being selected #71
Full Changelog: https://github.com/adil192/no_more_background/compare/v2.8.1...v2.8.2
Changes from v2.8.1:
- Fixed a typo in the background data toggles #71
Full Changelog: https://github.com/adil192/no_more_background/compare/v2.8.0...v2.8.1
Changes from v2.8.0:
- Converted the long press/right click menu into a dialog.
- Explanations have been added for each button.
- Added buttons to stop/force stop an app.
- Improve transition between pages.
- Added a Greek translation.
- i18n: Add Greek by @thanosproatcnb-ops in cc5b9904fd2c34e34a47a0143d5a0bc65fbbe274
- i18n: Update Greek metadata by @thanosproatcnb-ops in 33c91b035e050a62caf23b09ec153a730b5d3d4b
- i18n: Update Greek by @thanosproatcnb-ops in 15261e979ed29728834a980dd0dd6fe0b93deec7
Full Changelog: https://github.com/adil192/no_more_background/compare/v2.7.1...v2.8.0
Permissions
2 permissions requested
Sources
5 sources
Sources
5 sources

