diff --git a/src/entity_manager/entity_manager.cpp b/src/entity_manager/entity_manager.cpp
index ff9a5d5..d55105c 100644
--- a/src/entity_manager/entity_manager.cpp
+++ b/src/entity_manager/entity_manager.cpp
@@ -385,7 +385,7 @@
         return;
     }
 
-    if (!em_utils::isPowerOn() && scannedPowerOff)
+    if (!powerStatus.isPowerOn() && scannedPowerOff)
     {
         return;
     }
@@ -398,7 +398,7 @@
                 return;
             }
 
-            bool powerOff = !em_utils::isPowerOn();
+            bool powerOff = !powerStatus.isPowerOn();
             for (const auto& [name, device] : lastJson.items())
             {
                 pruneDevice(systemConfiguration, powerOff, scannedPowerOff,
@@ -505,7 +505,7 @@
                 [this, count, oldConfiguration, missingConfigurations]() {
                     // this is something that since ac has been applied to the
                     // bmc we saw, and we no longer see it
-                    bool powerOff = !em_utils::isPowerOn();
+                    bool powerOff = !powerStatus.isPowerOn();
                     for (const auto& [name, device] :
                          missingConfigurations->items())
                     {
@@ -693,7 +693,7 @@
 
     // some boards only show up after power is on, we want to not say they are
     // removed until the same state happens
-    em_utils::setupPowerMatch(em.systemBus);
+    em.powerStatus.setupPowerMatch(em.systemBus);
 
     io.run();
 
