Re: [PATCH v2] thinkpad_acpi: Support the battery wear control

From: Pavel Machek
Date: Sat Dec 09 2017 - 05:38:55 EST


On Sat 2017-12-09 11:29:51, Ognjen GaliÄ wrote:
> On 09/12/2017, Pavel Machek <pavel@xxxxxx> wrote:
> > In newer series (I can't find it at the moment, sorry)
>
> The new series is a 3-patch patchset that obsoletes this
> patch. It is in the testing stage and will be pushed to
> the mailing lists and maintainers in a few days.
>
> > Maybe we should have separate status "not charging due to wear
> > control"?
>
> No, because the ACPI battery driver is a extension to the generic
> power supply driver, that does not understand the battery wear control.
> Also, Rafael specifically noted NOT to include any thinkpad_acpi-specific
> behavior to the generic drivers.

Yeah, what I'm saying is that maybe we need to extend generic power
supply driver.

On small devices, we usually have enough control over hardware to be
able to implement "wear control" in kernel. Nokia N900 is an
example. "Wear control" is certainly not thinkpad-specific concept.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature