sleep and wake up services of nordic nrf52840


I have ble_app_hrs_freertos project for that, I have to make sleep and wake up the services in the project.

 my question is that

1) how to sleep the service in nrf52840?

2)how to wake up that service at specific intervals time?

is there any tutorial and snippet for that?

Thank you.