resourcemgmt/hwresourcesmgr/power/src/HWRMChargingStatusObserver.cpp
changeset 70 653a8b91b95e
parent 0 4e1aa6a622a0
--- a/resourcemgmt/hwresourcesmgr/power/src/HWRMChargingStatusObserver.cpp	Fri Sep 10 19:45:56 2010 +0300
+++ b/resourcemgmt/hwresourcesmgr/power/src/HWRMChargingStatusObserver.cpp	Thu Sep 23 10:05:41 2010 +0300
@@ -64,7 +64,7 @@
     {
     COMPONENT_TRACE1(_L( "HWRM CHWRMChargingStatusObs - CHWRMChargingStatusObs::ConstructL()"));
     
-    iChargingPsObserver = CPsPropertyObserver::NewL(KPSUidHWRMPowerState, KHWRMChargingStatus, *this);    
+    iChargingPsObserver = CPsPropertyObserver::NewL(KPSUidHWRMPowerState, KHWRMExtendedChargingStatus, *this);    
     
     COMPONENT_TRACE1(_L( "HWRM CHWRMChargingStatusObs - CHWRMChargingStatusObs::ConstructL() - return"));    
     }
@@ -72,7 +72,7 @@
 
 void CHWRMChargingStatusObs::PsPropertyChanged(TInt aKey, TInt aValue, TInt aError)
     {
-    if((aKey == KHWRMChargingStatus)&&(iChargingStatusObserver)&&
+    if((aKey == KHWRMExtendedChargingStatus)&&(iChargingStatusObserver)&&
         (iChargingStatus != aValue))
         {
         iChargingStatus = aValue;