Do Not Disturb access
Lets the app read and change Do Not Disturb settings.
In one line
Can check and change Do Not Disturb on Android; iPhone shows only a yes or no
Lets the app read and change Do Not Disturb settings.
Reveals whether the user is in a focus mode and lets apps toggle it. iOS shows only a yes or no focus status.
What it can and can't do
What the user does: You switch on Do Not Disturb access in Settings (Android), or tap Share Focus Status (iPhone)
It can
- Check whether Do Not Disturb is on
- Change the interruption filter on Android
- Learn whether a Focus is on, as a yes or no (iPhone)
It cannot
- Change Focus on iPhone
- Learn the Focus name or schedule on iPhone
- Change Do Not Disturb on Android without the Settings switch
How it differs between platforms: Android lets an allowed app change Do Not Disturb; iPhone gives apps only a yes or no and no control.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Partial |
| First version | Android 6.0 (API 23) | iOS 15 |
| Permission or entitlement | ACCESS_NOTIFICATION_POLICY | NSFocusStatusUsageDescription |
| Protection level | special | prompt |
| How access is granted | settings | prompt |
| What the user sees | Settings toggle: Do Not Disturb access | Share Focus Status toggle |
| How long it lasts | Until revoked | Until revoked |
| How to take it back | Settings > Special app access > Do Not Disturb access | Settings > Focus > Focus Status |
| Store policy | Play: none | App Review 5.1.1 |
| API | NotificationManager.isNotificationPolicyAccessGranted | INFocusStatusCenter |
| Notes | Needed to change interruption filter. | Returns only a boolean isFocused; cannot change Focus. |
Data you get
What comes back: Focus status
Shape: boolean
How often: on change
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
isFocused | boolean | bool | true or false | exact |
Technical limits
- iOS read only boolean
The story
What it is
Lets an app read and change your Do Not Disturb settings.
For you
A special switch asks to let the app control Do Not Disturb. If you allow it, a meeting app can silence your phone for you. A bedtime app can turn it on at night.
For makers
Apps that care about sleep, meetings and focus want to flip the setting for you. Reading it also tells them if you are busy. On iPhone it is only a yes or no.
Where you see it
| Type | Example | Apps |
|---|---|---|
| productivity | A calendar app turns on Do Not Disturb during your meetings. | Google Calendar |
| health | A sleep app silences notifications at bedtime and turns them back on in the morning. | Sleep Cycle |
| fitness | A workout app silences calls so a run is not interrupted. | None named |
| education | A study timer blocks alerts during a study session. | Forest |
| automotive | A driving app turns on Do Not Disturb while you drive. | None named |
| kids | A parent app sets quiet time at school. | None named |
| games | A game silences notifications during a match. | None named |
Risks
- Shows if you are busy
- App could silence alarms
- Sleep schedule revealed
Android and iPhone in short
- Android: Android needs special access to change the interruption filter.
- iPhone: iPhone only returns a yes or no for whether a Focus is on and cannot change it.
Good uses and abuse
Legitimate uses
- Meeting apps
Known abuse
- Inferring availability
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 2 of 5 | How useful it is to honest apps |
| Friction | 3 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2015-10, Android 6.0 (API 23): Do Not Disturb access introduced
- 2021-09, iPhone iOS 15: Focus status sharing introduced
Related capabilities
Related
- Usage access. Can see which apps you open and for how long, after you switch it on
Sources
How well checked: Based on official documentation.