|
Bugzilla – Full Text Bug Listing |
| Summary: | Empty battery reported after suspend | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Axel Braun <axel.braun> |
| Component: | Kernel | Assignee: | openSUSE Kernel Bugs <kernel-bugs> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | axel.braun, tiwai |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
hwinfo
output of upower upower after suspend |
||
|
Description
Axel Braun
2024-04-22 08:47:10 UTC
Could you give hwinfo output? Created attachment 875060 [details]
hwinfo
Thanks. And what shows "upower -d" output before and after suspend/resume? Does it indicate the same problem, right? Created attachment 875098 [details]
output of upower
upower before suspend
Created attachment 875099 [details]
upower after suspend
Note that Laptop was attached to power all the time
So it seems that BAT0 reports a wrong value from the beginning even before the suspend. And it's a generic ACPI battery stuff, the most suspected is a BIOS firmware bug. But you can try to report to the upstream, e.g. bugzilla.kernel.org. Also, it might be worth to check whether it's a kernel regression. You can try older kernels in my OBS repos, e.g. home:tiwai:kernel:6.6 for 6.6.x kernel http://download.opensuse.org/repositories/home:/tiwai:/kernel:/6.6/standard/ Graphics or something else might be not working, but if it boots up, you can try the upower stuff to check the values without GUI, too. Hello Takashi (In reply to Takashi Iwai from comment #6) > So it seems that BAT0 reports a wrong value from the beginning even before > the suspend. And it's a generic ACPI battery stuff, the most suspected is a > BIOS firmware bug. Well, the BIOS did not change..... > But you can try to report to the upstream, e.g. bugzilla.kernel.org. Done: https://bugzilla.kernel.org/show_bug.cgi?id=218915 > Also, it might be worth to check whether it's a kernel regression. You can > try older kernels in my OBS repos, e.g. home:tiwai:kernel:6.6 for 6.6.x > kernel Currently running your 6.6.11 kernel and did not see the behaviour so far. (In reply to Axel Braun from comment #7) > > Also, it might be worth to check whether it's a kernel regression. You can > > try older kernels in my OBS repos, e.g. home:tiwai:kernel:6.6 for 6.6.x > > kernel > > Currently running your 6.6.11 kernel and did not see the behaviour so far. Interesting. Try 6.7.x and 6.8.x to narrow down the regression range, if it's indeed a regression. It'll help for identifying the cause. The issue was introduced with kernel 6.8, see https://bugzilla.kernel.org/show_bug.cgi?id=218881 The regression handling thread on ML: https://lore.kernel.org/all/435867b5-029b-419f-bb7f-2d4902c62556@leemhuis.info/ I'm building a test kernel with Rafael's test fix patch in OBS home:tiwai:bsc1223194 repo. Please give it a try later. (In reply to Takashi Iwai from comment #10) > The regression handling thread on ML: > > https://lore.kernel.org/all/435867b5-029b-419f-bb7f-2d4902c62556@leemhuis. > info/ > > I'm building a test kernel with Rafael's test fix patch in OBS > home:tiwai:bsc1223194 repo. Please give it a try later. There is a conflict, as nothing provides 'kernel-devel = 6.9.4-2.g2d30ad1' bereit, needed by kernel-default-devel-6.9.4-2.1.g2d30ad1.x86_64 I guess it will break the nvidia drivers, but I give it a try Ah I didn't know that you're using Nvidia driver, so I build only kernel-default. Now I triggered the rebuilds of all packages in the same repo. Please check it again later. I used your kernel in a couple of suspend cycles, with and without AC charger, the issue is gone! Thank you! Good to hear. Rafael submitted the fix patch, and I'll backport it to TW kernel: https://lore.kernel.org/r/3317718.44csPzL39Z@kreacher |