Elo TouchSystems ES601068 Rev A manual Application Programming Interface, Battery Management

Page 6

Application Programming Interface

Battery Management

1.EloGetBatteryStatus(unsigned char *pStatus); Description: Retrieve Battery Information OUT: 1 byte of Battery Information

Bit 7 - main battery present Bit 6 - main battery charging Bit 5 - main battery discharging Bit 4 - main battery fully charged Bit 3- docking battery present Bit 2 - docking battery charging Bit 1 - docking battery discharging Bit 0 -docking battery fully charge

Successful Return value: STATUS_OK (0)

2.EloGetBatteryCapacityPercentage(BATTERY_LOCATION location, unsigned int *pCapacity);

Description: Retrieve current battery capacity percentage

IN: BATTERY_LOCATION: 0 Tablet Battery 1 Docking Battery

OUT: 0 – 100 percent

Successful Return value: STATUS_OK (0)

3.EloGetBatteryChargingStrength(BATTERY_LOCATION location, unsigned int *pStrength);

Elo® Tablet NFC Reader Application Note

ES601068 Rev A, Page 6 of 23

Image 6
Contents Elo Tablet Change History Copyright 2013 Elo Touch Solutions, Inc. All Rights Reserved Table of Contents Introduction Battery Management Application Programming InterfacePage Page MCU POS Peripheral Sensors Bit 2 of pData is Freefall value Page Page Page Page Page Eeprom Page Page Page Page Getting in Touch with us Check out Our Website