psu-ng: Add syncHistory for power state on

When the power state changes to on, we should synchronize the power
supply input history data.

Change-Id: I2656b371583583b45c9f511c747404b57d1ec7eb
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/phosphor-power-supply/psu_manager.cpp b/phosphor-power-supply/psu_manager.cpp
index d7cfdfc..351d2d3 100644
--- a/phosphor-power-supply/psu_manager.cpp
+++ b/phosphor-power-supply/psu_manager.cpp
@@ -364,6 +364,7 @@
             powerOn = true;
             validationTimer->restartOnce(validationTimeout);
             clearFaults();
+            syncHistory();
             setPowerConfigGPIO();
         }
         else