Re: [battery] Detect battery saving mode

Thanks for your suggestion.

I assume you mean some sort of `batterylow` event that maps to a platform-specific battery level trigger? Would you prefer to have this as additional [`BatteryManager`][1] API surface, or as a standalone event?

It would be great to hear more specific use cases, i.e. how you would use such a feature in real-life web applications. That'd help make a case why the feature is important and should be standardized. You can drop some pseudo code if you like, or give pointers to existing projects that would benefit from this feature.

Thanks!

[1]: https://w3c.github.io/battery/#the-batterymanager-interface

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/battery/issues/9#issuecomment-285293238 using your GitHub account

Received on Thursday, 9 March 2017 08:59:53 UTC