integrate realtime event & save energy