Bug 219638
Summary: | Battery Not Detected on Boot When Running on Battery Power | ||
---|---|---|---|
Product: | ACPI | Reporter: | Sylvain Mosnier (sylvain.mosnier) |
Component: | Power-Battery | Assignee: | acpi_power-battery |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 6.8.0-51-generic | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg boot logs on AC
dmesg boot logs no AC |
Description
Sylvain Mosnier
2024-12-28 17:24:07 UTC
Additionally, upgrading kernel to 6.12.3 (latest stable ubuntu) did not fix the issue. Has any kernel ever worked for you, or has it always been like this? Created attachment 307420 [details]
dmesg boot logs on AC
Booting when AC connected
Shell prompt :
sudo dmesg | grep -i BAT > dmesg_acpi_bus_log_no_ac.txt
I first enabled dynamic debug by adding dyndbg="file drivers/acpi/bus.c +pfsl" to my grub config file.
Created attachment 307421 [details]
dmesg boot logs no AC
Dmesg at boot time when no AC source plugged
Shell prompt :
sudo dmesg | grep -i BAT > dmesg_acpi_bus_log_no_ac.txt
I first enabled dynamic debug for drivers/acpi/bus.c file with dyndbg="file drivers/acpi/bus.c +pfsl" in my grub config.
It has always been like this. From the above attachment, it looms like the BAT1._STA methods is taking a long time to go to 0x1F value when on battery. Maybe some firmware bug. Do you still have Windows installed? Can you confirm it's not affected? (In reply to Artem S. Tashkinov from comment #6) > Do you still have Windows installed? Can you confirm it's not affected? Yes, I have a dual boot. Indeed, Windows is not affected. Also, all firmware and drivers are up to date on Windows side. Please give kernel 6.13-rc5 a try. |