W3C home > Mailing lists > Public > public-device-apis@w3.org > July 2014

Re: [battery] Should getBattery() always return the same promise?

From: Rick Waldron <waldron.rick@gmail.com>
Date: Tue, 1 Jul 2014 18:17:19 -0400
Message-ID: <CAHfnhfog1opfmHwMxDDX9vNps4bGX+QR_0Tr3dk2v5XHu1FecA@mail.gmail.com>
To: Frederick Hirsch <w3c@fjhirsch.com>
Cc: Domenic Denicola <domenic@domenicdenicola.com>, Mounir Lamouri <mounir@lamouri.fr>, public-device-apis <public-device-apis@w3.org>
On Tue, Jul 1, 2014 at 6:14 PM, Frederick Hirsch <w3c@fjhirsch.com> wrote:

> the current draft is treating multiple batteries as a single battery -
> hence you do not have ability to query different batteries, just the single
> virtual battery (e.g. all batteries treated as a single battery composed of
> the multiple batteries).
>

That make sense and actually sort of mimics lipoly multi-cell battery
design.

Rick
Received on Tuesday, 1 July 2014 22:18:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:33:10 UTC