[R] Add Timer and Standby mode

[R] Add Timer and Standby mode, should be tested.