wireless_charge¶
Source code: wireless_charge.py
Test wireless charge port functionality.
Description¶
Verify wireless charging port functionality by asking operator to follow the instructions by occupy/free charging port then probe the port status.
Test Procedure¶
Show instruction on screen and instruct operator to occupy port with peripheral, then press SPACE to probe state.
Show instruction on screen and instruct operator to free port with peripheral, then press SPACE to probe state.
Dependency¶
Based on ectool pchg <port>
Examples¶
To test charging port 0:
{
"pytest_name": "wireless_charge",
"args": {
"port": 0,
"occupy_instruction": "Attach stylus on the DUT right side",
"release_instruction": "Remove stylus from the DUT right side"
}
}
Test Arguments¶
Name |
Type |
Description |
---|---|---|
port |
int |
(optional; default: |
occupy_instruction |
str, dict |
(optional; default: |
release_instruction |
str, dict |
(optional; default: |
timeout |
int |
(optional; default: |