Received: by 10.213.65.68 with SMTP id h4csp257302imn; Mon, 12 Mar 2018 12:51:06 -0700 (PDT) X-Google-Smtp-Source: AG47ELv+yR0j0QvhHmgx8dUfTegVowStZkETqafmIfNtTbi2L0UcK1bErRvMlOUJBDdZ+OIS5/W1 X-Received: by 2002:a17:902:7b90:: with SMTP id w16-v6mr9122732pll.26.1520884266538; Mon, 12 Mar 2018 12:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520884266; cv=none; d=google.com; s=arc-20160816; b=nCr/ZoYfqbAr6OEEPrhACS5SaPHZuS6m5iuT1GMjySaCfjUfUrj5lRn+ku7kz+66X3 pTY9feVYDemwC7Z5jyWMWi29FljAXtDtEvCI468IHom+j4bDDceUWPD7gvBcF0Hz7m9I sy15oL3ODJ+61qpH5Fngr3iurhY1dqBDJS5aLfBpxD9VGHXmc5yhjNXLRekk/0U5FDQV CxCQN8ow6uPk5GqtPYPikVdDxcC+WydcwGgJou2LNND/K7tEOdSIyAFACgIRLi1kBR3Q SiDng5Eklv/JTpvVnRVtyWP1D9rNl+shUr8FeMQ1mqeZ7r2Y+qMtL+OuwCt5azysV4jy B3Hw== 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=rjlaTJhiTM80ha98ZyC7+UM1T+r4eaQO51ZVmEGlsD4=; b=vS7BDOtnfTin99MwsUinYSmTk2rM5C5aaC1lVtFv3iMJ67uSbkWxBU52bqSiLgQoUG dxUiT+3ae8V1mBH6a1T2ga69yK9OKKu5EK2Kt8qBs3fRXQvxuImIrKg2XUxFyp3WMpSZ rFWG6vqmbsJnAOTQXn9Lz+NSO09xn3fAC2knOJW92/AgAj2zIc/lQRjdYZAXNMZu5QP7 K59I60ifzGZe7WhYGfN7ASGM2EZ/njeyYY9/0RjXUFMQoqWNa/YRRtBiALg82K8zerbf bPxyHKmgctX5XsbmQ/PfaGMF22BY4ECZP24XuEQm+eUA2/Tmcf9OPq4+CrkgOQoEebjW edkg== 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 f29si6216767pff.364.2018.03.12.12.50.51; Mon, 12 Mar 2018 12:51: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 S1751509AbeCLTtr (ORCPT + 99 others); Mon, 12 Mar 2018 15:49:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:59892 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751282AbeCLTtq (ORCPT ); Mon, 12 Mar 2018 15:49:46 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9C91C802E6; Mon, 12 Mar 2018 20:49:44 +0100 (CET) Date: Mon, 12 Mar 2018 20:49:44 +0100 From: Pavel Machek To: kernel list , ACPI mailing list Cc: "Rafael J. Wysocki" , sre@kernel.org Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery error in mate Message-ID: <20180312194944.GA3979@amd> References: <20180312194715.GA3992@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20180312194715.GA3992@amd> 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 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2018-03-12 20:47:15, Pavel Machek wrote: > Hi! >=20 > Did something change recently with battery reporting? 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 > /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 >=20 > 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. > =20 > Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlqm2dgACgkQMOfwapXb+vIZEQCfeRSEIcTC2fSH9Pr28Ms92/PJ QH8AmQE6iJd5zTzXQx85bgRz2Nmy9D79 =BdfR -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--