From 086a33b39d6026f528c80fb033e26f9ce49610a1 Mon Sep 17 00:00:00 2001 From: Stephane Lee Date: Thu, 24 Sep 2020 12:20:14 -0700 Subject: [PATCH] Clarify Health 2.1 design capacity type ranges Bug: 166841711 Test: Compile Change-Id: Iee623638dfb606df55a6e13bd58e58ae2e8dd305 --- current.txt | 1 + health/2.1/types.hal | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/current.txt b/current.txt index 594ceb632c..688a3232e4 100644 --- a/current.txt +++ b/current.txt @@ -767,6 +767,7 @@ a64467bae843569f0d465c5be7f0c7a5b987985b55a3ef4794dd5afc68538650 android.hardwar 98592d193a717066facf91428426e5abe211e3bd718bc372e29fb944ddbe6e7c android.hardware.wifi.supplicant@1.3::types # ABI preserving changes to HALs during Android S +3da3ce039247872d95c6bd48621dbfdfa1c2d2a91a90f257862f87ee2bc46300 android.hardware.health@2.1::types cd84ab19c590e0e73dd2307b591a3093ee18147ef95e6d5418644463a6620076 android.hardware.neuralnetworks@1.2::IDevice 9625e85f56515ad2cf87b6a1847906db669f746ea4ab02cd3d4ca25abc9b0109 android.hardware.neuralnetworks@1.2::types 9e758e208d14f7256e0885d6d8ad0b61121b21d8c313864f981727ae55bffd16 android.hardware.neuralnetworks@1.3::types diff --git a/health/2.1/types.hal b/health/2.1/types.hal index d775491f8b..6d7b6613df 100644 --- a/health/2.1/types.hal +++ b/health/2.1/types.hal @@ -98,9 +98,8 @@ struct HealthInfo { /** * Estimated battery full charge design capacity (in microamp hours, uAh). * Value must be 0 if unknown. - * Value must be positive if known. - * Value must be greater than 100 000 uAh. - * Value must be less than 100 000 000 uAh. + * Value must be greater than 100 000 uAh if known. + * Value must be less than 100 000 000 uAh if known. */ int32_t batteryFullChargeDesignCapacityUah; };