w3c / battery

Battery Status API
https://www.w3.org/TR/battery-status/
Other
24 stars 15 forks source link

BatteryManager: Consider merging "multiple batteries" section into original attribute/internal slot definitions #47

Open rakuco opened 3 years ago

rakuco commented 3 years ago

This originally came up in #46. Rather than having a separate section about what should be done when more than one battery is present, the contents there should be merged into the section where we define how things work when there is only one battery available.

In @marcoscaceres' words:

As a followup, I wonder if this should be actually integrated into the definition of each slot. That way, it's all kept together.

Single battery, do x...

Multiple batteries, do y...