It's the "low battery: 98%" bug. I'm quite entertained by this bug, because it's mostly harmless and quite comical. Bear with me. SUMMARY The low battery notification is duly updated when the reported charge percentage changes. Which is a nice touch. Very KDE-like. So much polish. We are taken by the hand. Unfortunately, it does not seem to check whether the percentage still matches the need for displaying the notification. Therefore, you can trick it into telling a joke. See the steps. (well, you guessed the steps; unfortunately, I had to spoil the story in the title for a good bug report). STEPS TO REPRODUCE 1. Use your laptop until a low battery notification shows up. 2. Suspend 3. Plug the computer while it's asleep 4. Wait a while 5. Wake it up and unlock OBSERVED RESULT Notice how the low battery notification is still there, complete with the updated percentage. EXPECTED RESULT The battery notification should be gone. Now, a static notification that would not update the percentage would have the same issue, but with the updated charge, it's extra fun. SOFTWARE/OS VERSIONS Linux/KDE Plasma: updated openSUSE Tumbleweed KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Related to #463034. But I believe they should be distinguished because #463034 seems to describe something that implies that some code detecting AC plug is not working correctly. We still want the notification to be hidden as soon as the AC is plugged, not only when the percentage is higher than the limit.
Makes sense. We get rid of the "Low Battery" notification when the cord is plugged in, but if that happens during suspend, we don't get the signal for it so we don't notice that it's happened. So I guess we need to explicitly check again after resuming from suspend, too.
*** This bug has been marked as a duplicate of bug 507203 ***