[patch] addon-hid-ups.c : battery.present is mandatory for HAL
spec
David Zeuthen
david at fubar.dk
Mon May 9 12:55:16 PDT 2005
On Mon, 2005-05-09 at 20:14 +0100, Richard Hughes wrote:
> > Propose to make a generic function in hald/util.c and use it for both
> > APM, PMU and ACPI.
>
> No can do, for two reasons (unless I'm wrong:-):
>
> * APM / PMU / UPS already provide hardware-generated remaining_time
> values
I think that would be driver-generated values.
> * APM / PMU do not provide charge/discharge rate values
PMU does.
Anyway, it's good practice to solve the problem in a generic way even
though only ACPI is using it.
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list