hal ChangeLog,1.592,1.593
Danny Kukawka
dkukawka at freedesktop.org
Thu Aug 11 00:10:12 PDT 2005
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv32416
Modified Files:
ChangeLog
Log Message:
2005-08-11 Danny Kukawka <danny.kukawka at web.de>
* hald/linux2/acpi.c: (battery_refresh_poll): Check now if computed
remaining percentage and remaining time values are valid. Now we only
add positive values.
* hald/util.c: (util_compute_percentage_charge),
(util_compute_time_remaining): Return -1 instead of 0 if an error occurs
to differentiate between an error and an empty battery. Return now -1 if
parameter chargeRate, chargeLevel or chargeLastFull are negative. Removed
unneeded warning.
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.592
retrieving revision 1.593
diff -u -d -r1.592 -r1.593
--- ChangeLog 11 Aug 2005 07:01:50 -0000 1.592
+++ ChangeLog 11 Aug 2005 07:10:10 -0000 1.593
@@ -1,5 +1,17 @@
2005-08-11 Danny Kukawka <danny.kukawka at web.de>
+ * hald/linux2/acpi.c: (battery_refresh_poll): Check now if computed
+ remaining percentage and remaining time values are valid. Now we only
+ add positive values.
+
+ * hald/util.c: (util_compute_percentage_charge),
+ (util_compute_time_remaining): Return -1 instead of 0 if an error occurs
+ to differentiate between an error and an empty battery. Return now -1 if
+ parameter chargeRate, chargeLevel or chargeLastFull are negative. Removed
+ unneeded warning.
+
+2005-08-11 Danny Kukawka <danny.kukawka at web.de>
+
* hald/linux2/acpi.c: (battery_refresh): remove also
battery.charge_level.rate, battery.reporting.unit and
battery.remaining_time if the battery is removed.
More information about the hal-commit
mailing list