Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
CK1 SDK Programmer’s Reference Manual 
71 
Getting Backup Battery Life 
 
Purpose:  Get the percentage of backup battery power life. The application can use 
this function to know the current backup battery power by percentage. 
 
Syntax: 
int devApmGetBackupBatteryLifePercent( void )
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
Otherwise return the percentage of the battery power life. 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Getting Main Battery Good Limit 
 
Purpose:  Get the main battery power good limit value in the system. The 
application can use this function to know the value in the system to 
determine something to do or change this value or not.  
 
Syntax: 
int devApmGetMainBatteryGood( void )
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
Otherwise return the percentage of power good limit setting value. 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Getting Main Battery Low Limit 
 
Purpose:  Get the main battery power low limit value in the system. The application 
can use this function to know the value in the system to determine 
something to do or change this value or not.  
 
Syntax: 
int devApmGetMainBatteryLow( void )
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
Otherwise return the percentage of power low limit setting value. 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0