As of Firefox 124, I intend to turn Screen Wake Lock API on by default. It has been developed behind the dom.screenwakelock.enabled preference. Status in other browsers is: Shipped in Chrome 84, Safari 16.4
Bug to turn on by default: https://bugzilla.mozilla.org/1874849
Standard: https://www.w3.org/TR/screen-wake-lock/
This feature was previously discussed in this “Intent to prototype” thread: https://groups.google.com/a/mozilla.org/g/dev-platform/c/tWuBjgtfItA/m/OGXdy8N9AQAJ