util: api to get chassis power state

Added function getChassisPowerState to get current chassis
power state.

Tested: manually verified.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I551d0cc0cf3aa038b1ffc14c5e359fa5fd88d883
diff --git a/util.hpp b/util.hpp
index e68c9c0..61609e4 100644
--- a/util.hpp
+++ b/util.hpp
@@ -28,5 +28,11 @@
  */
 bool isHostPoweringOff();
 
+/**
+ * @brief Returns the power state for chassis0
+ * @return The chassis power state.
+ */
+std::string getChassisPowerState();
+
 } // namespace util
 } // namespace openpower