chrishtr / battery-savings

14 stars 5 forks source link

Ability to detect if this feature is active? #3

Open nicjansma opened 4 years ago

nicjansma commented 4 years ago

After a site has requested to be in a battery savings mode, would it be possible to know that it's active?

Some use cases:

khushalsagar commented 4 years ago

Both of these are excellent points. Do you think the site would need to know the exact mitigations which are active (reduced-framerate or reduced-script-speed) or just that the battery-savings mode is activated.

nicjansma commented 4 years ago

More granularity always helps, as long as it doesn't bring security/privacy concerns with it.

LuisAmador92 commented 3 years ago

Is there any update on this question? I was also wondering the same thing, I know they are mentioning about the media queries but is that already a thing we could use to verify the feature is active?

t1gor commented 3 years ago

Hi, guys. One question (not sure that this issue is a right place): would there be an option to disallow power saving mode? I mean by meta tag value, for instance?

<meta name="battery-savings" content="disallow">