title: Android WorkManager Periodic task not triggered when app is killed
body: <p>My goal is to update my app token(using network request) in every 12 hours whether app is in background or killed so I've used workmanager to solve this. But Periodic task only work when app is in background or open but when I killed the app then periodic task stop to update my app token.</p>
  <p>Here is my code:</p>
  <pre><code>WorkManager mWorkManager;
                      mWorkManager = WorkManager.getInstance(context);
                      
                      Constraints constraints = new Constraints.Builder()
                              .setRequiredNetworkType(NetworkType.CONNECTED)
                              .build();
  
  
                      PeriodicWorkRequest periodicSyncDataWork =
                              new PeriodicWorkRequest.Builder(AccessTokenUpdateWorker.class, 12, TimeUnit.HOURS)
                                      .addTag(&quot;ACCESS_TOKEN_SYNC_DATA&quot;)
                                      .setConstraints(constraints)
                                      .setInitialDelay(5, TimeUnit.MINUTES)
                                      // setting a backoff on case the work needs to retry
                                      .setBackoffCriteria(BackoffPolicy.LINEAR, PeriodicWorkRequest.MIN_BACKOFF_MILLIS, TimeUnit.MILLISECONDS)
                                      .build();
                      mWorkManager.enqueueUniquePeriodicWork(
                              &quot;ACCESS_TOKEN_SYNC_DATA&quot;,
                              ExistingPeriodicWorkPolicy.KEEP, //Existing Periodic Work policy
                              periodicSyncDataWork //work request
                      );
  </code></pre>
  <p>I'm using workmanager 2.4.0 version</p>