HAL battery backend, new thread!
Richard Hughes
hughsient at gmail.com
Mon Aug 1 13:49:27 PDT 2005
On Mon, 2005-08-01 at 22:37 +0200, Danny Kukawka wrote:
> On Monday 01 August 2005 19:20, David Zeuthen wrote:
> > Looks good - I've committed this and the doc patch. Thanks a lot!
>
> The patch is broken. HAL segfaults on a Laptop with 2 battery bays but only
> with one battery in function battery_refresh_poll() in line:
>
> "if (strcmp (reporting_unit, "mWh") == 0) {"
>
> The reason: battery_refresh_poll() polls the battery also if the battery bay
> is empty and no battery present. The attached patch should fix this.
>
> I have currently no battery for bay BAT1, so I can't test what happens if you
> insert the battery while machine is running. But I test this tomorrow.
Thanks Danny.
Richard.
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list