Skip to content

Files

Latest commit

 

History

History
15 lines (14 loc) · 1.02 KB

5eb5a8dffe5926244cf00709.md

File metadata and controls

15 lines (14 loc) · 1.02 KB
title date submitter number tags status related discussion
I want a screen brightness API
2020-05-08 18:45:51 UTC
Ryan Hayes
5eb5a8dffe5926244cf00709
javascript
in-progress
title url type
Screen Wake Lock API
draft

With COVID-19, a growing number of “contactless” solutions are being brought to market quickly. Barcodes, QR codes, and similar solutions are a cheap and easy to build, but require one thing: a bright screen. I want a screen brightness API such that only when an app is visible/active (to avoid abuse) it can maximize screen brightness for a scanner to read something on the screen, then return to regular brightness. With this API, ticketing, payments, and other ID scenarios can be quickly built out and used without the need for a long-term installed app or without the ceremony of darker screens and the speed decrease that brings to lines and queues at serving lines and events.