BMC: Fan control for Idle Power saver
Read IPS active from sysfs and push onto dBus IPS properties
Tested: enable/disable IPS on WEB, occ instrospect ips
Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
Change-Id: I12935a4c9f82bf004b1311e477f73ed8b1401a91
diff --git a/occ_status.hpp b/occ_status.hpp
index ef8fad0..9ae8fe7 100644
--- a/occ_status.hpp
+++ b/occ_status.hpp
@@ -100,7 +100,11 @@
fs::path(DEV_PATH) /
fs::path(sysfsName + "." + std::to_string(instance + 1)),
#endif
- managerRef, *this, instance),
+ managerRef, *this,
+#ifdef POWER10
+ powerModeRef,
+#endif
+ instance),
hostControlSignal(
utils::getBus(),
sdbusRule::type::signal() + sdbusRule::member("CommandComplete") +