Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758627AbdLROrT (ORCPT ); Mon, 18 Dec 2017 09:47:19 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60059 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752812AbdLROrR (ORCPT ); Mon, 18 Dec 2017 09:47:17 -0500 Date: Mon, 18 Dec 2017 15:47:15 +0100 From: Pavel Machek To: Ognjen Galic Cc: "Rafael J. Wysocki" , Len Brown , Robert Moore , Lv Zheng , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, devel@acpica.org, Darren Hart , Andy Shevchenko , Henrique de Moraes Holschuh , platform-driver-x86@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net Subject: Re: [PATCH 2/3 v5] battery: Add the ThinkPad "Not Charging" quirk Message-ID: <20171218144715.GB2431@amd> References: <20171210180529.GA2016@thinkpad> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <20171210180529.GA2016@thinkpad> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1317 Lines: 41 --neYutvxvOLaeuPCA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2017-12-10 19:05:29, Ognjen Galic wrote: > The EC/ACPI firmware on Lenovo ThinkPads used to report a status > of "Unknown" when the battery is between the charge start and > charge stop thresholds. On Windows, it reports "Not Charging" > so the quirk has been added to also report correctly. >=20 > Now the "status" attribute returns "Not Charging" when the > battery on ThinkPads is not physicaly charging. >=20 > Tested-by: Kevin Locke > Tested-by: Christoph B=F6hmwalder > Signed-off-by: Ognjen Galic As mentioned before, it would be nice to add a state "not charging for battery lifetime reasons" and use it here. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --neYutvxvOLaeuPCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlo31PMACgkQMOfwapXb+vJWAwCgnslbv4pIghc2CUsbjEb0tXMb XZIAn1iVRWyeRl5s0gSNZY3BTYDZv6Aj =8T5I -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA--