diff options
author | Robin Lee <rgl@google.com> | 2019-10-09 15:48:17 +0200 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2019-12-17 18:27:39 +0000 |
commit | 7853ef2311e8376cf016cc158a97fba7102a6ad5 (patch) | |
tree | fead627f3ff800d7e3288c45022279e4dad32c5a /identity/support/src/cppbor_parse.cpp | |
parent | 13c9e764eb58f9d802270b05c7f18e6743261702 (diff) |
health VTS: Status::UNKNOWN is OK if not present
Documentation: https://source.android.com/devices/tech/power/batteryless
If a battery device is not detected, the following battery-related
defaults are used on Android 9 and higher:
* Present: false
* Status: unknown
* Remaining capacity: 0
* Health: unknown
* AC charger online: not modified
The previous version of the test failed devices if the vendor HAL
reported BatteryStatus::UNKNOWN. However, the tests were skipped if the
default HAL was the one being used, so this has not come up before for
other batteryless devices.
Bug: 142081126
Test: vts-tradefed run vts -m VtsHalHealthV2_0
Change-Id: I8ca758677478b47511e24990fee545fafa6c7f83
(cherry picked from commit ac5a0d316be22bc5e99b63c2c792a77afaeb2031)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions