A method and apparatus for efficient memory allocation and system management interrupt handling is herein described. A processor receives data from a host to modify a track in a first storage device. The occupancy sensors energize for a time period sufficient to determine the presence or absence of an occupant. The alarm device includes a circuit board which contains a PIR sensor, a microwave sensor and a buzzer to send out an alarm.