The ID.4 has a battery thermal management system that sometimes limits charging to max if it detects abnormal temperatures or if you're charging to 100% too often. Before rushing to the dealer, try checking whether the problem only happens with public charging stations or also at home: certain home chargers don't communicate well with the vehicle and can trigger these limits.
If the block persists even with different charging methods (like if you charge from a regular outlet vs. the wallbox), then yeah, it's worth contacting Volkswagen. Could be a faulty BMU sensor or a software update that messed something up. Anyway, you're covered by warranty, so you won't pay anything - just don't put it off too long though, because three years go by fast and you'd want to have everything sorted within the coverage period.