- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 09 Sep 2011 05:28:05 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info In directory hutz:/tmp/cvs-serv7941 Modified Files: battery-status.html Log Message: clarify isPlugged and status if the device does not have a battery Index: battery-status.html =================================================================== RCS file: /sources/public/2009/dap/system-info/battery-status.html,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- battery-status.html 8 Sep 2011 05:18:21 -0000 1.44 +++ battery-status.html 9 Sep 2011 05:28:03 -0000 1.45 @@ -279,8 +279,10 @@ Represents whether the device is plugged in. If the device is plugged in and its battery is being charged or is at its full capacity, then <code>isPlugged</code> MUST be set to - <code>true</code>, otherwise <code>false</code>. - </dd> + <code>true</code>, otherwise <code>false</code>. If the device + does not have a battery, then <code>isPlugged</code> MUST be set + to <code>true</code>. + </dd> <dt>readonly attribute float? level</dt> <dd> Represents how much of the internal power source remains, @@ -301,7 +303,8 @@ <a>batterycritical</a>, <a>batterylow</a> and <a>batteryok</a> events respectively. If the implementation is unable to report the battery's level, then status MUST be set to - <code>null</code>. + <code>null</code>. If the device does not have a battery, then + <code>status</code> MUST be set to <code>ok</code>. </dd> </dl> <dl title='dictionary BatteryStatusEventInit : EventInit'
Received on Friday, 9 September 2011 05:28:06 UTC