- From: <Cathy.Chan@nokia.com>
- Date: Thu, 20 Oct 2011 19:27:33 +0000
- To: <anssi.kostiainen@nokia.com>, <public-device-status@w3.org>
- Message-ID: <A46437648ECB3D4F852B077AFF9099F5015B6FA0@008-AM1MPN1-053.mgdnok.nokia.com>
Two quick questions outside of the discussion on the representation of the no-battery case in the other thread. Currently the spec says that if the implementation is unable to report the charging state, chargingState must be set to "full". In what situation then will the value of "unknown" be used? The value of remaining is to be set to positive infinity on a couple of occasions. Since the attribute is a long, would it be more accurate to state the exact value to be used instead? After all, one can't really represent positive infinity with a long (or can we?). Also one small typo: towards the end of Section 3.2 just before the Issue box, "When the value of charging, level, ...", s/charging/chargingState/. - Cathy. > -----Original Message----- > From: public-device-status-request@w3.org [mailto:public-device-status- > request@w3.org] On Behalf Of Kostiainen Anssi (Nokia-CIC/Espoo) > Sent: Wednesday, October 19, 2011 1:11 PM > To: public-device-status@w3.org > Subject: Battery Status API aligned with Mozilla's implementation > > Hi, > > I reworked the Battery Status spec and aligned it with Mozilla's Battery API: > > http://dev.w3.org/2009/dap/system-info/battery-status.html > > This is a rather significant change compared to the latest Public Working Draft > of the spec, so in the process the spec was renamed from "Battery Status > Events" to "Battery Status API" which feels like a more descriptive name for > the current thing. > > The new and shiny Battery Status API includes some additional stuff on top > of the Mozilla's current implementation that have been discussed on this list > such as the 'remaining' attribute. It also defines defaults to the > BatteryManager attributes. > > Let's continue iteration based on this spec. I've tagged a one TODO item in > the spec, and there are probably plenty of more things to be tightened, so > please continue sending your feedback. And let me know if I have forgotten > to incorporate some of the existing proposals. > > -Anssi > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=678694
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Thursday, 20 October 2011 19:28:32 UTC