When the memory is low, a service running in background automatically gets killed. Instead of using startService() to start a service, try using StartForeground() instead. The service runs in the foreground and will never be killed even if memory is low.