[patch] pmu patch
David Zeuthen
david at fubar.dk
Fri Feb 4 07:20:00 PST 2005
On Fri, 2005-02-04 at 07:53 +0000, Richard Hughes wrote:
> Screenshot looks good. Looks like I'm going to have to connect my UPS to
> give this one a try... Nice one David.
>
Thanks - testing is always good :-)
<snip>
> > So, I just added this for USBHID UPS's since the hardware and
> > protocol obviously got brains enough to let the device tell
> > us this. The property is called battery.remaining_time and is
> > measured in seconds. So for APM we need to convert from minutes
> > etc. etc.
>
> What about ACPI? Where does it tell us time remaining?
My guess is that it doesn't. Someone may provide code to compute
the time and Sjoerd and others are probably right that it makes
sense to centralize all that code in one place.
Cheers,
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list