Power Controller Kernel Extension Overview

This overview provides a brief description of the power controller kernel extension template implementation.

Purpose

A power controller is a kernel extension that manages the power management hardware of a phone, for example on-chip power management controllers and oscillators. This topic describes how to implement a power controller in a base port.

Power controller library details

The DLL that provides the functionality and the library to which your code must link is identified below.

DLL LIB Short description

power.dll

None

Variant specific power manager kernel extension.

Description

A power controller implementation depends on the specific power management hardware and is typically variant-dependent. The power controller class (DPowerController) has a template implementation in power.dll. This library contains interface and support functions for the power controller class.

Using the power controller

The DPowerController class defines the interface that any power controller implementation must provide to the generic kernel-side power manager. It also provides the power controller with an API to the power manager.

The DLL is made up of these template files:

  • power.cpp

In the v9.5 implementation, the Power Resource Manager (PRM) handles the power manager functionality.