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

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