W3C home > Mailing lists > Public > public-device-apis-log@w3.org > November 2018

Re: [wake-lock] Need maximum screen brightness mode

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Nov 2018 21:34:26 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-439198217-1542317665-sysbot+gh@w3.org>
I'm all for having less APIs but we shouldn't just move feature requests to other APIs just to avoid creating a new spec and API surface. If we believe the feature is worth having and we can't build it on top of another one, we should create another API. I would say that it would make more sense in the spirit of Marcos' comment to have an API to set the brightness instead of an API to set the screen to full brightness as if we need an API to set the brightness someday, it would create another API surface.

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/129#issuecomment-439198217 using your GitHub account
Received on Thursday, 15 November 2018 21:34:28 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 15 November 2018 21:34:28 UTC