2009/dap/system-info battery-status.html,1.57,1.58

Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv29033

Modified Files:
	battery-status.html 
Log Message:
remove 'unknown' state in 'chargingState', make 'remaining' of type double, fix a typo

Index: battery-status.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status.html,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- battery-status.html	20 Oct 2011 05:45:39 -0000	1.57
+++ battery-status.html	21 Oct 2011 07:28:48 -0000	1.58
@@ -197,7 +197,7 @@
           set to the string <code>charging</code> if the battery is charging,
           to the string <code>discharging</code>, if the battery is
           discharging, to the string <code>full</code> if the battery is full,
-          or to the string <code>unknown</code> otherwise. The attribute MUST
+          or to the string <code>full</code> otherwise. The attribute MUST
           be set to to the string <code>full</code> if the implementation is
           unable to report the battery's level, or there is no battery
           attached to the system.
@@ -211,7 +211,7 @@
           unable to report the battery's level, or there is no battery attached
           to the system.
         </dd>
-        <dt>readonly attribute long remaining</dt>
+        <dt>readonly attribute double remaining</dt>
         <dd>
           Represents the time remaining in seconds until the system's battery
           is depleted and the system is about to be suspended. The attribute
@@ -238,7 +238,7 @@
         time remaining respectively.
       </p>
       <p>
-        When the value of <code>charging</code>, <code>level</code> or
+        When the value of <code>chargingState</code>, <code>level</code> or
         <code>remaining</code> attribute changes, the
         <a class="product-ua" href="#ua">user agent</a> MUST fire a simple
         event [[!HTML5]], which does not bubble and is not cancelable, named
@@ -252,6 +252,10 @@
         second is probably too often. Otherwise web developers will
         need to resort to event throttling which is inefficient.
       </div>
+      <div class="issue">
+        TODO: An alternative design which is being discussed is to replace
+        <code>chargingState</code> with <code>charging</code> of type boolean.
+      </div>
     </section>
 
     <section class='informative'>

Received on Friday, 21 October 2011 07:28:55 UTC