
Looks like you enabled the custom charging mode that limits the battery percentage to protect battery life
You will find this setting in settings>Battery>Battery health
Disable it and the phone will charge to 100% normally.
Have in mind that charging the phone to 100% reduces the battery life on the long term so I personally limiting it to 90% always and make it charge to 100% if I’m going for a long day out or something.