The source project of this merge request has been removed.
upower backend: handle pending charge and pending discharge states
We interpreted pending charge and pending discharge states as NoCharge previously.
Now interpret them as Charging and Discharging respectively.
I guess Pending charge, means the battery was just plugged in but the battery has not changed yet. The documentation is quite lacking regarding this in https://upower.freedesktop.org/docs/Device.html
I have seen this used in upower client: https://github.com/berlam/awesome-upower-battery/blob/master/init.lua
Edited by Méven Car