[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180312194944.GA3979@amd>
Date: Mon, 12 Mar 2018 20:49:44 +0100
From: Pavel Machek <pavel@....cz>
To: kernel list <linux-kernel@...r.kernel.org>,
ACPI mailing list <linux-acpi@...r.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>, sre@...nel.org
Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery
error in mate
On Mon 2018-03-12 20:47:15, Pavel Machek wrote:
> Hi!
>
> 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".
>
> /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.
>
> Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists