1AUTHOR = "puthik" 2NAME = "power_VideoCall.FDO_fast" 3PURPOSE = "Make sure power_VideoCall works fine with optional force discharge." 4CRITERIA = "This test is a benchmark." 5TIME = "MEDIUM" 6TEST_CATEGORY = "Benchmark" 7TEST_CLASS = "power" 8TEST_TYPE = "client" 9PY_VERSION = 3 10 11DOC = """ 12This test simulates video call multitasking and record power related statistics 13while optionally force discharge. 14 15Workload 16- Camera preview in 720p using VP9 codec. 17- Four 720p 30fps video playback with two VP8 videos and two VP9 videos. 18- Google Doc with emulated typing. 19 20The fast version only runs for 3 minutes to make sure the test works as expected. 21 22"FDO" is short for "force discharge optional." Test will use EC command to 23force DUT to discharge. If it fails, then use AC as the power source. 24""" 25 26args_dict = utils.args_to_dict(args) 27pdash_note = args_dict.get('pdash_note', '') 28job.run_test('power_VideoCall', pdash_note=pdash_note, duration=180, 29 tag=NAME.split('.')[1], seconds_period=5, 30 force_discharge='optional') 31