Bug 496651

Summary: Critical battery notification does not auto-dismiss after plugging in computer charger
Product: [Unmaintained] Powerdevil Reporter: duplomiles
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6
Sentry Crash Report:

Description duplomiles 2024-11-25 00:28:27 UTC
SUMMARY
Critical battery notifications do not automatically dismiss after plugging in the computer charger, requiring manual closure even though the critical state is resolved.

STEPS TO REPRODUCE

    1. Let the battery discharge until a critical battery notification appears.
    2. Plug the computer into a power source to charge.
    3. Observe the behavior of the critical battery notification.

OBSERVED RESULT
The critical battery notification remains on the screen after plugging in the computer, requiring manual dismissal.

EXPECTED RESULT
The critical battery notification should automatically close when the computer is plugged in, as the critical state is no longer valid. Manual intervention to close the notification should not be necessary.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Debian GNU/Linux 12 (bookworm) x86_64
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

    Kernel: 6.1.0-26-amd64
    Device: ThinkPad X380 Yoga (20LJS1EH00)
Comment 1 Nate Graham 2024-11-25 20:35:14 UTC
This is implemented in Plasma 6.