battery.technology, take 2

David Zeuthen david at fubar.dk
Thu Aug 3 12:04:03 PDT 2006


On Thu, 2006-08-03 at 20:56 +0200, Arnaud Quette wrote:
> 2006/8/3, Danny Kukawka <danny.kukawka at web.de>:
> > On Thursday 03 August 2006 18:21, Arnaud Quette wrote:
> > > 2006/8/3, Danny Kukawka <danny.kukawka at web.de>:
> > [...]
> > > > Btw. I think currently about a utils-pm.c/h or something like that, to
> > > > move _all_ the battery related stuff (functions and objects) to an own
> > > > file, because this stuff is only used by acpi/pmu atm (+ maybe apm in the
> > > > future) and not needed in any other part of HAL than for battery
> > > > handling.
> > >
> > > you should take a look at my mail (Common Power Management...) for the
> > > UPS side, and future power extensions.
> > [...]
> >
> > IMO this has nothing to do with what I proposed above. I only think about move
> > all battery/pm related helperfunctions from utils.c/h to a own file. This is
> > more a code design issue than anything other.
> 
> IMHO, that has just to do with splitting code that will heavily be
> enhanced/completed in a not so far future. So, you're right in stating
> that it's just a matter of code design.

Oh, I think Danny was just talking about some of the code we use for the
weirdness we get from ACPI batteries. I think he just wanted to move
that to new files util-pm.[ch] instead of having it in util.[ch]. Which
makes sense to me.

Cheers,
David




More information about the hal mailing list