Control engine working time