public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
	ACPI mailing list <linux-acpi@vger.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>, sre@kernel.org
Subject: Re: linux-next on thinkpad x60: full battery is indicated as battery error in mate
Date: Mon, 12 Mar 2018 20:49:44 +0100	[thread overview]
Message-ID: <20180312194944.GA3979@amd> (raw)
In-Reply-To: <20180312194715.GA3992@amd>

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2018-03-12 19:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12 19:47 linux-next on thinkpad x60: full battery is indicated as battery error in mate Pavel Machek
2018-03-12 19:49 ` Pavel Machek [this message]
2018-03-12 22:29   ` Rafael J. Wysocki
2018-03-12 22:35     ` Ognjen Galić
2018-03-12 23:04       ` Pavel Machek
2018-03-12 23:06         ` Rafael J. Wysocki
2018-03-12 23:18           ` Pavel Machek
2018-03-12 23:39             ` Ognjen Galić
2018-03-13  0:51             ` Ognjen Galić
2018-03-13  9:14               ` Rafael J. Wysocki
2018-03-13  9:15                 ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180312194944.GA3979@amd \
    --to=pavel@ucw.cz \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox