--- a/resourcemgmt/hwresourcesmgr/power/src/HWRMChargingStatusObserver.cpp Fri Sep 17 08:36:42 2010 +0300
+++ b/resourcemgmt/hwresourcesmgr/power/src/HWRMChargingStatusObserver.cpp Mon Oct 04 02:28:24 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;