{
  "slug": "idle-detection",
  "name": "Idle Detection API",
  "category": "Capabilities",
  "summary": "The Idle Detection API's IdleDetector interface reports whether the user is active or idle and whether the screen is locked, gated behind the idle-detection permission and a 60-second minimum threshold.",
  "name_zh": "Idle Detection API（空闲检测）",
  "summary_zh": "Idle Detection API 的 IdleDetector 接口报告用户处于活跃还是空闲状态、屏幕是否已锁定，受 idle-detection 权限和 60 秒最小阈值约束。",
  "spec_url": "https://wicg.github.io/idle-detection/",
  "mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/Idle_Detection_API",
  "confidence": "high",
  "verified_at": "2026-10-03",
  "support": [
    {
      "target": "Chrome (Desktop)",
      "os": "Desktop",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "94",
      "version_full": "94",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Chrome (Android)",
      "os": "Android",
      "browser": "chrome",
      "engine": "blink",
      "status": "yes",
      "version_added": "94",
      "version_full": "94",
      "applicable": true,
      "notes": [
        {
          "text": "Derived by browser-compat-data mirroring from Chrome.",
          "text_zh": "由 browser-compat-data 镜像自 Chrome 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Edge (Desktop)",
      "os": "Desktop",
      "browser": "edge",
      "engine": "blink",
      "status": "yes",
      "version_added": "114",
      "version_full": "114",
      "applicable": true,
      "notes": [],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Firefox (Desktop)",
      "os": "Desktop",
      "browser": "firefox",
      "engine": "gecko",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Firefox support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 Firefox 的支持。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Firefox (Android)",
      "os": "Android",
      "browser": "firefox",
      "engine": "gecko",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Firefox for Android support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 Firefox for Android 的支持。"
        },
        {
          "text": "Derived by browser-compat-data mirroring from Firefox.",
          "text_zh": "由 browser-compat-data 镜像自 Firefox 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Safari (macOS)",
      "os": "macOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Safari support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 Safari 的支持。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Safari (iOS)",
      "os": "iOS",
      "browser": "safari",
      "engine": "webkit",
      "status": "no",
      "version_added": null,
      "version_full": null,
      "applicable": true,
      "notes": [
        {
          "text": "No Safari on iOS support is recorded in browser-compat-data.",
          "text_zh": "browser-compat-data 未记录 iOS 版 Safari 的支持。"
        },
        {
          "text": "Derived by browser-compat-data mirroring from Safari.",
          "text_zh": "由 browser-compat-data 镜像自 Safari 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "Samsung Internet",
      "os": "Android",
      "browser": "samsung",
      "engine": "blink",
      "status": "yes",
      "version_added": "17.0",
      "version_full": "17.0",
      "applicable": true,
      "notes": [
        {
          "text": "Derived by browser-compat-data mirroring from Chrome Android.",
          "text_zh": "由 browser-compat-data 镜像自 Chrome Android 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    },
    {
      "target": "WebView (Android)",
      "os": "Android",
      "browser": "webview",
      "engine": "blink",
      "status": "yes",
      "version_added": "94",
      "version_full": "94",
      "applicable": true,
      "notes": [
        {
          "text": "Derived by browser-compat-data mirroring from Chrome Android.",
          "text_zh": "由 browser-compat-data 镜像自 Chrome Android 的数据推导。"
        }
      ],
      "source": "https://raw.githubusercontent.com/mdn/browser-compat-data/main/api/IdleDetector.json",
      "verified_at": "2026-10-03",
      "confidence": "high"
    }
  ],
  "biz_compat": [],
  "generated_by": "OpenPWA compatibility explorer",
  "licence": "CC BY 4.0",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "OpenPWA — https://openpwa.net",
  "attribution_html": "<a href=\"https://openpwa.net\">OpenPWA</a>, <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY 4.0</a>"
}