public static void startReset(Context context) { if (!BaseWorker.isRunning()) { Log.i("Service", "starting service"); WakefulIntentService.acquireStaticLock(context); context.startService(new Intent(context, ResetSoftService.class)); } else { Log.i("Service", "another service is already running"); } }