Created attachment 163186 [details] Power Tray Icon Percentage SUMMARY I'm using my laptop w/o a power adapter and noticing that the power icon in tray always shows "Batttery at 92%". However when i look at Energy in Info center, I can see it's at 78% (or lower). If I restart upower with systemctl, then I have a correct up-to-date value in the icon matching Energy info window , but it gets outdated quickly as I use the laptop. STEPS TO REPRODUCE 1. Unplug power, suspend 2. Resume and start working 3. After some time, ie 15 mins, hover over the power icon in tray and see remaining percent. Then right click the power icon in tray and click "Show Energy Information". See the real remaining battery there, not matching the hover value. 4. You can restart the upower daemon with systemd to get an updated % but it will quickly get outdated as well. It does not update. OBSERVED RESULT Battery % is not being updated as battery is used EXPECTED RESULT Battery % shall be correctly shown, matching Energy Info window SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.27.9 (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION In the pictures, you can see that actual battery is 75% while the tray icon still showing 77%.
Created attachment 163187 [details] Energy Info window Battery percentagea
Created attachment 163211 [details] Another example
I can confirm this in on Debian 12 (Bookworm) with powerdevil 5.27.5. Downgrading to version 5.20.5 (from Debian 11 / Bullseye) fixes it and the remaining time gets updated correctly.
Created attachment 164540 [details] Powerdevil battery applet remaining time
Thank you for the bug report. I'm sorry we weren't able to get to it yet. I would recommend updating to Plasma 6, a lot of the code surrounding this was updated and it's possible this has been fixed. The functionality works for me on 6.1.4 and git-master.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
I dont observe this anymore in my Arch, up to date with KDE packages Plasma 6.1.5 Frameworks 6.6.0