Skip to Content
Platform.Ontology

Background audio and media playback

Apps can keep playing sound with the screen off; Android 17 adds new limits for apps that target it.

Works without askingNotifications and backgroundBackground modesAndroid and iPhoneIn the backgroundWhile you use it

In one line

Can keep playing sound with the screen off, with new limits in Android 17

Apps can keep playing sound with the screen off; Android 17 adds new limits for apps that target it.

Used for music, podcasts and navigation prompts. Android 17 hardens background audio playback, focus and volume so quiet apps cannot hijack the speaker.

What it can and can't do

What the user does: You start music, a podcast or a call, then lock your phone or switch apps

It can

  • Keep audio playing with the screen off
  • Show lock screen controls and now playing info
  • Keep playing through a foreground service on Android
  • Play alarms with the exact alarm permission on Android 17

It cannot

  • Play silent audio just to stay alive; App Review rejects it on iPhone
  • Start background audio on Android 17 without a foreground service or alarm permission
  • Play after you stop the media session
  • Ignore other apps that take audio focus

How it differs between platforms: iPhone needs the audio background mode. Android needs a media foreground service and gets stricter limits for apps that target Android 17.

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 5.0 (API 21)iOS 4.0
Permission or entitlementFOREGROUND_SERVICE_MEDIA_PLAYBACK; exact alarm permission with USAGE_ALARMaudio in UIBackgroundModes; AVAudioSession playback category
Protection levelnormalentitlement
How access is grantedinstallentitlement
What the user seesMedia notification; Android 17 blocks background audio unless a while-in-use FGS is heldNow Playing and control center
How long it lastsWhile the media session is activeWhile session active; suspended when audio stops
How to take it backTask managerRemove capability
Store policyPlay: no covert audioApp Review 2.5.4
APIMediaSessionService, AudioFocusRequestAVAudioSession, MPNowPlayingInfoCenter
NotesAndroid 17 (target 37): background audio needs a foreground service with while-in-use capability, or the exact alarm permission with USAGE_ALARMAudio mode is not a pass for silent loops; App Review rejects silent audio trick

Data you get

What comes back: Audio focus
Shape: event
How often: In session

FieldTypeUnitRangePrecision
focusenumNonegain, loss, duckNot listed

Technical limits

  • Silent audio loops are rejected by App Review
  • Android 17 limits background audio start

The story

What it is

An app keeps playing sound with the screen off or while you use another app.

For you

You press play, lock your phone and the music keeps going. You see controls on the lock screen. You never need to keep the app open.

For makers

Makers of music, podcasts and navigation apps need this. Some apps abuse it by playing silent audio to stay alive. Android 17 tightens limits for apps that target it, so quiet apps cannot hold the speaker.

Where you see it

TypeExampleApps
musicA music app plays your playlist in your pocket while you walk.Spotify, Apple Music
mediaA podcast app plays on a commute and remembers the spot.Pocket Casts, Overcast
mapsA navigation app speaks turn directions while the screen is off.Google Maps, Waze
fitnessA workout app plays coaching cues while you run.Peloton, Nike Run Club
gamesA game keeps its voice chat running while you open another app.Discord
securityA sneaky app plays silence on loop to stop the system from stopping it.None named

Risks

  • Silent audio to stay alive
  • Battery drain

Android and iPhone in short

  • Android: Android 17 adds new limits on background audio, focus and volume for apps that target it.
  • iPhone: iPhone needs the audio background mode and a visible media session.

What the platform says

  • Google: Background playback. Android media apps keep playing audio in the background, with controls on the lock screen.
  • Apple: Now playing. Apple lets music and podcasts keep playing with the screen locked and shows controls on the lock screen.

Good uses and abuse

Legitimate uses

  • Music
  • Podcasts

Known abuse

  • Silent audio to stay alive

Scores

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

History

  • 2026-06, Android 17 (API 37): Background audio playback, focus and volume restrictions for apps targeting 37

Same idea on the web

  • Screen Wake Lock. Can keep your screen on while the page is showing, but not in the background

Sources

How well checked: Checked against real behavior.

On this page