[PATCH] fix calculation of battery.charge_level.last_full

Danny Kukawka danny.kukawka at web.de
Wed Aug 10 10:05:39 PDT 2005


Hi,

this is a patch to fix the inaccurate calculation of 
battery.charge_level.last_full (patch base on my ACPI patch before).

We should normalise battery.reporting.last_full with voltage_current instead 
of voltage_design because battery.charge_level.last_full is a changing and 
not a static value like voltage_design, which is a "marketing assurance".

Please review.

Cheers,

Danny

 acpi.c |    8 +-------
 1 files changed, 1 insertion(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-normalise_last_full.diff
Type: text/x-diff
Size: 969 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050810/fd7ba60f/hal-fix-normalise_last_full.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list