Dynamsoft Home|Product Home

CAP_BATTERYPERCENTAGE

Description: When used with CapGet(), return the percentage of battery power level on camera. If -1 is returned, it indicates that the battery is not present.

 

Remarks: It is recommended to use CAP_POWERSUPPLY to identify the power source first.

-2 indicates that the available power is infinite.

-1 indicates that the device cannot report the remaining battery power.

0 to 100 indicates the percentage of battery life remaining.

 

Data type: Integer

 

Default value: No default

 

Allowed values: -2, -1, 0 to 100.

 

CapType for GET: TW_ONEVALUE

 

CapType for SET:  Not allowed

 

See also: CAP_POWERSUPPLY, CAP_BATTERYMINUTES