Texas Instruments TravelMate 5000 Series User Reference Manual page 144

Notebook computer
Hide thumbs Also See for TravelMate 5000 Series:
Table of Contents

Advertisement

GETSTAT Utility
goto chk_batt
:yes_ez
echo The DockMate docking station is attached
goto chk_batt
rem ========================
rem non-TM5000's
rem ========================
:yes_tm4m
echo The system is a Texas Instruments TravelMate 4000M.
:yes_tm4e
echo The system is a Texas Instruments 4000E.
:yes_tm4
echo The system is a Texas Instruments TravelMate 4000.
goto chk_tm4ds
rem ========================
rem check to see if an expansion station is attached to TM4000's.
rem ========================
:chk_tm4ds
getstat /e
if ERRORLEVEL 4 goto tm4mds
if ERRORLEVEL 3 goto yes_mds
if ERRORLEVEL 2 goto yes_ds
if ERRORLEVEL 1 goto yes_exp
echo No expansion station attached
goto chk_batt
:tm4mds
echo The expansion station check is not available on the TM4000M Series
goto chk_batt
:yes_exp
echo The expansion station is attached.
:chk_batt
rem ========================
rem check the battery status
rem ========================
getstat /b
if ERRORLEVEL 1 goto yes_batt
echo The unit is currently powered by external power source
goto chk_video
:yes_batt
echo The unit is currently powered by the battery
:chk_video
rem ==============================
rem check the video display status
rem ==============================
getstat /v
Other Utilities 7-5

Advertisement

Table of Contents
loading

Table of Contents