W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2021

[battery] BatteryManager: Describe instance creation in an algorithm (#48)

From: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Sep 2021 08:21:03 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-989722777-1631002861-sysbot+gh@w3.org>
rakuco has just created a new issue for https://github.com/w3c/battery:

== BatteryManager: Describe instance creation in an algorithm ==
This came up in #46 (specifically, [here](https://github.com/w3c/battery/pull/46#pullrequestreview-746552365)).  @marcoscaceres says:

> yeah, let's do that as followup... fwiw, I'm imagining this prose need to go into some initializer steps... as an example:
> https://w3c.github.io/geolocation-api/#constructing-a-geolocationposition

Right now it is not very clear what should happen when a new `BatteryManager` is created: when exactly do the internal slots have their initial values set (vs when do we start checking)? When do we send the first event?

Please view or discuss this issue at https://github.com/w3c/battery/issues/48 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 September 2021 08:21:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:59 UTC