w3c / battery

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

editorial: Modernize and replace prose with algorithms in BatteryManager #46

Closed rakuco closed 2 years ago

rakuco commented 2 years ago

Similarly to #45, make the BatteryManager section more conformant to modern spec writing practices, while avoiding making user-visible changes as much as possible:


Preview | Diff

rakuco commented 2 years ago

@reillyeon @marcoscaceres This one is bigger than #45, so some extra pairs of eyes are appreciated.

marcoscaceres commented 2 years ago

Will try to review soon!

anssiko commented 2 years ago

I authorize @reillyeon to merge this PR once we get @marcoscaceres's eyeballs on it.

rakuco commented 2 years ago

thanks for reviewing, @reillyeon and @marcoscaceres

I'd appreciate it if someone could merge this PR

anssiko commented 2 years ago

Thanks @rakuco! You should add yourself to the editors if you plan to keep an eye on this spec. Otherwise, we’ll give you huge credits in the ack section for these modernizations.

rakuco commented 2 years ago

So far I've just been trying to catch up with the backlog of things I'd promised to do back in April during the DAS WG virtual meeting :-) Once I finish making the spec look better (and hopefully address #15) I can consider officially becoming an editor.