hal ChangeLog,1.573,1.574

David Zeuthen david at freedesktop.org
Wed Jul 27 18:37:03 PDT 2005


Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv17086

Modified Files:
	ChangeLog 
Log Message:
2005-07-27  David Zeuthen  <davidz at redhat.com>

        Patch from Richard Hughes  <richard at hughsie.com>.

        * hald/util.c (util_compute_percentage_charge): New function used
        to calculate the percentage charge, initially for ACPI batteries,
        but could be used by all devices as contains lots of error checks.

        * hald/linux2/acpi.c (battery_refresh_poll): Call
        util_compute_percentage_charge so we can populate
        battery.charge_level.percentage



Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.573
retrieving revision 1.574
diff -u -d -r1.573 -r1.574
--- ChangeLog	28 Jul 2005 01:17:37 -0000	1.573
+++ ChangeLog	28 Jul 2005 01:37:01 -0000	1.574
@@ -1,5 +1,17 @@
 2005-07-27  David Zeuthen  <davidz at redhat.com>
 
+	Patch from Richard Hughes  <richard at hughsie.com>.
+	
+	* hald/util.c (util_compute_percentage_charge): New function used
+	to calculate the percentage charge, initially for ACPI batteries,
+	but could be used by all devices as contains lots of error checks.
+
+	* hald/linux2/acpi.c (battery_refresh_poll): Call
+	util_compute_percentage_charge so we can populate
+	battery.charge_level.percentage
+
+2005-07-27  David Zeuthen  <davidz at redhat.com>
+
 	* hald/linux2/blockdev.c: This is a patch to compute 'nicer' UDIs,
 	/org/freedesktop/Hal/devices/volume_empty_%disc.type, for emtpy
 	CD/DVD volumes/discs. Patch from Danny Kukawka




More information about the hal-commit mailing list