From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery error in mate Date: Tue, 13 Mar 2018 00:04:07 +0100 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" Return-path: Content-Disposition: inline In-Reply-To: <20180312223521.vzccevf6z7ik5ysf@thinkpad> Sender: linux-kernel-owner@vger.kernel.org To: Ognjen =?utf-8?B?R2FsacSH?= Cc: "Rafael J. Wysocki" , kernel list , ACPI mailing list , "Rafael J. Wysocki" , Sebastian Reichel List-Id: linux-acpi@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--