SECTION 6
Conversions and Interfaces
6-80 PEN*KEY
R
6100 Computer Programmer’s Reference Guide
INT 15h, Function AX = 5308h: Enable/Disable Power Management
ELANAPM
Enables or disables automatic System Idle and System Suspend functions.
On Entry:
AH = 53h
AL = 08h
BX = 0001h
CX = Function code:
0000h Disable power management
0001h Enable power management
On Return:
Carry = 0 if successful:
1 if unsuccessful:
AH = Error code:
01h Power management functionality disabled
03h Interface not connected
09h Unrecognized device ID
0Ah Parameter value out or range (Function code)
INT 15h, Function AX = 530Ah: Get Power Status
ELANAPM
Returns the current power status of the system.
On Entry:
AH = 53h
AL = 0Ah
BX = 0001h = APM BIOS
On Return:
Carry = 0 if successful:
BH = AC line status
00h OffĆline
01h OnĆline
FFh (undefined)
All other values reserved
BL = Battery status
00h High
01h Low
02h Critical
03h Charging
FFh (undefined)
All other values reserved
CH = Battery flag:
Bit
0 = 1 High
1 = 1 Low
2 = 1 Critical
3 = 1 Charging
7 = 1 No system battery or powerfail has occurred
All other bits reserved
FFh = (undefined)
All other values reserved
6. Conversions and
Interfaces
Содержание PEN*KEY 6100
Страница 1: ...PEN KEYR 6100 Computer PROGRAMMER S REFERENCE GUIDE P N 977 054 001 Revision B December 2000 ...
Страница 14: ...CONTENTS xii PEN KEYR 6100 Computer Programmer s Reference Guide ...
Страница 22: ...Preface 8 PEN KEYR 6100 Computer Programmer s Reference Guide PREFACE ...
Страница 112: ...SECTION 4 Power Management 4 10 PEN KEYR 6100 Computer Programmer s Reference Guide 4 Power Management ...
Страница 318: ...GENERAL INDEX Index 6 PEN KEYR 6100 Computer Programmer s Reference Guide ...