[patch] Detecting batteries - need small change
Richard Hughes
hughsient at gmail.com
Tue Oct 10 11:08:33 PDT 2006
On Sun, 2006-09-24 at 18:33 +0100, Richard Hughes wrote:
> On Sat, 2006-09-23 at 14:20 +0100, Richard Hughes wrote:
> > Patch is attached that should fix things. I can't test this directly
> > but
> > it looks logically correct. Perhaps someone with a DELL could verify
> > this, although it's pretty trivial.
>
> But not trivial enough to have no bugs ;-)
>
> Two changes, one is to use G_MAXUINT instead of -1 as we use guint for
> the elem, and one to strip the leading spaces. Thanks to Nathan Holstein
> for help debugging.
>
> New patch attached.
Ping? This is needed to report the full model number.
Richard.
More information about the hal
mailing list