Re: Regression, thermal: core: battery reading wrong after wake from S3 [Was: Bug Report according to thermal_core.c]

From: Rafael J. Wysocki
Date: Mon Jun 17 2024 - 06:49:30 EST


On Sun, Jun 16, 2024 at 9:50 AM fhortner@xxxxxxxx <fhortner@xxxxxxxx> wrote:
>
> Currently I am running kernel 6.8.12 with reverted commit.
> But yesterday I had a strange behavior.
> After resuming from S3 the laptop registered a low battery, immediately
> after resume (notification in KDE Plasme). But as far as I could check,
> the battery level and stats where fine. Nevertheless, after 1 minute it
> shut off. I guess the low battery reading directly after after resume
> triggered it.
>
> It is not directly related with the commit, because I have reverted it,
> but nevertheless, maybe it is helpful to understand the underlying
> firmware issue.

We can do that, but please create a new non-regression BZ entry for it
against ACPI/battery and let me know its number.

> I' going to test your last patch and let you know.

OK