Re: [gpm] ACPI battery rate information from HAL
- From: Richard Hughes <hughsient gmail com>
- To: Matthias Grimm <matthiasgrimm users sourceforge net>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] ACPI battery rate information from HAL
- Date: Mon, 13 Feb 2006 19:51:08 +0000
On Mon, 2006-02-13 at 20:46 +0100, Matthias Grimm wrote:
> On Sat, 11 Feb 2006 19:55:08 +0000
> Richard Hughes <hughsient gmail com> wrote:
>
> > I've been doing some testing, where instead of trusting HAL (i.e. what
> > ACPI tells HAL), working out the charge rate using the difference
> > between divided by the time elapsed between updates.
> >
> > The numbers are pretty similar when in the middle of the discharge:
> >
> > ** (gnome-power-manager:14501): DEBUG: GPM calculated rate = 20763
> > ** (gnome-power-manager:14501): DEBUG: HAL calculated rate = 19213
> >
> > But at the extremes (i.e. >80% charged, and <20%) it would appear that
> > the difference is considerable:
> >
> > ** (gnome-power-manager:18951): DEBUG: GPM calculated rate = 2354
> > ** (gnome-power-manager:18951): DEBUG: HAL calculated rate = 23180
> >
> > Where the HAL (h/w) value seems to think I'll be charged in 5 minutes,
> > but the GPM (s/w) value seems to think it's going to take nearer 50
> > minutes.
>
> what are you trying to do here?
Charging, and trying to see why ACPI gives out 'incorrect' rate
readings.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]