Received: by 10.213.65.68 with SMTP id h4csp27498imn; Mon, 12 Mar 2018 16:09:52 -0700 (PDT) X-Google-Smtp-Source: AG47ELvzUuAaJh+6QdrR5KNjYxNZcrPu9DOImknTTjPtufyxAJXWn+9/sWtuTNkPE135ZOwZX24M X-Received: by 10.99.125.87 with SMTP id m23mr307439pgn.297.1520896192514; Mon, 12 Mar 2018 16:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520896192; cv=none; d=google.com; s=arc-20160816; b=ltbNuJ4WTzBr0Ejfx1NOnO0e9YsiLpGEwDzfCeSnWu8CUeyVC3FHHo0FdxjLkvTwY+ lq/4TW3XArE1qUepZ8eVytfOh2q46L3VroZFr4dEQmrOp2/zpeZCHX+Qd83TR79cDgND O2wV2u0e/OqvidYkQPxlvoNX5VuuRp5DtdkRI6gfpfPP/TlQbFWB7PdGNjjCOJ6DXbqM NnCKgc6T3+jvRttjlqo+qyLjWRdlXmzco/f+klI8HnJHNpeX9VY1nmV+9BC2QK8l6Kkq NkRey6QnW9SC+KvItce+FzGljSxZ9KbJthe1hlB/3XsccUJ3RGhybZNXGJuoNs4U0O1b arDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=BtWAie6ky6CoYuHDQ2NdfKiAiUo10zET9B/1aSWOm24=; b=nRWX7LigmrgUI+yvsrz8+IQoomiUu7YJP3UP4fTUdi8tQTQDgjAdAAjmL4BH7BcDJS jYomT8S6VeStK/WVyD/aaR2+2NjatDlMUdz539tLgtpIObYwZ1ij96wdbaK3hVjSOWwh ALy71Q8DyZY81dNGzAoMpRLukS+GSQxWIkO9ksI1mrbkK9YQvDHVOco4HSWJxefbbRvY vJxgtLeUU3ISk+KXK+Ms827qHLjseWhrT9KWwtcgWJmOG6tlAJq4kDZpkxxyNGLoHidE g3LHv7KPKp7JPh90OPGf8HV/9Tt6oQCDO98BHtD6qs8HQ4n1GTFDtDtXuujPWBhOjXiQ wiVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gD6wD+WF; 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.09.38; Mon, 12 Mar 2018 16:09:52 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gD6wD+WF; 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 S932316AbeCLXHC (ORCPT + 99 others); Mon, 12 Mar 2018 19:07:02 -0400 Received: from mail-ot0-f170.google.com ([74.125.82.170]:45556 "EHLO mail-ot0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932265AbeCLXHA (ORCPT ); Mon, 12 Mar 2018 19:07:00 -0400 Received: by mail-ot0-f170.google.com with SMTP id f11so17035952otj.12; Mon, 12 Mar 2018 16:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=BtWAie6ky6CoYuHDQ2NdfKiAiUo10zET9B/1aSWOm24=; b=gD6wD+WF5KD1aMcVvoOld24Qr0Wx3vWmiL644PiTlNYu1mfGp85G/ed/6rcP3+n059 SYi8a7+QHhAJlf0JRYf+HNpuMzd9OGXZpl2WtEgFAzIhknhMsGkz2U7jb9B8V/yMqnrW IxZXar5YZeBflBt8oOpposDqw1v3vAH1n4023TMCD35Zyw38dIcdwZolpINlv660isex jrYJQXFsWXadsgkwHCftenW9rkrtfna50vUu2b+TbMS9BdXtwneZyD9E2rvEC8Fq82Kv rmI9saN9CeI1ukNJp+/MC4pklrA15W3q9U8ksmDKlKbR3WHlI+be/bAwazoxdduLq6eY ojhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=BtWAie6ky6CoYuHDQ2NdfKiAiUo10zET9B/1aSWOm24=; b=qGjAnLXQWWvQ35qEAYdZF+C/wxBtBJCIItiQDrez/wAOzvmDpv7krWtVDz27iOG41h OjhGroODoU7sMMVj+DInwI+8212+R6g1gxilQj70mrRWoQzn8GzLzR5N6LArTRGRqU/V TtX1MKHarjPVYuFDikkEz50D/G+pf0IcmnXjqzh7waHlrU3MsZEiUPFHgNl5qyIHpAPy lSs5p/0AW7PjAdaZw29rtaaxAzfLg9zgTmVmppZjbmbR8quvGGN4tPV4PFrKddE9fPYq Ytw6ye9kbrkX2jVIkz6XCHeS96fxoWTqr5iPgeQ7nlUJZvKBTcduLe5X+yKAoTaoj5VH lsbw== X-Gm-Message-State: AElRT7F3yIaKRALJwnSCmn03Os31aJcS+pgGOFY3aKIDiHSd5VKtlK9A Exbp5+QNEdkPvgW6Mxo40lKdGaNSmTHrEOw/5vo= X-Received: by 10.157.64.3 with SMTP id m3mr7138661ote.271.1520896019884; Mon, 12 Mar 2018 16:06:59 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2c92:0:0:0:0:0 with HTTP; Mon, 12 Mar 2018 16:06:59 -0700 (PDT) In-Reply-To: <20180312230407.GA7612@amd> References: <20180312194715.GA3992@amd> <20180312194944.GA3979@amd> <20180312223521.vzccevf6z7ik5ysf@thinkpad> <20180312230407.GA7612@amd> From: "Rafael J. Wysocki" Date: Tue, 13 Mar 2018 00:06:59 +0100 X-Google-Sender-Auth: HGap0PZZqk9vFTAs6I5qxS0hO88 Message-ID: Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery error in mate To: Pavel Machek Cc: =?UTF-8?Q?Ognjen_Gali=C4=87?= , "Rafael J. Wysocki" , kernel list , ACPI mailing list , "Rafael J. Wysocki" , Sebastian Reichel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 13, 2018 at 12:04 AM, Pavel Machek wrote: > 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.] Right. 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.