Bug 438233

Summary: Not detecting power plug/unplug correctly
Product: [Unmaintained] Powerdevil Reporter: Matty R <dev>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.21.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://gitlab.freedesktop.org/upower/upower/-/issues/126
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matty R 2021-06-08 06:36:09 UTC
SUMMARY
99% of the time, it is not correctly reported when my laptop is unplugged and instead will always show that it's plugged in but discharging.

STEPS TO REPRODUCE
1. Unplug Power

OBSERVED RESULT
Power shows it's plugged in but discharging and low power triggers do not fire correctly

EXPECTED RESULT
Power shows that it's unplugged, and low power triggers should start correctly.

SOFTWARE/OS VERSIONS
Laptop is an MSI Prestige 15.

Operating System: Arch Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-zen1-1-zen
OS Type: 64-bit
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10710U CPU @ 1.10GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION:
This did originally work correctly, but for the last 6 months or so it has not.
Comment 1 Nate Graham 2021-06-08 19:52:57 UTC
This is an upstream issue in upower: https://gitlab.freedesktop.org/upower/upower/-/issues/126