From b548bea77884649e84cdaaf6765dfd70c7d43ab1 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 30 Sep 2019 16:16:07 -0700 Subject: minadbd: Return battery level via getprop. `adb rescue getprop rescue.battery_level` returns the current battery level. Bug: 134560109 Test: Build and boot into rescue mode. Test: `adb rescue getprop ro.build.fingerprint` Test: `adb rescue getprop rescue.battery_level` Test: `adb rescue getprop` to dump all the properties. Test: Run recovery_unit_test. Change-Id: I78a9e8ab9783ffc8532cb93e6a64fb2157c19bd5 --- recovery_utils/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'recovery_utils') diff --git a/recovery_utils/Android.bp b/recovery_utils/Android.bp index 1f4221757..bf79a2e87 100644 --- a/recovery_utils/Android.bp +++ b/recovery_utils/Android.bp @@ -75,6 +75,7 @@ cc_library_static { visibility: [ "//bootable/recovery", "//bootable/recovery/install", + "//bootable/recovery/minadbd", "//bootable/recovery/tests", ], } -- cgit v1.2.3