battery.remaining_time.calculate_per_time
Artem Kachitchkine
Artem.Kachitchkin at Sun.COM
Thu Apr 26 10:59:46 PDT 2007
> For all new versions of g-p-m, I'm completely ignoring the HAL
> time_remaining property, as more often than not it's broken (with funny
> race conditions, or the hardware just lying to us). I'm instead
> self-profiling the battery and doing some fancy floating point
> integration to get a much more reliable reading, based on the fact that
> most "smart battery controllers" are actually _unbelievably_ dumb.
What are the input values for the g-p-m algorithms? The original ACPI values
(i.e. reporting.* and voltage.*) ?
-Artem.
More information about the hal
mailing list