With iPhone 15 models, to choose between Optimised Battery Charging, 80% Limit and None, go to Settings > Battery > Charging Optimisation and choose an option.