GNOME Shell shows outdated battery level for about a minute after a resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Invalid
|
Low
|
Unassigned | ||
gnome-shell (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Wily |
Expired
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
1. Let the battery run down so only 1 bar is showing (for dramatic effect).
2. Suspend the laptop
3. Plug in A/C power
4. Let the laptop charge overnight
5. Resume the laptop
Expected behavior:
- The battery level shows 100%
Actual behavior:
- The battery level shows 1 bar, leading to thoughts like "omg did I forget to plug it in? is my A/C charger broken?", and then, about 60 seconds later, suddenly jumps to 100%.
Since step 4 is rather long, for ease of reproduction you can use a different method:
1. Unplug A/C power, verify that the battery icon changes accordingly
2. Suspend laptop
3. Plug A/C power
4. Resume laptop
Expect: battery icon shows A/C power is on
Actual: battery icon shows battery for ~60 seconds, until the next poll interval, leading to the same kinds of stressful thoughts ("omg is it broken? did I forget to plug the other end into a wall outlet?").
Changed in gnome-shell (Ubuntu Wily): | |
status: | New → Triaged |
importance: | Undecided → Low |
is upower reporting the stale value? or gnome-shell taking time to poll?
you should be able to use `upower -d` or so to check.