Various functions for Autonomous mode