budgie-desktop
budgie-desktop copied to clipboard
Battery applet gives incorrect value with dual batteries[Bug]
Description
Thinkpad T450s running Ubuntu Budgie 22.04 latest update. This unit has dual batteries. However, the applet gives a different reading than tlp-stat.
Budgie version
10.6.1
Operating System
Ubuntu Budgie 22.04.02
Steps to reproduce the issue
see desktop battery icon execute at command line tlp-stat
Actual result
battery applet shows 98% and 42%
Expected result
52% 52%
Additional information
No response
Can you give the full output of upower --dump
and tlp-stat
in gists, run at the same time?
https://gist.github.com/makitso/e99a7c54b1b5e41c395dd7f0b03a1b44
It does seem like the applet is giving incorrect values, but you misinterpreted the output of tlp-stat. What you're looking for is these, the percentage charged for BAT0 and BAT1:
What's interesting here is that both tlp-stat and upower --dump are giving a percentage of 78% for the secondary battery, but the applet in your panel is showing 74% - so there is a discrepancy, it just wasn't what you thought it was.
So, do I keep this issue open or close it?
Keep it open. We need to determine if there really is an issue with how the status applet calculates battery percentages.