Create power cap enable property
This property will be used to enable and disable the
power cap for the system
Change-Id: Ifd7b2be89a33e45b9ed2e3832aa13d81b829bc85
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/xyz/openbmc_project/Control/Power/Cap.interface.yaml b/xyz/openbmc_project/Control/Power/Cap.interface.yaml
index e15bffa..2994b14 100644
--- a/xyz/openbmc_project/Control/Power/Cap.interface.yaml
+++ b/xyz/openbmc_project/Control/Power/Cap.interface.yaml
@@ -7,3 +7,9 @@
description: >
Power cap value. This could for example be specified in absolute
wattage. The unit of measurement must be Watts.
+
+ - name: PowerCapEnable
+ type: boolean
+ description: >
+ Power cap enable. Set to true to enable the PowerCap, false
+ to disable it.