CAP_BATTERYPERCENTAGE

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_BATTERYPERCENTAGE

CAP_BATTERYPERCENTAGE

Description

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

This is a read only capability.

Application

Use this capability with MSG_GET to indicate to the user about the battery power status. It is recommended to use CAP_POWERSUPPLY to identify the power source first.

Source

Values

-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. Type: TW_INT

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

Containers

MSG_GET TW_ONEVALUE MSG_GETCURRENT TW_ONEVALUE MSG_GETDEFAULT TW_ONEVALUE MSG_SET Not Allowed

MSG_SETCONSTRAINT Not Allowed MSG_RESET Not Allowed MSG_QUERYSUPPORT TW_ONEVALUE

Required By

None. Highly recommended for digital cameras that are equipped with batteries.

TWAIN Version Introduced

Version 1.8

Related

CAP_BATTERYMINUTES CAP_POWERSUPPLY

TWAIN Notice

Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET