Re: [dap-charter] DASWG: Drop Battery API for privacy and lack of implementer support (#98)

Most sites that want to use this API for good™ arguably just need to know if the battery level is below a certain limit (where commonly the OS's battery saver mode would kick in). Another way to expose this could be to expose this info similar to how [`prefers-reduced-data`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-data) is exposed (or as a header similar to [`Save-Data`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data)). It could be a `Save-Energy` header or a `prefers-reduced-energy` CSS media feature (not tying the preference to just battery, but energy consumption in general).

-- 
GitHub Notification of comment by tomayac
Please view or discuss this issue at https://github.com/w3c/dap-charter/issues/98#issuecomment-667877851 using your GitHub account


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

Received on Monday, 3 August 2020 08:11:39 UTC