Received: by 10.213.65.68 with SMTP id h4csp31338imn; Mon, 12 Mar 2018 16:20:06 -0700 (PDT) X-Google-Smtp-Source: AG47ELtpn6FUCPFyfR3818HjiFPgqVWZi3M/79mtBbkVfN93jHOTWyVooa8AGJuU+4Z5MZEHC1s+ X-Received: by 10.99.110.5 with SMTP id j5mr7807343pgc.65.1520896806785; Mon, 12 Mar 2018 16:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520896806; cv=none; d=google.com; s=arc-20160816; b=csauHppBG6nEDmlmi8uUUXFBDJ9oJAJTsqcTLJnzyMjPZJ1ZjWVaMLn9Z/YmQ1XJFk yOIufXj3cLLe8o7YZmGzuvptSOL11+JpSc1X9ukRzm64ONcF26F8qYjCncsk/+PT25TY gcOJtvm1ieLpgdzdqYEA016ogbxHW+65l76YxfI0QWrSIIdruTWjWCi+RDFdJv5O6anD Lp0pht4LQBtY1kKv+OeFP8V/3/yy7zTZjOak4YkiYPnofIXk/KL4ttLb+BGQTs38S7gX RkcnpUqlmvHEfF0qCw/Gt5YYi//55W9WuGJqFeXIQJGD9vvRqCHx95rrmS1DsDW7ISdN HBFg== 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=MmkQxuhOTYyziVq9Y5B8IGLj1/+GDadNR5T+phl18tA=; b=i6Ql1r34JLr2i1TNLiAQ9uyMt3Zk12LN7dteQ7cvgA/dbiT3I7skDcgJniANO+B/mG PHaFgo5RZ4L4CMsyPgN6sn3bFgoKRWku90v0Sf7nHS94Zn68gEuIdrFUczyQSuwvJlGy DeKC2HX9AkII/3t8TC9q+vt+QQwzRBtXzWP7z5HAozIvAaKCOhuAR8b+ez60YA4v79lo jdozPvLnv0MJwqfci1RrmsMkyY/2+b4VyIdxtSYLGc2y0pXrqChLspH9iy/0PMcpbwJh nXSrmBa4/nBbMIOigaFw1ZjNFM7566g1yfvHJUveTVXdCCHMmGdrVirKE72B0kFZJlBl typA== 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 p16-v6si5145562pli.731.2018.03.12.16.19.52; Mon, 12 Mar 2018 16:20:06 -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 S932256AbeCLXSu (ORCPT + 99 others); Mon, 12 Mar 2018 19:18:50 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36653 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751386AbeCLXSt (ORCPT ); Mon, 12 Mar 2018 19:18:49 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id CB0E58033E; Tue, 13 Mar 2018 00:18:47 +0100 (CET) Date: Tue, 13 Mar 2018 00:18:47 +0100 From: Pavel Machek To: "Rafael J. Wysocki" Cc: Ognjen =?utf-8?B?R2FsacSH?= , 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: <20180312231847.GB7612@amd> References: <20180312194715.GA3992@amd> <20180312194944.GA3979@amd> <20180312223521.vzccevf6z7ik5ysf@thinkpad> <20180312230407.GA7612@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+pHx0qQiF2pBVqBT" Content-Disposition: inline In-Reply-To: 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 --+pHx0qQiF2pBVqBT 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". > >> > >> > >> > >> For the MATE bug see: > >> https://github.com/mate-desktop/mate-power-manager/pull/251 > >> > >> 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.] >=20 > Right. >=20 > This basically means that we will have to defer the battery changes > until user space is ready and not just upstream, but also in distro > packages. Yes please. Note that only 91eea70e5e5ce12eb1c7cd922e561fab43e201bd should break anything, the others should be safe AFAICT? Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --+pHx0qQiF2pBVqBT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqnCtYACgkQMOfwapXb+vIY3wCghlVK7leroKKt/qWaiSwyyh1F qDIAnjLq6SzoIV3sF2Hhh1+KDhVzmUz+ =O48s -----END PGP SIGNATURE----- --+pHx0qQiF2pBVqBT--