Bug 428711

Summary: AC adapter unplugged but battery widget think it is still plugged
Product: [Plasma] plasmashell Reporter: Guo Yunhe <i>
Component: Power and Battery widgetAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nicolas.fella, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.20.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "upower -d" output

Description Guo Yunhe 2020-11-05 05:20:34 UTC
Created attachment 133044 [details]
"upower -d" output

SUMMARY
This happened randomly after upgrade to 5.20. Most likely to appear after resume system and unplug AC adapter.

STEPS TO REPRODUCE
1. Sleep your laptop with AC adapter connected.
2. Resume your laptop.
3. Unplug AC adapter.
4. Check battery widget status and output of "upower -d".

OBSERVED RESULT
upower -d shows that the AC adapter is not online. But battery widget shows AC adapter is connected.

EXPECTED RESULT
upower -d shows that the AC adapter is not online. And battery widget shows AC adapter is disconnected.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20201030
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2020-11-05 12:11:52 UTC

*** This bug has been marked as a duplicate of bug 428327 ***