summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-07-09 11:15:21 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-07-25 12:40:26 +0000
commite0c06d7cafe50b6198e102ae0554f1cb6df8cf0a (patch)
tree039f4eae36257d9df76ac7a365e823a1746ed79f
parent7b1c221b7b08fd9708b3662c44a0545c5241ec09 (diff)
downloadphosphor-dbus-interfaces-e0c06d7cafe50b6198e102ae0554f1cb6df8cf0a.tar.gz
phosphor-dbus-interfaces-e0c06d7cafe50b6198e102ae0554f1cb6df8cf0a.zip
Add LastStateChangeTime property to State.Chassis
This holds the timestamp of when the chassis power state last changed. This will be used by the web UI to show the user when their system was last powered on or off. Change-Id: I801cd40e2e7d8ee18ede132be59f0776f5fc9d1f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r--xyz/openbmc_project/State/Chassis.interface.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/Chassis.interface.yaml b/xyz/openbmc_project/State/Chassis.interface.yaml
index 42c8f71..4ae6274 100644
--- a/xyz/openbmc_project/State/Chassis.interface.yaml
+++ b/xyz/openbmc_project/State/Chassis.interface.yaml
@@ -16,6 +16,14 @@ properties:
A user can determine if a chassis is in transition by comparing
the CurrentPowerState and RequestedPowerTransition properties.
+ - name: LastStateChangeTime
+ type: uint64
+ description: >
+ The last time at which the chassis power changed state, as
+ tracked by the CurrentPowerState property, in epoch time,
+ in milliseconds. This can be used to tell when the chassis
+ was last powered on or off.
+
enumerations:
- name: Transition
description: >
OpenPOWER on IntegriCloud