Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
66 
CK1 SDK Programmer’s Reference Manual 
Setting Main Battery Good Limit (continued) 
 On-CK1 Parameters:  GoodValue 
Percentage of battery power for power good limit. If this 
value smaller than current Main Battery Low Limit value, 
this value is set equal the Main Battery Low Limit value 
(limit: 0 to 100). 
 
On-CK1 Return: -1 
 Setting 
failed 
-2  Value failed to save 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Setting Main Battery Low Limit 
 
Purpose:  Set the main battery power low limit. You can use this function to 
determine the battery power low warning value. Applications can use this 
value to do something when battery power is low. This value is the default 
value at next cold boot. 
 
Syntax: 
int devApmSetMainBatteryLow( int LowValue )
 
 On-CK1 Parameters:  LowValue 
Percentage of battery power for power low limit. If this 
value is smaller than the current Main Battery Very Low 
Limit value, this value is set equal the Main Battery Very 
Low Limit value (limit: 0 to 100). 
 
On-CK1 Return: -1 
 Setting 
failed 
-2  Value failed to save 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Setting Main Battery Very Low Limit 
 
Purpose:  Set the main battery power very low limit. You can use this function to 
determine the battery power low warning value. Applications can use this 
value to do something when battery power is very low, and the very low 
limit must be greater or equal to the critical low value. This value is the 
default value at next cold boot. 
 
Syntax: 
int devApmSetMainBatteryVeryLow( int VlowValue )
 
 On-CK1 Parameters:  VlowValue 
Percentage of battery power for power very low limit. If 
this value smaller is than the current Main Battery 
Critical Limit value, this value is set equal the Main 
Battery Critical Limit value (limit: 0 to 100).