Change to not check powerOn faults if input fault

If there was a VIN_UV_FAULT or INPUT_FAULT, do not bother to check for
the fan fault, temperature fault, output over-voltage fault, output over
current fault, PGOOD, or UNIT_IS_OFF faults. The fans will not be
running, there will be no output voltage or current (aside from Vcs),
the PGOOD will not be active, and the unit will be off. Logging those
additional errors will just create confusion.

Change-Id: Ia9f02509a057300e4992da3a6edd90edf025e766
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/power-supply/power_supply.cpp b/power-supply/power_supply.cpp
index fdb1227..b61d7e5 100644
--- a/power-supply/power_supply.cpp
+++ b/power-supply/power_supply.cpp
@@ -119,7 +119,7 @@
 
             checkInputFault(statusWord);
 
-            if (powerOn)
+            if (powerOn && !vinUVFault && !inputFault)
             {
                 checkFanFault(statusWord);
                 checkTemperatureFault(statusWord);