elementary / elementary/panel-power

Tooltip shows outdated percentage when using on AC power

Open
#282 0 comments 0 reactions 0 assignees View on GitHub
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:
![Image](https://github.com/user-attachments/assets/6e068aed-b75e-4f5c-9f56-2d488576e559)
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.