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

Battery Status Events spec updated

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Thu, 30 Jun 2011 12:59:36 +0300
Message-ID: <1F4FDFB8-44D8-46E0-A294-7B655C8F7132@nokia.com>
To: "public-device-apis@w3.org WG" <public-device-apis@w3.org>, ext Doug Turner <doug.turner@gmail.com>, ext 권기홍 <kihong.kwon@samsung.com>

As agreed on the call yesterday, I've updated the Battery Status Events spec as follows based on implementers' feedback: 

- Removed window.on*, body.on* event handlers, and the event handler content attribute on the body.^1
- Added two new event types "batterylow" and "batterycritical".

Other non-normative changes:

- Reworked the example in the introduction section as well as the other examples to better demonstrate the usage of the two new event types.
- Renamed the title of the spec from singular "Battery Status Event" to plural "Battery Status Events".

See the Editor's Draft at:


And the changes:


Please review the spec and the changes and send any feedback to the public-device-apis list.

This should close my ACTION-417.


(^1 A related thread on exposing event handlers on the window at:
Received on Thursday, 30 June 2011 10:00:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:29 UTC