Skip to Content
Platform.Ontology

Restricted bucket and battery restriction settings

The user can set an app to Unrestricted, Optimized or Restricted; unused apps can fall into Restricted.

Works without askingNotifications and backgroundAndroid background limitsAndroid and iPhoneIn the background

In one line

Can only run in the background as much as your battery setting allows

The user can set an app to Unrestricted, Optimized or Restricted; unused apps can fall into Restricted.

The strongest user lever over background activity. Restricted means one 10 minute job session a day, almost no alarms, and no network; people rarely change it, so defaults shape reach.

What it can and can't do

What the user does: You open Settings, then Battery, and set the app to Unrestricted, Optimized or Restricted

It can

  • Run freely in the background if you pick Unrestricted on Android
  • Run background tasks on iPhone if Background App Refresh is on
  • Ask you to loosen the limit when it needs more room

It cannot

  • Override your choice; Restricted allows very little, about one short job a day
  • Run background fetch or silent push handling on iPhone when that app's refresh is off
  • Keep running if the system moves an unused app into the Restricted bucket on Android

How it differs between platforms: Android has three battery choices per app plus an automatic Restricted bucket. iPhone has a Background App Refresh switch and Low Power Mode.

On Android and iPhone

AndroidiPhone
StatusSupportedPartial
First versionAndroid 9.0 (API 28)iOS 6.0
Permission or entitlementREQUEST_IGNORE_BATTERY_OPTIMIZATIONSNot listed
Protection levelnormalnone
How access is grantedsettingssettings
What the user seesSettings > Battery: Unrestricted, Optimized, RestrictedBackground App Refresh toggle per app and globally; Low Power Mode
How long it lastsRestricted bucket after 45 days (Android 12) or 8 days (Android 13+) of no interaction, or excessive broadcasts or bindings in 24 hPer app until toggled
How to take it backSettings > Apps > BatterySettings > General > Background App Refresh
Store policyPlay: battery opt-out prompts only for allowed use casesNone listed
APIUsageStatsManager.getAppStandbyBucket(), ActivityManager.isBackgroundRestricted()UIApplication.backgroundRefreshStatus
NotesExempt: companion apps, device owner, VPN, active widgets, USE_EXACT_ALARM holders, user chosen Unrestricted. Restricted bucket: one 10 min job session per day, 1 alarm per dayOff disables background fetch and silent push handling for that app

Data you get

What comes back: Restriction state
Shape: enum
How often: On change

FieldTypeUnitRangePrecision
stateenumNoneUnrestricted, Optimized, RestrictedNot listed
restricted_after_idleintegerdays8 (Android 13+)Not listed

Technical limits

  • Apps can detect it but not override it

The story

What it is

You can set each app to unrestricted, optimized or restricted to control how much it runs in the background.

For you

You can open Battery settings and cap any app. A restricted app gets almost no background time, so it may stop alerts. Most people never touch it, so the default decides what happens.

For makers

Makers know most users stay on the default, so reach depends on it. Some apps ask people to switch to Unrestricted for reliable alarms or tracking, which also costs more battery.

Where you see it

TypeExampleApps
fitnessA run tracker asks you to choose Unrestricted so it can record a full marathon.Strava
healthA glucose monitor companion app is allowed to run freely so alerts for lows are never missed.Dexcom, LibreLink
messagingA chat app warns that alerts will be late while it is set to Restricted.Signal
smart-homeA baby monitor or door camera app is given unrestricted use so alerts come on time.None named
gamesA game with timed events loses its reminder alerts after the phone moves it to Restricted.None named
productivityA calendar app that adds a reminder at the right minute needs relaxed battery rules to be on time.Google Calendar

Risks

  • Apps may nag you to remove limits
  • Unrestricted can drain battery

Android and iPhone in short

  • Android: Settings offer Unrestricted, Optimized and Restricted. Restricted gets one short job session per day.
  • iPhone: iOS has a Background App Refresh switch per app and Low Power Mode, which is simpler.

What the platform says

  • Google: Battery settings. Google explains battery tools in Android settings, including how to limit apps that use too much power in the background.

Good uses and abuse

Legitimate uses

  • Battery control

Known abuse

  • Prompting users to whitelist

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction3 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2018-08, Android 9 (API 28): Background restriction user setting
  • 2021-10, Android 12 (API 31): Restricted bucket after 45 days idle
  • 2022-08, Android 13 (API 33): Idle threshold cut to 8 days; FGS task manager
  • 2023-10, Android 14 (API 34): Apps whose tasks time out too often can move to Restricted

Sources

How well checked: Checked against real behavior.

On this page