hal/doc/spec hal-spec.xml.in,1.31,1.32

David Zeuthen david at freedesktop.org
Thu Feb 3 21:24:27 PST 2005


Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv10538/doc/spec

Modified Files:
	hal-spec.xml.in 
Log Message:
2005-02-04  David Zeuthen  <david at fubar.dk>

	* doc/spec/hal-spec.xml.in: Added docs for battery.remaining_time

	* hald/linux2/classdev.c (input_get_prober): New function
	(usbclass_add): New function
	(usbclass_get_prober): New function
	(usbclass_compute_udi): New function
	(add_classdev_probing_helper_done): Check if post_probing is NULL
	(hotplug_event_begin_add_classdev): Use function to get prober since
	e.g. class usb covers multiple devices, e.g. hiddev, printers etc.

	* hald/linux2/probing/probe-hiddev.c: New file; probe for application
	pages a HIDDEV supports and add to hiddev.application_pages strlist

	* hald/linux2/addons/addon-hid-ups.c: Detect UPS's on USB HID
	interfaces and create plus maintain battery.* properties.

	* hald/linux2/addons/Makefile.am: New file

	* hald/linux2/Makefile.am (SUBDIRS): Add addons directory

	* configure.in: Add hald2/linux2/addons/Makefile.am to AC_OUTPUT



Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- hal-spec.xml.in	3 Feb 2005 00:21:50 -0000	1.31
+++ hal-spec.xml.in	4 Feb 2005 05:24:25 -0000	1.32
@@ -3063,6 +3063,16 @@
 	      </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>
               <entry><literal>battery.charge_level.current</literal> (int)</entry>
               <entry></entry>
               <entry>Yes</entry>




More information about the hal-commit mailing list