hal ChangeLog,1.614,1.615
Richard Hughes
hughsient at freedesktop.org
Tue Aug 23 02:23:55 PDT 2005
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv10746
Modified Files:
ChangeLog
Log Message:
Fix up the typos where we were not setting battery.charge_level.unit, and fix the bug reported by Paolo Borelli
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.614
retrieving revision 1.615
diff -u -d -r1.614 -r1.615
--- ChangeLog 23 Aug 2005 08:26:14 -0000 1.614
+++ ChangeLog 23 Aug 2005 09:23:53 -0000 1.615
@@ -21,6 +21,24 @@
2005-08-22 Richard Hughes <richard at hughsie.com>
+ * hald/linux2/acpi.c (battery_refresh, battery_refresh_poll):
+ Fix up the typos where we were not setting battery.charge_level.unit.
+ Also fix the segfault reported by Martin Pitt where HAL would segfault
+ where reporting_unit was NULL. I've protected the strcmp, and have
+ changed the code to assume mWh so that the users of these BIOS's get
+ some values set.
+ I've changed battery_refresh_poll to use this scheme too, as users of
+ broken BIOS's would currently get no updates (as it was handled with
+ "goto out") and with this they will.
+
+ * hald/linux2/acpi.c (battery_refresh_poll): Fix the bug reported by
+ Paolo Borelli [http://bugzilla.gnome.org/show_bug.cgi?id=314182]
+ by checking the battery.voltage.current, and if not valid, using
+ battery.voltage.design, and if that's not valid, using 1 as a fallback.
+
+
+2005-08-22 Richard Hughes <richard at hughsie.com>
+
* hald/util.c (util_compute_time_remaining,
util_compute_percentage_charge): Add some more checks for broken BIOS's
and add some more comments.
More information about the hal-commit
mailing list