Symbian3/PDK/Source/GUID-356B61D9-0CE4-5FCE-8D74-9795B91C9881.dita
author Graeme Price <GRAEME.PRICE@NOKIA.COM>
Fri, 15 Oct 2010 14:32:18 +0100
changeset 15 307f4279f433
parent 14 578be2adaf3e
permissions -rw-r--r--
Initial contribution of the Adaptation Documentation.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     2
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     3
<!-- This component and the accompanying materials are made available under the terms of the License 
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     4
"Eclipse Public License v1.0" which accompanies this distribution, 
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     5
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     6
<!-- Initial Contributors:
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     7
    Nokia Corporation - initial contribution.
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     8
Contributors: 
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
     9
-->
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
    10
<!DOCTYPE concept
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
    11
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
578be2adaf3e Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582
Dominic Pinkman <dominic.pinkman@nokia.com>
parents: 5
diff changeset
    12
<concept xml:lang="en" id="GUID-356B61D9-0CE4-5FCE-8D74-9795B91C9881"><title>Power Controller Kernel Extension Overview</title><shortdesc>This overview provides a brief description of the power controller kernel extension template implementation. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody><section><title>Purpose</title> <p>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. </p> </section> <section><title>Power controller library details</title> <p>The DLL that provides the functionality and the library to which your code must link is identified below. </p> <table id="GUID-816845A5-546E-5B50-8DED-92F3BB5C2BC3"><tgroup cols="3"><colspec colname="col0"/><colspec colname="col1"/><colspec colname="col2"/><thead><row><entry>DLL</entry> <entry>LIB</entry> <entry>Short description</entry> </row> </thead> <tbody><row><entry><p> <filepath> power.dll</filepath>  </p> </entry> <entry><p> <filepath>None</filepath>  </p> </entry> <entry><p>Variant specific power manager kernel extension. </p> </entry> </row> </tbody> </tgroup> </table> </section> <section><title>Description</title> <p>A power controller implementation depends on the specific power management hardware and is typically variant-dependent. The power controller class (<xref href="GUID-B3D1C422-6A82-3C6E-9123-1E4F598F0366.dita"><apiname>DPowerController</apiname></xref>) has a template implementation in <filepath>power.dll</filepath>. This library contains interface and support functions for the power controller class. </p> </section> <section><title>Using the power controller</title> <p>The <filepath>DPowerController</filepath> 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. </p> <p>The DLL is made up of these template files: </p> <ul><li id="GUID-21BCF60F-458B-52C7-8340-5CCFBDDF9609"><p>power.cpp </p> </li> </ul> <p>In the v9.5 implementation, the <xref href="GUID-4804B6E0-9199-5F3E-984A-4B00B3984E45.dita">Power Resource Manager</xref> (PRM) handles the power manager functionality. </p> </section> </conbody><related-links><link href="GUID-4804B6E0-9199-5F3E-984A-4B00B3984E45.dita"><linktext>Power Resource Manager</linktext> </link> <link href="GUID-34D1D0BF-20DE-5677-A067-8FF9DD72E703.dita"><linktext>Power Controller
1
25a17d01db0c Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608
Dominic Pinkman <Dominic.Pinkman@Nokia.com>
parents:
diff changeset
    13
                Implementation Tutorial</linktext> </link> </related-links></concept>