Open Bug 1665980 (wakelock) Opened 5 months ago Updated 2 months ago

[meta] wakelock metabug

Categories

(Core :: DOM: Core & HTML, task)

All
Unspecified
task

Tracking

()

People

(Reporter: alwu, Assigned: alwu)

References

(Depends on 8 open bugs, )

Details

(Keywords: meta)

This is a metabug for tracking all media wakelock related issues.


[General rule]
When audio is playing no matter its tab is on foreground/background, Firefox would request a wakelock prevent computer going to sleep.
When video is playing and its tab is on foreground, Firefox would request a wakelock prevent screen going off.

[How to check wakelock]
Windows : powercfg -requests
MacOS : pmset -g assertions
Android : adb shell dumpsys power
Linux (ubuntu): https://askubuntu.com/questions/1071514/how-to-find-a-program-which-is-preventing-sleeping

Depends on: 1665986
Depends on: 1665989
Depends on: 1667439

As w3c has defined the wakelock API, this topic can actually go beyond the media. I will use this to track all wakelock related issues and request.

https://w3c.github.io/screen-wake-lock/#the-wakelock-interface

Alias: media-wakelock → wakelock
Component: Audio/Video: Playback → DOM: Core & HTML
Depends on: 1054113
Summary: [meta] Media wakelock metabug → [meta] wakelock metabug
Depends on: 1427937
Depends on: 1510670
Depends on: 1194322
Depends on: 1671220
Depends on: 1589554
Depends on: 1645998
Depends on: 1679314
Depends on: 1682418
Depends on: 1684718
Depends on: 1679584
You need to log in before you can comment on or make changes to this bug.