The service lifecycle—from when it’s created to when it’s destroyed —can follow either of these two paths: A started service. The service is created when another component calls startService() . The service then runs indefinitely and must stop itself by calling stopSelf() .27 Eki 2021