Add Sensor reading support for Power Cap.
Change-Id: I695c5a7e4da99b6ec1fe3045df91f483b6cad69c
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/ipmisensor.cpp b/ipmisensor.cpp
index 981859d..fab73d6 100644
--- a/ipmisensor.cpp
+++ b/ipmisensor.cpp
@@ -181,6 +181,8 @@
{0xda, 0x00, set_sensor_dbus_state_simple, "setValue", "False", ""},
// Power Supply Derating
{0xb4, 0x00, set_sensor_dbus_state_simple, "setValue", "", ""},
+ // Power Cap
+ {0xC2, 0x00, set_sensor_dbus_state_simple, "setValue", "", ""},
{0x07, 0x07, set_sensor_dbus_state_simple, "setPresent", "True", "False"},
{0x07, 0x08, set_sensor_dbus_state_simple, "setFault", "True", "False"},
{0x0C, 0x06, set_sensor_dbus_state_simple, "setPresent", "True", "False"},