Power-interface: Revise released signal with pressing duration
Revise signal Released to bring power button pressing duration in microseconds
Tested:
Monitor Released dbus signal
Change-Id: Ic94bbb304d5774efc48cf77e18d92c2285cdd0a2
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml b/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
index ad41aa4..ab61609 100644
--- a/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
+++ b/yaml/xyz/openbmc_project/Chassis/Buttons/Power.interface.yaml
@@ -7,7 +7,6 @@
errors:
- xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
- xyz.openbmc_project.Chassis.Common.Error.IOError
-
- name: simLongPress
description: >
Emulate power button long press.
@@ -30,6 +29,11 @@
- name: Released
description: >
Power button released signal
+ properties:
+ - name: time
+ type: uint64
+ description: >
+ Power button pressing duration in microseconds
- name: Pressed
description: >
Power button pressed signal