hal/doc/spec hal-spec.xml.in,1.36,1.37
David Zeuthen
david at freedesktop.org
Thu Mar 10 12:17:22 PST 2005
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv13948/doc/spec
Modified Files:
hal-spec.xml.in
Log Message:
2005-03-10 David Zeuthen <davidz at redhat.com>
* hald/linux2/acpi.c (battery_refresh_poll): Also set property
battery.charge_level.rate
(acpi_poll): Make the update atomic
* doc/spec/hal-spec.xml.in: Update for battery.charge_level.rate
Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- hal-spec.xml.in 2 Mar 2005 21:51:55 -0000 1.36
+++ hal-spec.xml.in 10 Mar 2005 20:17:20 -0000 1.37
@@ -3170,23 +3170,33 @@
</entry>
</row>
<row>
- <entry><literal>battery.remaining_time</literal> (int)</entry>
+ <entry><literal>battery.charge_level.current</literal> (int)</entry>
<entry></entry>
- <entry>No</entry>
+ <entry>Yes</entry>
<entry>
- Remaining time, in seconds, that the battery can provide
- power if it's discharging. This is an estimate and may be
- imprecise.
+ The current level of charge which the device can hold.
+ Measured in <literal>"battery.charge_level.unit"</literal>
+ units.
</entry>
</row>
<row>
- <entry><literal>battery.charge_level.current</literal> (int)</entry>
+ <entry><literal>battery.charge_level.rate</literal> (int)</entry>
<entry></entry>
<entry>Yes</entry>
<entry>
- The current level of charge which the device can hold.
- Measured in <literal>"battery.charge_level.unit"</literal>
- units.
+ The discharge/charge rate measured
+ in <literal>"battery.charge_level.unit"</literal>
+ units per second.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>battery.remaining_time</literal> (int)</entry>
+ <entry></entry>
+ <entry>No</entry>
+ <entry>
+ Remaining time, in seconds, that the battery can provide
+ power if it's discharging. This is an estimate and may be
+ imprecise.
</entry>
</row>
<row>
More information about the hal-commit
mailing list