Skip to Content
Platform.Ontology

Ignore battery optimization

Asks to be exempt from Doze and app standby.

Asks you firstNotifications and backgroundPowerAndroid and iPhoneIn the background

In one line

Can ask to keep running in the background on Android, only if you agree

Asks to be exempt from Doze and app standby.

Lets the app run in the background more freely at the cost of battery. The user confirms with a dialog.

What it can and can't do

What the user does: A system box asks if the app may run in the background and you tap Allow

It can

  • Ask you to turn off battery limits for the app
  • Stay awake longer in the background once you allow it
  • Use less strict Doze and standby rules after you agree

It cannot

  • Turn off battery limits without your yes
  • Get this exemption on iPhone, which has none
  • Use it forever if you later change your battery setting

How it differs between platforms: Android shows a system confirmation. iPhone has no such exemption; apps use background modes or push.

On Android and iPhone

AndroidiPhone
StatusSupportedNot supported
First versionAndroid 6.0 (API 23)Not available
Permission or entitlementREQUEST_IGNORE_BATTERY_OPTIMIZATIONSNot listed
Protection levelnormalnone
How access is grantedsettingsnot-exposed
What the user seesSystem dialog: Allow app to run in backgroundnone
How long it lastsUntil revokednone
How to take it backSettings > Apps > Battery > UnrestrictedNot listed
Store policyPlay: restricted; allowed only when core function breaks under DozeApp Review 2.5.4
APIPowerManager.isIgnoringBatteryOptimizationsBGTaskScheduler
NotesDeclared as a normal permission; the exemption needs user confirmation.iOS gives no such exemption; use Background Modes or push.

Data you get

What comes back: Exemption state
Shape: event
How often: on change

No individual data fields. The signal is the access itself.

Technical limits

  • Play restricted
  • No iOS equivalent

The story

What it is

Asks to be excused from Android's rules that put idle apps to sleep.

For you

You see a pop up asking Allow app to always run in the background. If you say yes, the app works more reliably but may cost more battery.

For makers

Makers want reliable alerts and syncing for chats, health and tracking. Google limits who may ask, because it hurts battery life.

Where you see it

TypeExampleApps
messagingA chat app asks to stay awake so messages are never late.Signal
healthA medical sensor app asks for it so alerts are never missed.Dexcom
fitnessA fitness tracker asks for it to record a full ride without gaps.Strava
smart-homeA home security app asks for it so door alerts are instant.None named
gamesA game asks for it to keep a multiplayer match alive in the background.None named
enterpriseA field work app asks for it to keep location checks running on a shift.None named
utilitiesA VPN or file sync app asks for it so it does not disconnect.Proton VPN, Syncthing

Risks

  • Drains battery
  • Apps may nag you to allow it

Android and iPhone in short

  • Android: You confirm in a system dialog. It is a standard permission with a user check.
  • iPhone: iOS has no such exemption. Apps use background modes or push messages.

What the platform says

  • Google: Doze and App Standby. Google describes Doze and standby as ways to save battery by putting idle apps to sleep, with some exceptions.

Good uses and abuse

Legitimate uses

  • Messaging, health apps

Known abuse

  • Aggressive background drain

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 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

  • 2015-10, Android 6.0 (API 23): Doze and app standby introduced
  • Foreground service. Can run long tasks on Android with a visible notification, but only for a stated purpose

Sources

How well checked: Based on official documentation.

On this page