Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50ee1a36 authored by Aaron Kling's avatar Aaron Kling
Browse files

fixup! recovery_ui: Add support for battery capacity status

Don't logspam about a fake battery report. Many devices such as set top
boxes and devkits intentionally don't have batteries.

Change-Id: Idb22883f5d517e1e3e72512b8997709b42f1f8a4
parent 4e09cc90
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -982,7 +982,6 @@ void ScreenRecoveryUI::BattMonitorThreadLoop() {
      // If we can't read battery percentage, it may be a device without battery. In this
      // situation, use 100 as a fake battery percentage.
      if (status != android::OK) {
        LOG(WARNING) << "Using fake battery capacity 100.";
        prop.valueInt64 = 100;
      }