i have use nrf51822 when no connection creat between android nrfUart app and backon kit so autometically sleep in 180 seconds,
but i have need sleep condition in connected mode of bacon kit and android app.. when i have press switch so bacon kit will be wackup and transmitt this data at connected device. And get sleep condition after transmition complet. and when prass switch again so reapat tyhis condition... so, i have need proper sleep and wackup function.