rtc: Add support to fun_offline() / fun_online()