stopService

private fun stopService()

Stops the service. Called when the service is destroyed.

Calls sleepService and unregisters broadcastReceiver before stopping the service.