generic_battery =============== Predefined battery tests. It's called "Battery" in AVL. Inherit ------- - :doc:`base.test_list ` BCIC ---- pytest_name ``````````` :doc:`bcic <../pytests/bcic>` Battery ------- run_if `````` :: constants.has_battery pytest_name ``````````` :doc:`battery <../pytests/battery>` BatterySysfs ------------ run_if `````` :: constants.has_battery pytest_name ``````````` :doc:`battery_sysfs <../pytests/battery_sysfs>` args ```` ``maximum_cycle_count`` :: 10 ``percent_battery_wear_allowed`` :: 5 BlockingCharge -------------- pytest_name ``````````` :doc:`blocking_charge <../pytests/blocking_charge>` ProbeBattery ------------ pytest_name ``````````` :doc:`probe.probe <../pytests/probe.probe>` 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" }