SECTION 2
Supporting DOS Applications
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 2-3
Installation Switches
At installation time, use switches to set various power parameters. The
following line is an example:
device=npower.exe /BL:120
The switch
/BL
controls backlight timeout. The preceding line would set the
backlight timeout to 120 seconds. After 120 seconds with no activity, the
backlight would be turned off.
More than one switch can be set on the same line. For example:
device=npower.exe /BL:300 /SY:600
This line would set the backlight timeout to 300 seconds and the system suspend
timeout to 600 seconds.
The switches in the following table are valid for installation:
"
NOTE:
Each italicized element is a value you supply.
Switch
Description
/B1:
nnn
When the main battery is expected to go critical in less than 10 minutes, then 10 minute
warnings are broadcast at regular intervals.
The value of
nnn
defines how often those warnings are broadcast.
The default is 60 seconds.
/B2:
nnn
When the main battery is expected to go critical in less than 20 minutes, then 20 minute
warnings are broadcast at regular intervals.
The value of
nnn
defines how often the warnings are broadcast.
The default is 120 seconds.
/B3:
nnn
When the main battery is expected to go critical in less than 30 minutes, then 30 minute
warnings are broadcast at regular intervals.
The value of
nnn
defines how often those warnings are broadcast.
The default is 120 seconds.
/B4:
nnn
When the main battery low warnings are posted by the APM BIOS, but the time remaining is
more than 30 minutes, low main battery warnings are broadcast at regular intervals.
The value of
nnn
defines how often those warnings are broadcast.
The default is 160 seconds.
/BB:
nnn
When the backup battery is low, warnings are broadcast at regular intervals. The value of
nnn
defines how often those warnings are broadcast.
Note that the H8 sends backup battery warnings at a rate of about once every 10 seconds. If
the warning interval specified is less than 10 seconds, then somewhat erratic behavior results.
The default is 60 seconds. For example, suppose /BB:3 is specified as:
TIME Event
start
First H8 notification of a low backup battery occurs.
+0 sec NPOWER broadcasts a low backup report
+3 sec NPOWER broadcasts a low backup report
+7 sec Second H8 notification of a low backup battery occurs.
+0 sec NPOWER broadcasts a low backup report
+3 sec NPOWER broadcasts a low backup report
+7 sec Third H8 notification of a low backup battery occurs.
etc.
/BL:
nn
The value of
nn
defines how soon the backlight is turned off after a period of inactivity. The
default is 60 seconds.
2. DOS
Applications