Power Management

power
Low RiskCategory: System & PerformanceView Official Docs

Technical Context

Provides access to the chrome.power API to temporarily prevent the system from dimming the display or entering sleep mode. This is useful during long-running operations that require continuous user attention.

What This Means For You

The extension can keep your screen awake and prevent your computer from going to sleep. This is helpful when watching videos or during presentations.

Related APIs

This permission enables access to these Chrome APIs:

chrome.power

Common Use Cases

  • Video players
  • Presentation tools
  • Download managers

How to Declare in manifest.json

Add the "power" permission to your extension manifest:

{
  "manifest_version": 3,
  "name": "My Extension",
  "permissions": [
    "power"
  ]
}

Related Permissions