Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More diplay power modes #84

Closed
dontcallmedom opened this issue Aug 3, 2016 · 3 comments
Closed

More diplay power modes #84

dontcallmedom opened this issue Aug 3, 2016 · 3 comments

Comments

@dontcallmedom
Copy link
Member

A suggestion made in the WICG to consider more display modes: https://discourse.wicg.io/t/wake-lock-api-support-for-different-display-power-modes/1634/1

(my guess is that it's probably a v2 thing, but I could be wrong)

@andrey-logvinov
Copy link
Collaborator

I think it should be a v2 thing. I'm not sure if any of the major browsers support displaying web pages on the wearable devices such as Android watches, or whether low power modes such as the Ambient Mode on Android are portable between mobile platforms.
Also, the Ambient Mode is different from the usual "screen on" mode because, per Android documentation, the application should adjust its UI specifically for this mode (simplify the layout, remove interactive controls, reduce update frequency etc). So in addition to opting in to be displayed in the Ambient Mode, the web page must receive a message when the system has entered or exited this mode.

@patrickkettner
Copy link
Contributor

It feels like WakeLock is the wrong level to make this differentiation. As @andrey-logvinov mentioned, this is more than just screen on, this is the OS reducing brightness, and changing functionality. As far as the app would be concerned, it would still have a screen lock. Just reduced capabilities.

I don't think it makes sense for it to be in the WakeLock spec, but would also think V2 at minimum

@kenchris
Copy link
Contributor

kenchris commented Apr 3, 2019

Closed in favor of https://github.com/w3c/wake-lock/issues/129

@kenchris kenchris closed this as completed Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants