On Sun, 2018-05-13 at 17:30 +0200, Ognjen Galic wrote: > Lenovo ThinkPad systems have a feature that lets you > force the battery to discharge regardless if AC is attached > or not. > > This patch implements that feature and exposes it via the generic > ACPI battery driver. On a T430 (2342-CTO) I can confirm that both force_discharge and inhibit_charge behave as expected, both when the battery is above and below charge_start_threshold. Input validation also works as-expected. The only oddity I noticed is that force_discharge has a delay taking effect (<1 sec) transitioning from 0 to 1 (but not 1 to 0). Tested-by: Kevin Locke <kevin@xxxxxxxxxxxxxxx> Thanks for working on this! Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html