Received: by 10.213.65.68 with SMTP id h4csp25666imn; Mon, 12 Mar 2018 16:05:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELtFg/DXksiTr9yHsaDXWQsdcgwOFDr5bXftrKqsemEVXc/1eLzgsGLJcZhzAggOPir5LuMX X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr9610041pls.267.1520895917106; Mon, 12 Mar 2018 16:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520895917; cv=none; d=google.com; s=arc-20160816; b=OR0Pz0Ut8tMSNHpNlm5X+MLG6GdJ6D503YdkHbcnuQYSWq/8hKq9YSXDnqFxgXPEUa P9/V3s1bS2mdC/uhyIr90AtOpAAkg0XBlHiH7Y84Z4ndTOd7C5VOg5hJJGAwHH5MZhI3 H/ahsoH4ahZWFSW5slhE5HJeIVJg4BvffcxKHyBnnDm3314yqSem/nn1u7/MivsWnhaw yuyIQJfnQlJck8syHKKnQVxNFS6xxUK0FfXwqljejP+u65+C/ZhMBR0Uusx/fzUlEzi1 cxHc1LcpxklrmQVd6c+cOLytv3NTykYIepOlwRPxZKdrgHzRL3Uy8v/5oJyUodwhE6FF mWEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=UlkiqwhV7IvMN7lGZMnYpBTfyEJkdhn1N5gHibjK8dE=; b=MWEbPtR2SRHA+OcAXP4BERfirEa+UONOoVMgiPc6Pf0oHsf4lsJgAMLT0mczfsd9jy 8Ja9S/EZ+TLRdIh3Fe/+5C7vxE7yvZO5ievT+7L8LLH7SbtD6QnApYGRR3WdzI8q4hfj 1WsE1ZOa6DBUgy5cO0lkcvPlMrOVwuja0awUNgMCWieggkJEe6RY2hvwuw21XR7KLAYK zPu/E0E2FnTmBkLf4e/E37mkDJ8+E9t5bzBN+eLScLwunXjDzFh63sEa9mNXNqy9txGc +tfuicHXM/84DQZRHUnOk0tLJ4d3IcuASPqloi4H0Ixdbka2u27+/36FKMEewLOTo9HD pYjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y18si6604472pfa.9.2018.03.12.16.05.02; Mon, 12 Mar 2018 16:05:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751467AbeCLXEK (ORCPT + 99 others); Mon, 12 Mar 2018 19:04:10 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36362 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312AbeCLXEJ (ORCPT ); Mon, 12 Mar 2018 19:04:09 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id CB69D8033E; Tue, 13 Mar 2018 00:04:07 +0100 (CET) Date: Tue, 13 Mar 2018 00:04:07 +0100 From: Pavel Machek To: Ognjen =?utf-8?B?R2FsacSH?= Cc: "Rafael J. Wysocki" , kernel list , ACPI mailing list , "Rafael J. Wysocki" , Sebastian Reichel Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery error in mate Message-ID: <20180312230407.GA7612@amd> References: <20180312194715.GA3992@amd> <20180312194944.GA3979@amd> <20180312223521.vzccevf6z7ik5ysf@thinkpad> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20180312223521.vzccevf6z7ik5ysf@thinkpad> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > >> Fully charged > > >> battery shows as empty battery with red "x" in Mate desktop. After > > >> reboot to recent mainline problem goes away. Tooltip says "battery > > >> waiting to charge". > > >> >=20 > For the MATE bug see: > https://github.com/mate-desktop/mate-power-manager/pull/251 >=20 > The problem is in the new composite battery system in UPower, it > "merges" two external batteries into a single one for reporting. That > battery does not understand "Not Charging" inside the MATE Power > Manager. The above patch fixes that in MATE. Ok, so problem is 91eea70e5e5ce12eb1c7cd922e561fab43e201bd. And now, I see that MATE should be improved. But what I also see is that kernel is changing its interface in a way that (while making sense) breaks existing application. And we don't break existing applications. [Now... maybe if the fix for the application is available for long long time and noone is really looking and everyone already has new application version, maybe ... But pull request for MATE is 9 days old, and not even merged. So there is no way this is suitable for 4.17.] Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqnB2cACgkQMOfwapXb+vJNjgCgt2WRQHWFzZise9vYRi6ryIvr /a4AoLyqSOQ/14n0JmioxEC265RZ40RT =ak1a -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--