upower charge history doesn't update when device resumes from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
High
|
Pat McGowan | ||
upower (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
mako rc-proposed/ubunut 348
Possible one reason of the symptoms observed in bug 1471913
In some cases, apparently when the state of the device changes and the device is immediately suspended, upower history stops being updated and results in graphs like the one attached (ignore the sudden drop then jump between 5:00AM and 10:00AM, investigation is still ongoing)
In the history file attached, the history stops on Sun, 24 Jan 2016 09:36:50 GMT (1453628210) It corresponds to the state change of the device (charging -> discharging) around the same time (1453628284 - Sun, 24 Jan 2016 09:38:04 GMT in power.20160124-
Then if you plug the device to a charger and unplug it but don't suspend it the update of the history resumes normally (around 10:00PM). The graph shows the charge decreasing linearly (which is wrong, it should look like the graph history-
The attached screenshot shows the network 4G data is available but doesn't connect as shown in the indicator.
Possible Test Case:
1. Disable main sources of wakeup (bt, wifi, location, set airplane mode on)
2. plug it to a charger for a short time (15min or so), but don't fully charge it
3. unplug the DUT and press the power button to suspend it
4. wait several hours without waking up the device.
Actual Result
The history is not updating anymore.
Changed in canonical-devices-system-image: | |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
milestone: | none → backlog |
status: | New → Confirmed |
tags: | added: power-bugs |
Changed in upower (Ubuntu): | |
assignee: | Martin Pitt (pitti) → nobody |
@pitti can you take a look or reassign?