Add safe mode to user interface
Add the ability to see when system is in safe mode.
Tested: caused safe mode in system.
Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
Change-Id: Ibcf14178f4243d3c00a270b5811e446b656131f5
diff --git a/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml b/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml
index f3e835e..cb35501 100644
--- a/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml
+++ b/yaml/xyz/openbmc_project/Control/Power/Mode.interface.yaml
@@ -8,6 +8,15 @@
This property shall contain the computer system power mode setting.
This defines the processor speed based on the priority of power
consumption and performance.
+ - name: SafeMode
+ type: boolean
+ flags:
+ - readonly
+ default: false
+ description: >
+ This property shall indicate whether the System is in Safe Mode.
+ When this is true, the system power mode is not being used in the
+ system.
enumerations:
- name: PowerMode