Comment 0 for bug 1537668

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

mako rc-proposed/ubunut 348

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-103548.csv)

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-from-sysfs.png which is based on battery/capacity sysfs entry)