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

Power-saving detection / coarser low-power insights #353

Open
noamr opened this issue Jul 13, 2020 · 3 comments
Open

Power-saving detection / coarser low-power insights #353

noamr opened this issue Jul 13, 2020 · 3 comments

Comments

@noamr
Copy link

noamr commented Jul 13, 2020

As per https://webkit.org/tracking-prevention/#table-of-contents-toggle:~:text=battery, we have not implemented the battery status in WebKit due to privacy/fingerprinting concerns.

However, perhaps there is a legitimate use case for coarse power detection that may align better with the webkit project goals.

The proposal is to enable something like w3c/battery#9 - detecting (in JS or in an HTTP header such as Save-Data: On) whether the user agent's device is currently in power saving mode. This is coarse enough to prevent fingerprinting, but useful enough for use cases such as giving up on certain features of the site when the battery is low.

WDYT?

@othermaciej
Copy link

This question is a little off topic for this repo. Issues are supposed to be about explainers hosted here, not about opinions on existing other specs. This is discussed on webkit-dev mailing list or WebKit slack IMO.

@noamr
Copy link
Author

noamr commented Jul 17, 2020

Fair enough, closing and moving to webkit-dev.

@noamr noamr closed this as completed Jul 17, 2020
@marcoscaceres marcoscaceres transferred this issue from WebKit/explainers May 26, 2024
@marcoscaceres
Copy link
Contributor

Transferred this over to be a standards position instead as this has come up in w3c/battery#64

@marcoscaceres marcoscaceres reopened this May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants