Re: Smart Battery System Design (was: Re: Question aboutuserspace-consumer)

From: Pavel Machek
Date: Sat Aug 15 2009 - 18:35:10 EST


On Sat 2009-08-15 17:43:24, Mark Brown wrote:
> On Fri, Aug 14, 2009 at 06:32:01PM +0200, Pavel Machek wrote:
>
> > Please don't put basic fastcharge logic to userspace:
>
> > * you still want to fastcharge at init=/bin/bash boot
>
> > * you want to fastcharge while machine is in s2ram. See spitz. Doing
> > that with userspace would be quite tricky.
>
> Depending on the technologies involved and how well integrated the power
> path management is with the battery charger fast charge during suspend
> may not actually be desirable. Some systems need or desire active
> thermal management of the system from the CPU during fast charge.

Do you have example of some system?

Ok, well... anyway many machines _want_ fastcharge while suspended,
and putting charging into userland would break them (or make that
fairly difficult).
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/