Bug 449967

Summary: Plasma reports "laptop plugged in but is still discharging" while laptop is running on battery power
Product: [Unmaintained] Powerdevil Reporter: Eric Donkersloot <eric.donkersloot>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: eric.donkersloot, nicolas.fella
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot
Upower dump

Description Eric Donkersloot 2022-02-10 19:38:16 UTC
Created attachment 146551 [details]
Screenshot

SUMMARY
***
Laptop reports it is still plugged in after wake from sleep while disconnected from AC during sleep
***


STEPS TO REPRODUCE
1. Charge your laptop
2. Close the lid, wait for the laptop to go to sleep
3. Disconnect the laptop from the charger
4. Wake up the laptop, notice the session is not locked
5. Check the battery state status in Plasma, the icon indicates the laptop is in a charging state

OBSERVED RESULT

Battery is discharging normally, but plasma reports:
"The power supply is not powerful enough to charge the battery"


EXPECTED RESULT

Plasma should report the battery discharging in a normal fashion

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION

After wake from sleep "cat /sys/class/power_supply/BAT0/status" reports "Discharging"
Comment 1 Eric Donkersloot 2022-02-10 19:43:31 UTC
Created attachment 146552 [details]
Upower dump
Comment 2 Nicolas Fella 2022-02-10 20:11:09 UTC

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