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
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