Intermec 6400 Reference Guide

Page of 234
Supporting DOS Applications
SECTION 2
PEN*KEY6400 Programmer’s Reference Guide 2-5
When running in High Speed mode or Low Speed mode this will take 10-90
seconds for the battery packets to be received. However, when in Doze mode the
6400 Computer is unable to receive any battery packets. Thus, it will be a very
long time (if ever) for ELANAPM.EXE to give back a non-FFh value.
Some possible ways to work around the problem:
"
Set the total time in High & Low speed modes to at least 11 seconds. This
assures that at least one valid battery packet will be received upon boot,
resume, or after any activity (e.g., a scan, key press, etc.).
"
After boot or resume setup the unit to be active for at least 11 seconds, then
you can have 1 second in High Speed & 1 second in Low Speed mode. The
application can easily determine whether it just booted up or resumed.
Then it could cause some activity for the 11 seconds and stop the activity,
allowing the ELANCFG setting to take over and maximize the time spent
in DOZE mode. This allows at least one valid battery packet to be received.
"
Give up on on the APM call while in DOZE mode and merely allow the unit
to autosuspend.