Re: [gpm] ACPI battery rate information from HAL



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?

 Best Regards
   Matthias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]