generic_battery¶
Predefined battery tests. It’s called “Battery” in AVL.
Inherit¶
BCIC¶
pytest_name¶
Battery¶
run_if¶
constants.has_battery
pytest_name¶
BatterySysfs¶
run_if¶
constants.has_battery
pytest_name¶
args¶
maximum_cycle_count
10
percent_battery_wear_allowed
5
BlockingCharge¶
pytest_name¶
ProbeBattery¶
pytest_name¶
args¶
component_list
[ "battery" ]
config_file
"/usr/local/factory/py/hwid/v3/default_probe_statement.json"
overridden_rules
[ [ "battery", "==", 1 ] ]
BCICGroup¶
Serial subtests¶
{ "action_on_failure": "PARENT", "args": { "action": "SET", "use_latest_hwid_bundle": true }, "inherit": "BCIC", "label": "BCIC Set" }
{ "inherit": "FullRebootStep", "run_if": "device.factory.bcic_update_need_reboot" }
{ "args": { "action": "CHECK", "use_latest_hwid_bundle": false }, "inherit": "BCIC", "label": "BCIC Check", "run_if": "device.factory.bcic_update_need_reboot" }