Create PowerMode object before status objects

Need to create the PowerMode object right away so that the Mode/IPS DBus
parameters are available to users as soon as service starts.
Previously it was only created when the OCC status objects were created.

Also populate the MinSoftPowerCapValue on DBus.

Change-Id: Ia0c7b5ba72a492b14bea7befe4f28c8b99e19ebd
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/occ_manager.cpp b/occ_manager.cpp
index c5038de..8a1469d 100644
--- a/occ_manager.cpp
+++ b/occ_manager.cpp
@@ -65,6 +65,13 @@
         createObjects(occ);
     }
 #else
+    if (!pmode)
+    {
+        // Create the power mode object
+        pmode = std::make_unique<powermode::PowerMode>(
+            *this, powermode::PMODE_PATH, powermode::PIPS_PATH, event);
+    }
+
     if (!fs::exists(HOST_ON_FILE))
     {
         static bool statusObjCreated = false;
@@ -242,20 +249,6 @@
 {
     auto path = fs::path(OCC_CONTROL_ROOT) / occ;
 
-#ifdef POWER10
-    if (!pmode)
-    {
-        // Create the power mode object
-        pmode = std::make_unique<powermode::PowerMode>(
-            *this, powermode::PMODE_PATH, powermode::PIPS_PATH
-#ifdef POWER10
-            ,
-            event
-#endif
-        );
-    }
-#endif
-
     statusObjects.emplace_back(std::make_unique<Status>(
         event, path.c_str(), *this,
 #ifdef POWER10