Go to Set-Up → Settings → General.In Application tab ‘ enter time in minutes in the field ‘Idle Time For Logout’.