On-CK1 Parameters: IdleSecs
On-CK1 Return: -1
On-Host Parameters: None
On-Host Return: Always return 0
Purpose: Set the time for the APM to control the system into Standby mode when
Syntax:
On-CK1 Parameters: StandbySecs
On-CK1 Return: -1
On-Host Parameters: None
On-Host Return: Always return 0
Purpose: Set the main battery power good limit. You can use this function to
Syntax:
CK1 SDK Programmer's Reference Manual
The time you want to set for APM to control the system into
Idle mode after backlight off (limit: 0 to 3600).
Setting failed
-2
Value failed to save
0
Function succeeded
Setting Standby Time
system in Idle mode.
If you do not enter any data, APM turns off the backlight after Backlight
Off Time, then the system goes into Idle mode after Idle Time and then
into Standby mode after Standby Time.
The CK1 enters Standby mode automatically only when the APM was
enabled. This value is the default value at next cold boot.
When you set this value in APM enable status (after you call the
devApmAuto() function ), APM automatically restarts the count for the
time. When you set this value in APM disable status (after you call the
devApmManual() function ), APM starts to count the time after you call
the devApmAuto() function.
int devApmSetStandbyTime( int StandbySecs )
The time you want to set for APM to control the system
into Standby mode when system in Slow mode (limit: 0
to 3600).
Setting failed
-2
Value failed to save
0
Function succeeded
Setting Main Battery Good Limit
determine the battery power good value. Applications can use this value to
do something when battery power is good. This value is the default value
at next cold boot.
int devApmSetMainBatteryGood( int GoodValue )
Chapter 2 — Configuring the CK1 System
65