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

Re: On Battery API

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 29 Jun 2011 09:47:01 +0200
To: "anssi.kostiainen" <anssi.kostiainen@nokia.com>
Cc: public-device-apis@w3.org, Doug Turner <doug.turner@gmail.com>
Message-ID: <1309333629.14014.16.camel@altostratustier>
Le mercredi 15 juin 2011 à 09:48 -0700, Doug Turner a écrit :
> 2) I'd like two new events -- BatteryLow and BatteryCriticallyLow.
> Other than people implementing battery widgets, I am not sure that
> |battery.level| means anything -- not all batteries are created equal,
> they have different decay rates, and I am not sure we want web
> developers having to calculate when the battery is actually "low".

+1 on using events with stronger semantics.

Dom
Received on Wednesday, 29 June 2011 07:47:22 GMT

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