From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 221065] ideapad_acpi: unexpected charge_types spam on Yoga Pro 7 14ASP9
Date: Sat, 16 May 2026 22:21:02 +0000 [thread overview]
Message-ID: <bug-221065-215701-TbB6x4q9di@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-221065-215701@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=221065
--- Comment #83 from Rong Zhang (i@rong.moe) ---
(In reply to Rick from comment #82)
> (In reply to Rong Zhang from comment #81)
>
> > Anyway, my suggestions on monitoring and testing should reveal more
> > information on this.
>
> I do not have SSH setup at all and have never used remote SSH so that seemed
> like it was going to take more time to setup than I wanted to spend right
> now. Sorry there was limited testing today and I don't think the below is
> going to add much - but here is what I did get done:
>
> Using s-tui:
>
> Running in a standard terminal window results in it's graphs stopping during
> the pause events but when it comes back it looks like the power usage was
> reduced during the event. This does not seem surprising as the entire GUI
> stops updating.
Hmm, did it reduce by a little or a lot? And how about CPU frequencies?
>
> Running in a virtual terminal (the ones built into Mint using ctrl-alt-F1
> for a terminal and ctrl-alt-F7 to return to the GUI) I did not see any
> variation whatsoever while watching it through enough time for an event to
> happen. Power was lower than the test in a standard terminal window (I
> suspect because the GUI was not updating). There were no pauses as you
> suspected.
Just for confirmation, did the "unexpected charge_types" appears when using VT?
>
> Running in a virtual terminal and turning stress on I got the same results
> (I did not see any parameter substantially change when an event should have
> happened).
That sounds like your desktop environment was somehow blocked when it tried to
read charge_types synchronously, instead of CPU throttling.
GPU throttling may also lead to the same effects, which we can't rule out yet.
You can monitor GPU statistics with amdgpu_top's GUI, which provides graphs so
that you can check them after a pause.
>
> > So I speculate that some userspace utilities (probably upower or the
> desktop
> > environment?) read charge_types regularly or upon power events. Before
> v6.17,
> > ideapad-laptop didn't support it, so nothing could be read. However, since
> > v6.17, they can actually read it, and reading it triggers ECMT chaos upon
> > power events.
>
> This seems highly likely as there is a tray applet called Power Manager
> which shows battery and charging information. I know in Mint Cinnamon the
> tray icons do their stuff in the same process as the UI (they warn that
> misbehaved applets can cause system pauses and lockups). I think it uses
> upower to get it's info.
> Disabling these applets does not make the problem go completely away (upower
> is still running).
The weird part is that it freezes other applications. It may freeze the DE
itself (desktop, tray, etc), but it really shouldn't prevent other applications
from rendering. That's why more information is still helpful.
>
> > Oh, that was when the charge_types attribute was added to ideapad-laptop.
>
> This makes sense and ties into everything else - and explains the kernel
> versions and why disabling ideapad_laptop removes the pauses.
I guess I will send a patch disabling unreliable features due to the firmware
bug on corresponding devices.
>
> At this point is there really value in me taking the time to get SSH working
> from my phone to get the information on processes running or kernel
> information you mentioned above? Let me know if this would provide value to
> you and I will see what I can do.
Yes, triggering magic sysrq to see stacktraces in dmesg during the pause event
is very helpful and reveals what's going on.
The key is that you should use your DE as normal but trigger magic sysrq
immediately when you see a pause. Control variates...
If you can't use remote SSH, you can trigger magic sysrq from keyboards
(Alt+SysRq+l and Alt+SysRq+w). Most laptop lacks a SysRq key so you may need a
USB keyboard instead. Don't forget to enable all magic sysrq actions from
keyboards by `sudo sysctl kernel.sysrq=1'. See
https://docs.kernel.org/admin-guide/sysrq.html for more details.
>
> I would think running s-tui from the phone would be the same as running it
> in the virtual terminal (which didn't really show anything interesting
> happening). Unless you think the pause events just don't happen while I am
> watching a virtual terminal?
You don't need to run s-tui from the phone as it's not freezed under DE. Your
post-event observations are sufficient for s-tui.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2026-05-16 22:21 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 7:50 [Bug 221065] New: ideapad_acpi: unexpected charge_types spam on Yoga Pro 7 14ASP9 bugzilla-daemon
2026-02-09 9:10 ` [Bug 221065] " bugzilla-daemon
2026-02-09 11:47 ` bugzilla-daemon
2026-02-09 12:06 ` [Bug 221065] New: " Rong Zhang
2026-02-09 12:11 ` [Bug 221065] " bugzilla-daemon
2026-02-10 17:56 ` bugzilla-daemon
2026-02-10 18:44 ` Rong Zhang
2026-02-10 17:56 ` bugzilla-daemon
2026-02-10 17:57 ` bugzilla-daemon
2026-02-10 18:49 ` bugzilla-daemon
2026-02-10 18:57 ` bugzilla-daemon
2026-02-10 18:58 ` bugzilla-daemon
2026-02-10 19:01 ` bugzilla-daemon
2026-02-10 19:17 ` bugzilla-daemon
2026-02-10 19:23 ` bugzilla-daemon
2026-02-10 19:25 ` bugzilla-daemon
2026-02-10 19:28 ` bugzilla-daemon
2026-02-10 21:20 ` bugzilla-daemon
2026-02-10 21:28 ` bugzilla-daemon
2026-02-10 21:30 ` bugzilla-daemon
2026-02-10 21:32 ` bugzilla-daemon
2026-02-10 21:39 ` bugzilla-daemon
2026-02-10 21:42 ` bugzilla-daemon
2026-02-10 21:43 ` bugzilla-daemon
2026-02-10 21:53 ` bugzilla-daemon
2026-02-11 14:13 ` bugzilla-daemon
2026-02-11 15:02 ` bugzilla-daemon
2026-02-11 15:03 ` bugzilla-daemon
2026-02-11 15:17 ` bugzilla-daemon
2026-02-11 15:17 ` bugzilla-daemon
2026-02-11 15:35 ` bugzilla-daemon
2026-02-11 15:41 ` bugzilla-daemon
2026-02-11 16:58 ` bugzilla-daemon
2026-02-11 17:32 ` bugzilla-daemon
2026-02-11 17:59 ` bugzilla-daemon
2026-02-11 18:04 ` bugzilla-daemon
2026-02-13 13:20 ` bugzilla-daemon
2026-02-13 13:22 ` bugzilla-daemon
2026-02-17 1:37 ` bugzilla-daemon
2026-02-17 1:59 ` bugzilla-daemon
2026-02-17 2:06 ` bugzilla-daemon
2026-02-17 2:32 ` bugzilla-daemon
2026-02-17 2:44 ` bugzilla-daemon
2026-02-17 2:44 ` bugzilla-daemon
2026-02-17 16:28 ` bugzilla-daemon
2026-03-02 10:56 ` bugzilla-daemon
2026-03-02 11:06 ` bugzilla-daemon
2026-03-02 13:45 ` bugzilla-daemon
2026-03-02 14:41 ` bugzilla-daemon
2026-03-02 16:24 ` bugzilla-daemon
2026-03-02 16:35 ` bugzilla-daemon
2026-03-04 18:25 ` bugzilla-daemon
2026-03-04 18:29 ` bugzilla-daemon
2026-03-09 9:19 ` bugzilla-daemon
2026-03-10 18:01 ` bugzilla-daemon
2026-03-24 10:41 ` bugzilla-daemon
2026-03-24 18:40 ` bugzilla-daemon
2026-03-24 18:48 ` bugzilla-daemon
2026-04-01 12:58 ` bugzilla-daemon
2026-04-01 13:35 ` bugzilla-daemon
2026-04-07 19:02 ` bugzilla-daemon
2026-04-11 18:12 ` bugzilla-daemon
2026-04-11 18:57 ` bugzilla-daemon
2026-04-24 22:09 ` bugzilla-daemon
2026-04-26 18:39 ` bugzilla-daemon
2026-04-26 18:43 ` bugzilla-daemon
2026-04-26 18:44 ` bugzilla-daemon
2026-04-26 18:50 ` bugzilla-daemon
2026-04-26 19:08 ` bugzilla-daemon
2026-04-26 19:21 ` bugzilla-daemon
2026-04-27 5:42 ` bugzilla-daemon
2026-04-27 11:50 ` bugzilla-daemon
2026-04-27 12:21 ` bugzilla-daemon
2026-04-27 12:34 ` bugzilla-daemon
2026-04-27 23:58 ` bugzilla-daemon
2026-04-28 9:01 ` bugzilla-daemon
2026-04-28 12:22 ` bugzilla-daemon
2026-04-30 9:30 ` bugzilla-daemon
2026-04-30 17:20 ` bugzilla-daemon
2026-05-14 17:39 ` bugzilla-daemon
2026-05-15 19:58 ` bugzilla-daemon
2026-05-15 22:09 ` bugzilla-daemon
2026-05-15 22:30 ` bugzilla-daemon
2026-05-16 17:37 ` bugzilla-daemon
2026-05-16 17:47 ` bugzilla-daemon
2026-05-16 21:02 ` bugzilla-daemon
2026-05-16 22:21 ` bugzilla-daemon [this message]
2026-05-17 1:12 ` bugzilla-daemon
2026-05-17 16:45 ` bugzilla-daemon
2026-05-17 21:32 ` bugzilla-daemon
2026-05-17 21:33 ` bugzilla-daemon
2026-05-17 21:33 ` bugzilla-daemon
2026-05-17 21:48 ` bugzilla-daemon
2026-05-18 16:48 ` bugzilla-daemon
2026-05-20 15:43 ` bugzilla-daemon
2026-05-20 15:46 ` bugzilla-daemon
2026-05-25 12:14 ` bugzilla-daemon
2026-05-25 17:30 ` bugzilla-daemon
2026-05-26 12:33 ` bugzilla-daemon
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=bug-221065-215701-TbB6x4q9di@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=platform-driver-x86@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.