locationmanager/server/src/clocationmanagerserver.cpp
changeset 25 8e4539ab1889
parent 23 33ae025ac1e8
child 36 aa5a574040a4
equal deleted inserted replaced
23:33ae025ac1e8 25:8e4539ab1889
   418     LOG( "CLocationManagerServer::CheckForRemappingCallback" );
   418     LOG( "CLocationManagerServer::CheckForRemappingCallback" );
   419     CLocationManagerServer* self = STATIC_CAST( CLocationManagerServer*, aAny );
   419     CLocationManagerServer* self = STATIC_CAST( CLocationManagerServer*, aAny );
   420 
   420 
   421     self->iTimer->Cancel();    
   421     self->iTimer->Cancel();    
   422     
   422     
   423     if ( self->iLocationRecord->RemappingNeeded() )
   423     if ( self->iLocationRecord->RemappingNeeded() && !self->iLocationRecord->IsLowBattery())
   424         {     
   424         {     
   425         self->iTimer->Start( self->iLocManStopRemapDelay * 1000000, 0, TCallBack( PositioningStopTimeout, self ) );
   425         self->iTimer->Start( self->iLocManStopRemapDelay * 1000000, 0, TCallBack( PositioningStopTimeout, self ) );
   426         self->iWaitForPositioningStopTimeout = ETrue;
   426         self->iWaitForPositioningStopTimeout = ETrue;
   427         }
   427         }
   428     else
   428     else