The present invention introduces a power management system interface for a mobile
computer system. The power management system interface allows peripheral devices
to query the present power situation before activating peripheral devices that
will draw power. Furthermore, peripheral devices register their power usage with
the operating system such that the operating system can accurately determine the
remaining power available in the battery.