Skip to content

Idle Detection API browser support

Published

The IdleDetector interface reports whether the user has interacted with the device within a threshold and whether the screen is locked, firing a change event whenever either state flips.

Support data refers to the top-level IdleDetector interface, keyed as api.IdleDetector in MDN browser-compat-data.

  • Legend
  • Yes
  • Partial
  • Flag
  • No
  • Unknown
Browser / PlatformSupportVersionsConfidenceSourceNotes
Chrome (Desktop)#Yes94highsource—
Chrome (Android)#Yes94highsource1
Edge (Desktop)#Yes114highsource—
Firefox (Desktop)#No—highsource2
Firefox (Android)#No—highsource34
Safari (macOS)#No—highsource5
Safari (iOS)#No—highsource67
Samsung Internet#Yes17.0highsource8
WebView (Android)#Yes94highsource9
  1. Derived by browser-compat-data mirroring from Chrome.
  2. No Firefox support is recorded in browser-compat-data.
  3. No Firefox for Android support is recorded in browser-compat-data.
  4. Derived by browser-compat-data mirroring from Firefox.
  5. No Safari support is recorded in browser-compat-data.
  6. No Safari on iOS support is recorded in browser-compat-data.
  7. Derived by browser-compat-data mirroring from Safari.
  8. Derived by browser-compat-data mirroring from Chrome Android.
  9. Derived by browser-compat-data mirroring from Chrome Android.

Source data: /compatibility/idle-detection.json · Global usage: 75 % (StatCounter 2026-09, CC BY-SA 4.0)

Source: spec · MDN · Last verified 2026-10-03 · Confidence: high (computed from sources)

Cite this table

Idle Detection API compatibility data — OpenPWA · Verified 2026-10-03 · CC BY 4.0 · JSON

When reusing compatibility data, keep the attribution, identify your changes and check each row’s original source. This citation excludes market-share and reach figures, which use CC BY-SA 4.0.

IdleDetector.requestPermission() rejects without transient user activation, and start() fails unless the idle-detection permission has been granted. start() rejects with a TypeError when threshold is below 60,000 ms, and userState and screenState are null until the first reading arrives (WICG specification).