diff options
| author | Aaron Kling <webgeek1234@gmail.com> | 2024-02-04 21:29:01 -0600 |
|---|---|---|
| committer | Aaron Kling <webgeek1234@gmail.com> | 2024-02-04 21:29:03 -0600 |
| commit | cb54992c55a5ee37fd04dffe59d2d3e0dba811ef (patch) | |
| tree | 668cdab4162304379b59b8b8788def9b42dfc9b5 | |
| parent | 01e30c8f68f68bf3eea4dc9df47a147b79c7e283 (diff) | |
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
| -rw-r--r-- | recovery_ui/screen_ui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/recovery_ui/screen_ui.cpp b/recovery_ui/screen_ui.cpp index 75797cee..12e4167d 100644 --- a/recovery_ui/screen_ui.cpp +++ b/recovery_ui/screen_ui.cpp @@ -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; } |
