Re: [ambient-light] Consider making granularity of the data normative (#63)

> @cynthia are you able to explain a little further the granularity changes Chrome makes, I don't see much in the minutes or non normative in the spec text.

This was discussed in #13 and the first Chromium commit is https://chromium-review.googlesource.com/c/chromium/src/+/1834346 (see also https://bugs.chromium.org/p/chromium/issues/detail?id=642731).

The idea is to:
* Round off the values we expose to the nearest 50 Lux (e.g. 0, 50, 100, 150 etc).
* Only fire a new reading event if the previous and current raw values differ significantly (we currently check if they differ by more than half the 50 Lux threshold).

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/63#issuecomment-919953166 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 15 September 2021 11:56:29 UTC