In my application, I want to implement low power modes and also perform certain tasks like updating the characteristics based on application timers and also update the local time in a global variable updated by the rtc.
Please guide me about how to go about entering, waking up from low power mode and sleep and performing all the tasks as well.