W3C home > Mailing lists > Public > public-device-apis@w3.org > June 2011

Re: Battery Status API vs. Geolocation API

From: Andres Riofrio <riofrios@gmail.com>
Date: Sat, 25 Jun 2011 17:54:52 -0700
Message-ID: <BANLkTikbd9qWav3yhMbiu6505Drtsx_bxw@mail.gmail.com>
To: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Cc: public-device-apis WG <public-device-apis@w3.org>
Great, thanks for clarifying those points for me. This should be useful for
future APIs and maybe as an extension to the Geolocation API.

Andres Riofrio

On Tue, Jun 7, 2011 at 10:55 PM, Anssi Kostiainen <
anssi.kostiainen@nokia.com> wrote:

> On 6.6.2011, at 16.08, ext Anssi Kostiainen wrote:
> > The event model allows registering listeners via addEventListener(),
> setting them via .onbatterystatus property, or by specifying
> onbatterystatus="..." attribute on the <window> tag in the HTML markup.
> What I meant to say above was onbatterystatus attribute on the <body> tag
> -- we're not planning to introduce a new tag for this purpose.
> -Anssi
Received on Sunday, 26 June 2011 00:55:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:21 GMT