Intermec ck1 Guide De Référence

Page de 390
Chapter 2 — Configuring the CK1 System 
72 
CK1 SDK Programmer’s Reference Manual 
Getting Main Battery Very Low Limit 
 
Purpose:  Get the main battery power very 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 devApmGetMainBatteryVeryLow( void )
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
Otherwise return the percentage of power very low limit setting value. 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Getting Main Battery Critical Limit 
 
Purpose:  Get the main battery power critical limit value in the system. The 
application can use this function to know the value in the system to 
determine if it needs to do something or change this value.  
 
Syntax: 
int devApmGetMainBatteryCritical( void ) 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 
Function 
failed 
value  Percentage of power critical limit 
 On-Host Parameters: No 
action 
 
On-Host Return:  Always return 0 
Getting Backup Battery Good Limit 
 
Purpose:  Get the backup 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 devApmGetBackupBatteryGood( 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