Merge "ledstatus: use internally stored state when checking if led is on"
diff --git a/src/ledservice/ledstatus.cpp b/src/ledservice/ledstatus.cpp
index a51ea2a..6ce65c6 100644
--- a/src/ledservice/ledstatus.cpp
+++ b/src/ledservice/ledstatus.cpp
@@ -109,6 +109,9 @@
 }
 
 bool LedStatus::IsLedOn(size_t index) const {
+  if (lights_hal_)
+    return hal_led_status_[index];
+
   brillo::StreamPtr stream = GetLEDDataStream(index, false);
   if (!stream)
     return false;