commit | 47658caae4ded29374c12e96394636b71cf834af | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Fri Sep 28 11:41:22 2018 -0700 |
committer | Hridya Valsaraju <hridya@google.com> | Fri Sep 28 14:28:49 2018 -0700 |
tree | 1e395e74395fc64aa65acdbe0b473a5885d1c256 | |
parent | 7c9bbe948b446b6e995ea9fdd3a3226362372ca9 [diff] [blame] |
Interface with health HAL to read battery voltage Bug: 78793464 Test: fastboot getvar battery-voltage Change-Id: Ie0763e4f08327ec7649c5629066eb73e8142e0e6
diff --git a/fastboot/constants.h b/fastboot/constants.h index c11d9de..2eaf006 100644 --- a/fastboot/constants.h +++ b/fastboot/constants.h
@@ -62,3 +62,4 @@ #define FB_VAR_HW_REVISION "hw-revision" #define FB_VAR_VARIANT "variant" #define FB_VAR_OFF_MODE_CHARGE_STATE "off-mode-charge" +#define FB_VAR_BATTERY_VOLTAGE "battery-voltage"