hal/hald/linux2 acpi.c,1.35,1.36

Danny Kukawka dkukawka at freedesktop.org
Wed Aug 24 01:02:52 PDT 2005


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

Modified Files:
	acpi.c 
Log Message:
2005-08-24  Danny Kukawka <danny.kukawka at web.de>

        * hald/linux2/acpi.c: (battery_refresh): Little string fix from
        "Unknown ACPI Unit" to "unknown" for simpler checks.



Index: acpi.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/acpi.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- acpi.c	23 Aug 2005 09:24:26 -0000	1.35
+++ acpi.c	24 Aug 2005 08:02:50 -0000	1.36
@@ -505,7 +505,7 @@
 				HAL_WARNING (("Unknown ACPI Unit!"));
 				hal_device_property_set_string (d, 
 					"battery.charge_level.unit",
-					"Unknown ACPI Unit");
+					"unknown");
 			}
 			/* set alarm if present */
 			if (hal_util_set_int_elem_from_file (d, "battery.alarm.design", path,




More information about the hal-commit mailing list