how do hal works?

Danny Kukawka danny.kukawka at web.de
Mon Mar 23 01:41:49 PDT 2009


On Montag, 23. März 2009, Andrwe Lord Weber wrote:
> Hi all,
>
> how do HAL get the values it offers?

From sysfs or proc, depending on your system and kernel/hal configuration.

> I'm asking because it sets a wrong value as present-rate of my battery:
>
> battery.charge_level.rate = 1889
> battery.reporting.rate = 1889
>
> This I get as present rate from HAL that is why HAL also calculate a
> wrong charge/discharge time.
>
> What can be wrong?

It shouldn't but it can be, e.g. if the kernel or the battery reports wrong 
values. You should check the info in sysfs/proc to see if something is wrong.

Danny


More information about the hal mailing list