elementary / elementary/panel-power
Tooltip shows outdated percentage when using on AC power
- Dominant language
- Vala
- Stars
- 28
- Forks
- 16
- Avg merge
- 3h 26m
- Merged PRs (30d)
- 3
Description
### What Happened?
Hovering over the indicator the tooltip states a wrong battery percentage sometimes:

I have a charging threshold set to stop charging before reaching 85%. If I leave it plugged in, the battery won't be used and the laptop will operate from AC power directly. The tooltip on hovering doesn't always update only in this case.
### Steps to Reproduce
1. (to be verified if needed) set a charging limit below 100%
2. "fully" charge the device
3. hover over the power indicator
### Expected Behavior
The tooltip should always state the current battery percentage (in this case without charging or discharging estimation). It does work like this sometimes now, but it should always work
### OS Version
8.x (Circe)
### Session Type
Secure Session (Wayland)
### Software Version
Latest release (I have run all updates)
### Log Output
```shell
```
### Hardware Info
ThinkPad T16 Gen 1 AMD with a Sunwoda battery
Contributor guide
Assessment
This issue has not been assessed yet.