VivoActive 4s and VO2 max

My VivoActive 4S records my VO2 max when I’m out using GPS. But dose not record when I do indoor exercise. What do I need to do to get it to record indoor exercise.