Add or update the following fields in the pbtxt configuration:
nullEncode: true
battery_test: true
Explanation:
nullEncode: true- Enables null encoding set to true if required.
battery_test: true- Enables battery test mode.
Save the updated pbtxt file and restart the application so the changes take effect.
Launch the application and initiate the battery test workflow.
Example:
python encapp.py run <filename.pbtxt> Replace <filename.pbtxt> with your pbtxt file.
When the following message appears on the screen:
"Disconnect the device for battery test"
Action required:
- Disconnect the device (USB / power cable as applicable).
- Keep the device disconnected for the entire duration of the battery test.
- Once the message is displayed user has 30 seconds to disconnect.
- Do not reconnect the device until the test is completed.
Allow the battery test to finish and ensure it reaches a completed state.
After completion, pull the result files using this command:
python encapp.py --serial <device_serial> pull_resultReplace <device_serial> with your actual device serial number.