hal/hald/linux2 acpi.c,1.44,1.45

Danny Kukawka dkukawka at freedesktop.org
Fri Jan 6 10:47:13 PST 2006


Update of /cvs/hal/hal/hald/linux2
In directory gabe:/tmp/cvs-serv16785/hald/linux2

Modified Files:
	acpi.c 
Log Message:
2006-01-06  Danny Kukawka  <danny.kukawka at web.de>

        * doc/spec/hal-spec.xml.in: fixed two voltage related properties
        in the spec

        * hald/linux2/acpi.c: (battery_refresh_poll): added already in the
        spec defined and in the code removed (but never set) property key
        for battery.charge_level.capacity_state



Index: acpi.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/acpi.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- acpi.c	11 Dec 2005 08:51:23 -0000	1.44
+++ acpi.c	6 Jan 2006 18:47:11 -0000	1.45
@@ -101,6 +101,8 @@
 					  "state", "charging state", 0, "charging", TRUE);
 	hal_util_set_bool_elem_from_file (d, "battery.rechargeable.is_discharging", path,
 					  "state", "charging state", 0, "discharging", TRUE);
+	hal_util_set_string_elem_from_file (d, "battery.charge_level.capacity_state", path, 
+					    "state", "capacity state", 0, TRUE);
 	/*
 	 * we'll use the .reporting prefix as we don't know
 	 * if this data is energy (mWh) or unit enery (mAh)




More information about the hal-commit mailing list