added auto sleep code to vehicle manager