E.2.3 Usage Note For - IBM L40 SX Quick Reference

Personal system/2
Hide thumbs Also See for L40 SX:
Table of Contents

Advertisement

#E.2 EXT_PWR.EXE
#This program detects what power source your computer is using, and returns
#two kinds of codes depending on the power sources.
#codes as the conditions to manage the power usage.
#The following table shows the return codes associated with different power
#sources.
+------------------------------------------------------------------------+
¦ Power Source
¦
+-----------------------------------------------------------+------------¦
¦ Power through the AC Adapter
¦
+-----------------------------------------------------------+------------¦
¦ Power through the Car Battery Adapter
¦
+-----------------------------------------------------------+------------¦
¦ Power through the AC Adapter with the Rechargeable
¦ Battery inserted
+-----------------------------------------------------------+------------¦
¦ Power through the Car Battery Adapter with the
¦ Rechargeable Battery inserted
+-----------------------------------------------------------+------------¦
¦ The Rechargeable Battery only
¦
+------------------------------------------------------------------------+
Subtopics
E.2.1 How to Use EXT_PWR.EXE
E.2.2 Sample Coding
E.2.3 Usage Note for OS/2
PS/2 Model L40 SX Quick Reference
EXT_PWR.EXE
You can use the return
¦ Copyright IBM Corp. 1991
E.2 - 1
¦ Return
¦
¦ Code
¦
¦ ERRORLEVEL ¦
¦ 1
¦
¦ ERRORLEVEL ¦
¦ 1
¦
¦ ERRORLEVEL ¦
¦ 1
¦
¦ ERRORLEVEL ¦
¦ 1
¦
¦ ERRORLEVEL ¦
¦ 0
¦

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents