diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-BC627588-E8C7-4DDB-8313-7C57E0CCD93B.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-BC627588-E8C7-4DDB-8313-7C57E0CCD93B.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,25 @@ + + + + + +Create +a power client power session +

Create a CHWRMPower object +using NewL() or NewLC() with +the required parameters. The parameters are pointers to an object that is +derived from MHWRMBatteryPowerObserver.

The +following code snippet demonstrates how to create an instance with notify +handling for creating the power client session.

Void CPowerApp::ConstructL() + { + //Create Power client. + iPower = CHWRMPower::NewL( this, this ); + }

The CHWRMPower::NewL() API +creates a power session for client and interacts with the battery.

+
\ No newline at end of file