hal ChangeLog,1.604,1.605
Richard Hughes
hughsient at freedesktop.org
Sun Aug 21 01:38:30 PDT 2005
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv20111
Modified Files:
ChangeLog
Log Message:
Add the ChangeLog entry for the acpi, apm and pmu changes.
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.604
retrieving revision 1.605
diff -u -d -r1.604 -r1.605
--- ChangeLog 20 Aug 2005 18:30:44 -0000 1.604
+++ ChangeLog 21 Aug 2005 08:38:27 -0000 1.605
@@ -2,6 +2,31 @@
* configure.in: Fix to get all current available translations.
+2005-08-19 Richard Hughes <richard at hughsie.com>
+
+ * hald/linux2/acpi.c (battery_refresh_poll): Remove checks for negative
+ times and percentages.
+ Also remove key if invalid data is returned.
+
+ * hald/util.c (util_compute_time_remaining,
+ util_compute_percentage_charge): Add checks for negative times and
+ percentages - this lets up remove lots of checks for each subsystem.
+ The keys will only be populated when the data is valid, as discussed:
+ http://article.gmane.org/gmane.comp.freedesktop.hal/2944
+
+ * hald/linux2/apm.c (battery_refresh): Add calculation of
+ the key "battery.charge_level.percentage" so that it matches acpi.
+ Also remove key if invalid data is returned.
+
+ * hald/linux2/pmu.c (battery_refresh): Make the calculation and logic of
+ remaining_percentage and remaining_time match that of acpi and apm.
+ Also remove key if invalid data is returned.
+
+ * doc/spec/hal-spec.xml.in: Add description of the key
+ battery.charge_level.percentage and explain why it's sometimes missing.
+ Also modified description of battery.remaining_time explaining the
+ different meanings while charging and discharging.
+
2005-08-19 Danny Danny Kukawka <danny.kukawka at web.de>
* tools/hal-system-power-hibernate,
More information about the hal-commit
mailing list