question: private static void beginStartingService ( Context context , Intent intent ) { synchronized ( sStartingServiceSync ) { if ( sStartingService == null ) { PowerManager pm = ( PowerManager ) context . getSystemService ( Context . POWER_SERVICE ) ; sStartingService = pm . newWakeLock ( PowerManager . PARTIAL_WAKE_LOCK , "StartingDockService" ) ; } sStartingService . acquire ( ) ; if ( context . startService ( intent ) == null ) { Log . e ( TAG , "Can't start DockService" ) ; } } }
target:  Start the service to process the current event notifications, acquiring the wake lock before returning to ensure that the service will run.