- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 26 Oct 2011 07:24:49 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv28025
Modified Files:
battery-status.html
Log Message:
'charging' is set to true if the battery is full, replace 'plugged in' in the intro prose with 'charging'
Index: battery-status.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status.html,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- battery-status.html 25 Oct 2011 12:10:19 -0000 1.61
+++ battery-status.html 26 Oct 2011 07:24:47 -0000 1.62
@@ -58,10 +58,10 @@
</p>
<p>
The Battery Status API can be used to defer or scale back work when
- the device is not plugged in or is low on battery. An archetype of an
+ the device is not charging in or is low on battery. An archetype of an
advanced web application, a web-based email client, may check the
- server for new email every few seconds if the device is plugged in,
- but do so less frequently if the device is not plugged in or is low on
+ server for new email every few seconds if the device is charging,
+ but do so less frequently if the device is not charging or is low on
battery. Another example is a web-based word processor which could
monitor the battery level and save changes before the battery runs
out to prevent data loss.
@@ -105,7 +105,7 @@
</pre>
<p>
The script will always check for emails every ten seconds, even if the
- battery level is critically low and the device is not plugged in.
+ battery level is critically low and the device is not charging.
This is an example of poor resource management.
</p>
<p>
@@ -198,9 +198,10 @@
<dt>readonly attribute boolean charging</dt>
<dd>
Represents if the system's battery is charging. The attribute MUST be
- set to true if the battery is charging, and set to false, if the
- implementation is unable to report the state, or there is no battery
- attached to the system, or otherwise.
+ set to true if the battery is charging or full, and set to false, if
+ the battery is discharging, the implementation is unable to report
+ the state, or there is no battery attached to the system, or
+ otherwise.
</dd>
<dt>readonly attribute double chargingTime</dt>
<dd>
Received on Wednesday, 26 October 2011 07:24:55 UTC