The primary function of power management is to increase the battery life of a Handheld PC (H/PC). This is accomplished by providing accurate estimates of remaining battery life and notifying the user when the batteries are nearing depletion. Power management for an H/PC is based on the following assumptions:
An H/PC manages power by allowing the operating system to automatically select one of three operating states based on user and program activities. These states are:
The computer uses no power. It has no batteries, or all batteries are completely dead. All contents of RAM are lost. The user purchases the device in this state.
The computer uses minimal power. The CPU internal and external clocks stop and the CPU uses extremely low power. Peripherals and DRAM are usually off. The CPU might take as long as 100 milliseconds to wake up from this state.
The computer uses more power than in the other two states. Any time the display, keyboard, or touch panel are active, the device is in the on state. When in the on state, the computer can switch between two CPU modes: full speed and idle. In full-speed mode, the CPU runs at normal operating frequency. In idle mode, the CPU internal clock stops and the CPU uses little power. Peripherals and DRAM may be on or off. The CPU can enter and exit this state in approximately 10 milliseconds.