question: public static void beginStartingService ( Context context , Intent intent ) { synchronized ( mStartingServiceSync ) { if ( mStartingService == null ) { PowerManager pm = ( PowerManager ) context . getSystemService ( Context . POWER_SERVICE ) ; mStartingService = pm . newWakeLock ( PowerManager . PARTIAL_WAKE_LOCK , "StartingAlertService" ) ; mStartingService . setReferenceCounted ( false ) ; } mStartingService . acquire ( ) ; context . startService ( intent ) ; } }
target:  Start the service to process the current event notifications, acquiring the wake lock before returning to ensure that the service will run.