505 - Wiki : Li-ion Battery Test



A. UTS Li-ion Battery Test Method.

*Use VP3350 TS196 as Example

Item

Content or Relative Info.

Item

Content or Relative Info.

Test Item: Li-ion Battery.Lv1

Test Item: Li-ion Battery.Lv2

 

image-20240530-081403.png

 

Test Coverage Criteria @ Li-ion Battery Voltage Detection.

  • Version: VP3350, TS196 V3.2.5.7-C02.

  • Jira Tickets:

#SWT-1332; #TE-2570;

  • Voltage / Power Rate(%):

3.8 V~4.3 V / 0%~100% ,
QA-TW: 3.7 V~4.3 V / 0%~100%
QA-US: 3.7 V~4.3 V / 0%~100%

Voltage and Power Rate Calculation

Objective Models : VP3350 Model Type B and C

Methods:

image-20240530-082352.png

 

TS Test Script

<?xml version="1.0" encoding="utf-8"?> <TestItems xmlns:xi="http://www.w3.org/2003/XInclude"> <TestItem name="Li-ion Battery.Lv2"> <TestStep name="Get Li-ion Battery Power, 0% ~ 100%" IfFail_ContinueNextStep="Yes"> <Command name="Get Battery Level"> <Response> <HexStringRegex>^[0-9A-Fa-f]{2}$</HexStringRegex> </Response> <Timeout>10000</Timeout> </Command> <SavedName2 ToType_0_HexStr_1_ASCII="6_To_PowerRate">LIBatteryValue</SavedName2> <CheckMethod minValue="0.0" maxValue="100.0" div-factor="1">CheckLIBatteryValue=100%</CheckMethod> <RetryTimes>10</RetryTimes> <Interval>500</Interval> </TestStep> <TestStep name="Get Li-ion Battery Voltage, 3.7V ~ 4.3V" IfFail_ContinueNextStep="Yes"> <Command name="Get Battery Level"> <DataPart>01</DataPart> <Response> <HexStringRegex>^[0-9A-Fa-f]{4}$</HexStringRegex> </Response> </Command> <SavedName>LIBatteryValue</SavedName> <CheckMethod minValue="3.7" maxValue="4.3" div-factor="1000">CheckLIBatteryValue</CheckMethod> <RetryTimes>10</RetryTimes> <Interval>500</Interval> </TestStep> </TestItem> </<TestItems>