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

Re: no longer possible to detect battery presence? RE: Battery API in Last Call

From: Josh Soref <jsoref@rim.com>
Date: Fri, 2 Dec 2011 20:15:31 +0000
To: "dzung.d.tran@intel.com" <dzung.d.tran@intel.com>, "olli@pettay.fi" <olli@pettay.fi>
CC: "wayne.carr@intel.com" <wayne.carr@intel.com>, "mounir@lamouri.fr" <mounir@lamouri.fr>, "dom@w3.org" <dom@w3.org>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <957F1ECDA90E004B8DBDE23CFC94E3A311650FD3@XMB103ECNC.rim.net>
Tran wrote:
> Fine, then the current "charging" attribute is unclear with respect to if you don't have a battery or a bad battery.

It isn't unclear.

> The case of on a desktop system where there is no battery, what should this attribute set to true or false?

It's fully specified. If you're using a Desktop, then you are in fact *always* charging. Sadly, when you stop charging (e.g. Someone trips over your power cord, or the power company's circuits fail), you die *immediately*. This happens fwiw.

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Friday, 2 December 2011 20:16:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:52 UTC