Implement de-glitch for fan fault or warn

If three consecutive reads in a row, one second apart, show the fault
on, create and log an error.

Change-Id: Iac7d244b0dc2609c9b499514b88460d653b8d70d
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/power-supply/power_supply.hpp b/power-supply/power_supply.hpp
index ba3a511..b6fcc3a 100644
--- a/power-supply/power_supply.hpp
+++ b/power-supply/power_supply.hpp
@@ -181,9 +181,13 @@
         size_t outputOVFault = 0;
 
         /**
-         * @brief Set to true when a fan fault or warning condition is detected
+         * @brief Indicates a fan fault or warning condition was detected if
+         *        equal to FAULT_COUNT.
+         *
+         * @details This is incremented when the 'FAN_FAULT' bit in the
+         *          STATUS_WORD command response is on.
          */
-        bool fanFault = false;
+        size_t fanFault = 0;
 
         /**
          * @brief Set to true during a temperature fault or warn condition.