summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-01-28 16:11:39 -0800
committerYifan Hong <elsk@google.com>2020-04-10 21:51:15 +0000
commit133c495d1a19cd689ec518e8e35344cac196e779 (patch)
tree9abf18ff0fb7b0c6347c364f3ca34d7e5e62e380 /identity/support/src/cppbor_parse.cpp
parenta6491f8adfe0ee0b2a3e1f4ca3c141fc21b20220 (diff)
health 2.0 vts: add battery current test.
Require the following on battery current: - skip health info tests if current is 0 (indicates the value is unavailable) - when charging, positive - when discharging / not charging, negative - when unknown, zero - batteryCurrentAverage should be similar to batteryCurrentNow. All new tests are executed over a period of time to avoid effects of fluctuation in battery current, and ensure battery status is initialized. Requirements are enforced on devices launching with R only. Require the following on battery status: - if not charging / full / charging, must be connected - if discharging, must not be connected. Test: run on coral, tests are skipped Test: run on cuttlefish, test passes Fixes: 136717180 Change-Id: Ic5a714b830ffeca1dcd000c6cad0fbfe8a8710ed (cherry picked from commit 94841c9df15b3c95b4c64973dbd7b70073006539) Merged-In: Ic5a714b830ffeca1dcd000c6cad0fbfe8a8710ed
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions