Bug 206731 - Charger plug, unplug not detected promptly: Windows sees change promptly
Summary: Charger plug, unplug not detected promptly: Windows sees change promptly
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_power-battery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 16:19 UTC by Taranjunior
Modified: 2020-11-19 03:43 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.5.4-050504-lowlatency #202002150446
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Taranjunior 2020-03-02 16:19:13 UTC
I have a Lenovo Ideapad 330-17ICH laptop running Ubuntu 19.10. Since I've installed Linux-based system I'm having issues with charger - it's not recognized instantaneously. After a while after connected (probably when battery level changes), it's recognized as "charging". The same is in reverse way - after a while it notices that charger was unplugged. On Windows charger (un)plug is detected promptly and instantaneously.   

This issue was checked at the following kernel versions: 4.14, 5.3.0, 5.5.4. All of them are affected. It was also detected on the another laptop with similar hardware and tested on the other Linux based systems e.g Linux Mint, Ubuntu 18.04, Manjaro. 



- here's full syslog just from boot: https://gist.github.com/Dominos/23e658b41fe90b7b08c172533b4b08e5
- The command `grep . /sys/class/power_supply/*/*` output: https://gist.github.com/Dominos/5ef9252a94c4a8805682eede87b73ec1#file-gistfile1-txt
- dmesg: https://gist.github.com/Dominos/a2665146a4af228c97f74e1563ec8b7d#file-dmesg-txt
- acpidump: https://gist.github.com/Dominos/41ade2cf5ea12a4a4db3aa730e1a85e5#file-acpidump_ideapad_330_17ich_ubuntu-txt
- inxi -aF output: https://gist.github.com/Dominos/3f5480c01e80ed7e1d765d74bf0ad4e8#file-inxi

Bios is updated to the latest available version.
Comment 1 Thomas Pfaff 2020-05-18 13:34:38 UTC
Take a look at https://bugzilla.kernel.org/show_bug.cgi?id=207749, i guess it's the same issue according to your kernel log.
Your syslog has an "irq 9: nobody cared" log entry after 15 seconds.
Comment 2 Zhang Rui 2020-06-29 13:59:13 UTC
This is got from your acpidump
[02Eh 0046   2]                SCI Interrupt : 0009

so irq 9 is ACPI interrupt.

please attach the output of "grep . /sys/firmware/acpi/interrupts/*"
Comment 3 Thomas Pfaff 2020-10-23 10:33:55 UTC
(In reply to Zhang Rui from comment #2)
> This is got from your acpidump
> [02Eh 0046   2]                SCI Interrupt : 0009
> 
> so irq 9 is ACPI interrupt.
> 
> please attach the output of "grep . /sys/firmware/acpi/interrupts/*"

you might find this information also here:
https://bugzilla.kernel.org/show_bug.cgi?id=207749
Comment 4 Zhang Rui 2020-11-19 03:43:59 UTC
Bug closed as there is no response from the bug reporter.
@Thomas, we can focus on your issue at bug #207749

Note You need to log in before you can comment on or make changes to this bug.