https://bugs.kde.org/show_bug.cgi?id=507592
Bug ID: 507592
Summary: Charger unplug not always detected
Classification: Plasma
Product: plasmashell
Version First 6.4.3
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Power management & brightness
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
SUMMARY
On a ThinkPad P14s Gen 4 (AMD), unplugging a charger connected to the USB-C
port can sometimes result in Plasma still believing a charger is connected -
this results in power-related settings not changing to "on battery" mode.
STEPS TO REPRODUCE
1. Plug in charger, notice sound plays and Plasma switches settings to On AC
mode.
2. Unplug charger, no change.
3. Insert charger into another USB-C port, repeat a few times. Eventually
plasma will apply the correct power profile when unplugged.
OBSERVED RESULT
Inconsistent behaviour on charger connect/disconnect.
EXPECTED RESULT
Reliable connect/disconnect event listening.
SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 42. Kernel 6.15.7-200.fc42.x86_64 (64-bit)
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
ADDITIONAL INFORMATION
Upon unplugging the charger, this event can be found when running `acpi_listen`
from `acpid` utilities.
```
battery PNP0C0A:00 00000080 00000001
ibm/hotkey LEN0268:00 00000080 00006032
ac_adapter ACPI0003:00 00000080 00000000
```
With this series of events happening when plugging in the charger.
```
ac_adapter ACPI0003:00 00000080 00000001
battery PNP0C0A:00 00000080 00000001
ibm/hotkey LEN0268:00 00000080 00006032
```
--
You are receiving this mail because:
You are watching all bug changes.