Re: [PATCH 3/5] power_supply: add a TRICKLE_CHARGING status, and add it to the olpc driver

Richard A. Smith
2009-06-23T23:46:31Z

Mark Brown wrote:
> On Tue, Jun 23, 2009 at 07:13:17PM -0400, Richard A. Smith wrote:
>> Mark Brown wrote:
>
>>> A separate file with the detailed information would sidestep this since
>>> it's a new interface. I'm not strongly opposed to adding the new states
>>> but I do think it's worth considering other ways of doing this.
>
>> I've got no problems with a new interface. But, i'm also not the person
>> writing the driver. :)
>
> It's really no bother from the driver point of view either way, it's the
> user space applications that are the concern here - are they going to
> cope well with a new state appearing there?

I can only speak for OLPC's usage. But my script, the documentation on
our wiki, and HAL are the only things that I know of that use that info
and none of them should have any problem with it changing.

--
Richard Smith <richard@laptop.org>
One Laptop Per Child