Received: by 10.213.65.68 with SMTP id h4csp63078imn; Mon, 12 Mar 2018 17:52:29 -0700 (PDT) X-Google-Smtp-Source: AG47ELtCVAFh5xI8f1e2Co/9/FPErROIOB2wih3Tpmh/QeRbZAibwPVtkSIFAXwoTPAWouop/OSX X-Received: by 2002:a17:902:6b0c:: with SMTP id o12-v6mr2690284plk.295.1520902349535; Mon, 12 Mar 2018 17:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520902349; cv=none; d=google.com; s=arc-20160816; b=ojlUPbfjzmL+g/ShT78RKEn5qxoXoPH1S238xwAnXK67tMSdqirBdl9NI4ee0v7ibc cO3ScMJd2yDZqh7rOPZTQ3DQKi8eV7AZKx2WROwOoNOo0CUlTjV1cSNBmf4OlMQr2GTg wqXFsANxDG2MaAOTo3T6puqxwWpJMi2BIpzZoz9W2btnuJWD3py4dyUVErV6vc//Uth0 kttztb4hzVVROC+CQvB2VgWGY5m/NJjw2AmbIIWEpOgn4CX3l+6PuRumSRiEqxeYKBY/ uLIk/4uHml81dRIKgowOgvggQqGwo9b2VhEGOENwtzbIzx2uNKKPoNNtfW6HK7RVkNvn uGkA== 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:dkim-signature:arc-authentication-results; bh=0WuAHx3v0Ya9PTrONECY83fCUgxZYBHtkPDPa1wX/MI=; b=sDXI0tVZNOjyWTcZLXRMJYntIAYD/8UsX6th5xs3LtOqyGyGQcWCV7axT4b0CZakEF LbQXr/fLs56YeVEhJVrSrJWwwygM8yb+BK9Tlc1dvSeSNmMKVD4znvBfOkOCoO80+q2N KQh+AQBX7SSHXe4MhJk7Nv/C2XauifylK414l5WVpORJ7eEmswWNIUtVpdrQ8Tm95Zez FAQyDC1pprCmz3nAx6ibEL2BMMBVKhU3JcjkY1RXOLGF2CW4DflxLdmTSHT89usaWEkg Ih1+NLo7amWS9r0KexZhBwhbJyiObRudv11Lbr3En9XPmOteSjrMfEzRWo3etNi/kb1D i0EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JSO4Bg63; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61-v6si6878218plb.733.2018.03.12.17.52.15; Mon, 12 Mar 2018 17:52:29 -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=pass header.i=@gmail.com header.s=20161025 header.b=JSO4Bg63; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751613AbeCMAvL (ORCPT + 99 others); Mon, 12 Mar 2018 20:51:11 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:42416 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbeCMAvJ (ORCPT ); Mon, 12 Mar 2018 20:51:09 -0400 Received: by mail-wr0-f178.google.com with SMTP id s18so3902868wrg.9; Mon, 12 Mar 2018 17:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0WuAHx3v0Ya9PTrONECY83fCUgxZYBHtkPDPa1wX/MI=; b=JSO4Bg63GAsZh/8Eq1VwKaAy43HULaR2PWPUxxI9/04mVgKxmQtNbw9AMvz67vuKBC pFmB+SQ//VkwsigGKnVFdhqt9GhSlPwwndjXwfdxMaK4tCVWeNVkH1tk9Dnjah/yh4KM s2580Og1YGVi+HVHRhYPGVjOIEBslRrFKZLsrnvQNwJcPWNKw8CssvUSoiN7zIL69Un0 lHdAzZFkHaKtrxLlYBIRZztrOYOPkExDzmRDwbW6+hCzTheCUsO78TxwCqYR1W9n+aZZ rnK3bw2Ttgk2ZGGPddhI+VV9x5pwNWF20glZ8r0//8qqacl0Ib/JNsQDqjnkuRHx7zuV LFBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0WuAHx3v0Ya9PTrONECY83fCUgxZYBHtkPDPa1wX/MI=; b=ZssOyJWiSzUj6ld66g6uCRvJ9bnx3aXP+6qsRKperwO/OzSUOXkKQJyaNomX7pOWho OOltGfoQJjvsXHu4k7/VCR2bAVcMLMt5qv//OUHLhWqpCxoUik7JcIb5UEhVbayCMV1E UMZ2Ty6OYUf/iRYVyPB+D+kt/eyr6FlPiWfvXWtwTF+fvnq8AU4JAmhoGKdLJ7yfGPMx VKyx0q8ygurmG3KjH2KVF0yutGAxHJsN7+AHFSI84oR0U+2m8yRxhou4N0HCsKwnfNFM L6a4poo8iHuNmHe2rlDd7aUEpLhbIZCcV49cKA3rVBOdllPlEPTyqp5uZTp1cKaaL6P1 1Snw== X-Gm-Message-State: AElRT7EGiCrKSuNzUN6mKPlneogqa5GODqSNQtgvtA6COa34AGz2dd2Q 0/1/tlihz8Ym7bSr9s+0GERe/g== X-Received: by 10.28.66.197 with SMTP id k66mr7515626wmi.58.1520902267679; Mon, 12 Mar 2018 17:51:07 -0700 (PDT) Received: from thinkpad (pppoe-46-239-9-93.teol.net. [46.239.9.93]) by smtp.googlemail.com with ESMTPSA id s26sm10598858wrb.10.2018.03.12.17.51.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Mar 2018 17:51:06 -0700 (PDT) Date: Tue, 13 Mar 2018 01:51:03 +0100 From: Ognjen =?utf-8?B?R2FsacSH?= To: Pavel Machek 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: <20180313005103.brhhrxlatxfkdw7p@thinkpad> References: <20180312194715.GA3992@amd> <20180312194944.GA3979@amd> <20180312223521.vzccevf6z7ik5ysf@thinkpad> <20180312230407.GA7612@amd> <20180312231847.GB7612@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180312231847.GB7612@amd> User-Agent: NeoMutt/20170609 (1.8.3) 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:18:47AM +0100, 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. > > Yes please. > > Note that only 91eea70e5e5ce12eb1c7cd922e561fab43e201bd should break > anything, the others should be safe AFAICT? > > Pavel > Actually there is a bug in UPower itself, and that reflects the status icon being broken in almost all desktop environments. I will work on fixing UPower in the following days. Disregard my previous comment. > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html