Bug 438233 - Not detecting power plug/unplug correctly
Summary: Not detecting power plug/unplug correctly
Status: RESOLVED UPSTREAM
Alias: None
Product: Powerdevil
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.21.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://gitlab.freedesktop.org/upower...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 06:36 UTC by Matty R
Modified: 2021-06-08 19:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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