Received: by 10.213.65.68 with SMTP id h4csp12676imn; Mon, 12 Mar 2018 15:31:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELtukcdXV0J7UersJThpasgHcyIFYgxZXdV8wStOYR1NnsjWeas20ni5TuTOkEdYL2SNYfvi X-Received: by 10.98.185.11 with SMTP id z11mr9402707pfe.153.1520893882616; Mon, 12 Mar 2018 15:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520893882; cv=none; d=google.com; s=arc-20160816; b=T3r9kpQgT4AqMYE9IkUwUc1Hj+FUDSrEO+eGV+nZmej4krYlAKk7aqZZYUMMTiRKr0 TwczY9tALlmCI4xP6Ntt5cTVcnJjsoxKuS4bwh+H1LVb7AudsCNWETKw+ATpRnZmPZ0/ MWTJ/7ahjZSy86LSeIPCQBsawU5HydEtDqZBwxdmg49QOHtIN5+BeKUPCwc3E13sfxFF kTFWAlpBfV7nkJptnVRVad7vJnS8h0Ezg5etMjgU/CCW9SONWgPX9xQoxISz1ZSvnry7 xBKKwqO5aXEBR1uJO+OJ1g2//CMGCk0EyEU6XkFF7QO4KJ/ZqA0wL0YSUJT7pYEIPxuu 8Xuw== 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=Ee8BJweb5a8dHdHyKYRpgJj3IULmL520nyp4grew1vs=; b=TxDhwGcapgz6J33NKjDJwk/SD27gXZQizD+40BvtWpx8iwBnstUFXakrLg99/7xeVL htvXg/b92eMSN43gJbtlKU5cLzo2J3pbk6PpAz8ah7V5Hcxf9mT5yNgnhFaYHV8KKSiC e2SOhwczTwbiTnaEavfYzICEsOSf1ULLHcJ8pNwqYzjFZWdvmtqmzOISowfe8cpfgZck Ta2tfd4jYsbDWw1QnEJQvgO11yWVVzTATVje0KX5qPEVx2o8dMacTIRmTx43hIlq9CFQ gjWMB3Qt8blwsZEeuT65TtWAdFN827/rgkOL/e0l9Ajpqp8A/euGNwznOD39TjFhSDEA K5NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=EqD/7Kys; 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 99-v6si6686069plf.56.2018.03.12.15.31.07; Mon, 12 Mar 2018 15:31:22 -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=EqD/7Kys; 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 S932317AbeCLW37 (ORCPT + 99 others); Mon, 12 Mar 2018 18:29:59 -0400 Received: from mail-ot0-f182.google.com ([74.125.82.182]:46372 "EHLO mail-ot0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751418AbeCLW35 (ORCPT ); Mon, 12 Mar 2018 18:29:57 -0400 Received: by mail-ot0-f182.google.com with SMTP id g97so16961391otg.13; Mon, 12 Mar 2018 15:29:57 -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=Ee8BJweb5a8dHdHyKYRpgJj3IULmL520nyp4grew1vs=; b=EqD/7KysqoZVronD/M/Dm0nASNVvPqEcz4j5jTDB9TWYmEGUZdVS8koPwm/AeOg/zF NxwCl0pmOgHhOMHoryh9jBjpTOzn0DRgcz2yUEPutYtQjQmv2YmYpu3EVHhe6EOOBPyu 0nwqcKx+SWytq6IU+UUh3e/PkpqqnhU+yIgTeUNxNGLO3dPi7ffD2hAKy64AUIarmI9u BX/yAzvfeGkuBvAu2wiGrZxdPaod7dg8crvQ6GPD8JHM630Gtr7yk7HJDCNsDu8HIdfR 3WnujiFC8gWmFgYP2/m8cW7KwGj4YAq0kPf04I5T/ZnwAEY1oV1mcDHmIV+cOtTpPHRm Us6g== 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=Ee8BJweb5a8dHdHyKYRpgJj3IULmL520nyp4grew1vs=; b=t6YM0WR6wV4Xi7Xto1HiYHmsO3XRNMeZImh3M6HsUko6ZNYL1+4Q59osk9djn0kwaQ v/1JVslhzFzgEmI3Ri1i/VlHpJ+j9MR/F/fqcSZynLP4DVetOXJniCDg6k02GzNRbRe1 zRgSdNsjDN78DkQshNnZISfMOECPJBncyWXTPDk/uxOIJa694va7OdOz3gTSaH/nGocK BChv4i69FYBii/w1imhHUtKP80/mQRcAN64ogPYXRhZjc3wCleTK+dM2d3V6xaU0ZD6X Mrsymvx8FyAy0u8Or7dA5elxotOwqbw5tEZkTbYv/DypIcJFsrHwPhfpP84W40TGWE/r E2cA== X-Gm-Message-State: AElRT7Gm6RygDFmf4mgsZYd7Z9QsXpSkP0wrQ24a7LA1hoUO6HiypizQ FdFr2KHXIC8BE0KH1WJ8ktRJLN2H/CsvCKl2LYMuWg== X-Received: by 10.157.10.67 with SMTP id 61mr6220789otg.370.1520893797227; Mon, 12 Mar 2018 15:29:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2c92:0:0:0:0:0 with HTTP; Mon, 12 Mar 2018 15:29:56 -0700 (PDT) In-Reply-To: <20180312194944.GA3979@amd> References: <20180312194715.GA3992@amd> <20180312194944.GA3979@amd> From: "Rafael J. Wysocki" Date: Mon, 12 Mar 2018 23:29:56 +0100 X-Google-Sender-Auth: PodgB2yuQgunHudu6N7wh4ZoVC0 Message-ID: Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery error in mate To: Pavel Machek Cc: kernel list , ACPI mailing list , "Rafael J. Wysocki" , Sebastian Reichel , Ognjen Galic 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 Mon, Mar 12, 2018 at 8:49 PM, Pavel Machek wrote: > On Mon 2018-03-12 20:47:15, Pavel Machek wrote: >> Hi! >> >> Did something change recently with battery reporting? Yes, it did, and specifically for Thinkpads. >> 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". >> >> /proc/acpi/battery/BAT0/state looks ok: >> present: yes >> capacity state: ok >> charging state: charged >> present rate: 0 mW >> remaining capacity: 41240 mWh >> present voltage: 16495 mV >> >> Linux amd 4.16.0-rc3-next-20180302 #30 SMP Fri Mar 2 10:28:44 CET 2018 >> i686 GNU/Linux >> pavel@amd:~$ cat /sys/class/power_supply/BAT0/status >> Not charging > > Reboot to mainline: > > pavel@amd:~$ uname -a > Linux amd 4.16.0-rc4+ #509 SMP Thu Mar 8 15:28:06 CET 2018 i686 > GNU/Linux > pavel@amd:~$ cat /sys/class/power_supply/BAT0/status > Unknown > > Mate shows it as "laptop battery is fully charged". > >> Thinkpad X60. Please try to revert commits fa93854f7a7e..a20136a67a99 from linux-next and see if that helps.