commit | eb169fd9bd2b473a85b43161de7fde2082e0be68 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Jan 18 14:19:08 2018 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon Jan 29 18:10:44 2018 +0000 |
tree | 315a5da1c728d886a81c2b3d619f3500c7bb8a23 | |
parent | 82384146e6a1e05cce4468a606d0dbd548306405 [diff] |
Add collection of power history data On every PowerSupply::analyze() call, read the most recent input history record and pass it to the RecordManager instance. If it is one that RecordManager doesn't have yet, get the latest maximum and average properties from RecordManager and update D-Bus. Change-Id: I42d63e99c7223ba1b8a7f1138657cd505a68e66a Signed-off-by: Matt Spinler <spinler@us.ibm.com>