Use Idle Power Saver parameters from DBus

Allows users to enable and update the IPS parameters instead of
using hardcoded values.

Change-Id: I9010c4b4d3dbdf130a4a778f71c87279681a9f1a
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/occ_status.hpp b/occ_status.hpp
index 5856ee9..ceff8f3 100644
--- a/occ_status.hpp
+++ b/occ_status.hpp
@@ -171,6 +171,11 @@
      *  @return SUCCESS on success
      */
     CmdStatus sendModeChange();
+
+    /** @brief Send Idle Power Saver config data to the master OCC
+     *  @return SUCCESS on success
+     */
+    CmdStatus sendIpsData();
 #endif // POWER10
 
   private:
@@ -241,10 +246,11 @@
      */
     SysPwrMode getMode();
 
-    /** @brief Send Idle Power Saver config data to the master OCC
-     *  @return SUCCESS on success
+    /** @brief Get the Idle Power Saver properties
+     * @return true if IPS is enabled
      */
-    CmdStatus sendIpsData();
+    bool getIPSParms(uint8_t& enterUtil, uint16_t& enterTime, uint8_t& exitUtil,
+                     uint16_t& exitTime);
 #endif // POWER10
 
     /** @brief Override the sensor name with name from the definition.