- From: Jonas Sicking <jonas@sicking.cc>
- Date: Mon, 24 Oct 2011 08:30:37 -0700
- To: Mounir Lamouri <mounir@lamouri.fr>
- Cc: public-device-status@w3.org, ext Kihong Kwon <kihong.kwon@samsung.com>
On Mon, Oct 24, 2011 at 1:41 AM, Mounir Lamouri <mounir@lamouri.fr> wrote: > On 10/24/2011 08:21 AM, Jonas Sicking wrote: >> >> On Mon, Oct 24, 2011 at 12:18 AM, Anssi Kostiainen >>> >>> The latest spec says: >>> >>> [[ >>> >>> The [remaining] attribute must be set to the value positive Infinity, if >>> the implementation is unable to report the time remaining, or there is no >>> battery attached to the system." >>> >>> ]] >> >> It should also return Infinity if the device is plugged in and >> actually charging (i.e. power usage is lower than power supplied), >> right? > > I think 'remaining' should be used to show the remaining time before the > battery is full when the battery is charging. This is an information UI are > going to need. I'd rather use a separate property for that. That way it's easier to write code which for example disables animations when there's less than 10 minutes of battery time left. / Jonas
Received on Monday, 24 October 2011 15:31:41 UTC