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

From: Ognjen GaliÄ
Date: Sat Dec 09 2017 - 05:30:07 EST


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.

That behavior you are describing can be implemented in the userspace.

Thanks for the time!
Ognjen