Often my iPhone 12 reverts backwards in percentages when charging using a standard wireless or wired charger. I mostly use the fast charger which works perfectly and what my iPhone is used too. Has the fast charger deflated my battery?
Inspect the Lightning end on any cable you use. If you see one of the copper pads is darker than the rest throw that thing in the trash immediately. If its burning up its little pad its can be doing the same thing to your lightning port on the inside which is much harder to fix.
Like mentioned by
@now i see it it could be something as simple as a dirty connection or a poor quality cable. Even at 5volt 1amp (5 watt) a brand new Apple 5watt charger and Apple Lightning cable would deliver the full 5watt. It will be 4.5-4.8 due to resistance in the cable and there being connections. That is about the best you'll get from a 5 watt charger without using a 6" Lightning Cable or something.
Simulated load tester plugged directly into the Apple charger and adjusted to 5 watt (upper right).
Just added a brand new Apple Lightning cable to the mix and its 4.77 watt which is a 5% loss due to the cable.
And keep in mind thats best case with an Apple 5watt charger and lightning cable taken directly out of the box it came in. I wouldn't even bother with 5 watt wireless (is that even a thing?).
Question I have for you though is were you using the phone while it was charging? It easy to make a modern iPhone use more that 5 watts. This is often seen while driving, plugged into the cigerette light or using USB 2 standard 5volt 750mV while using GPS and Music and talking on the phone via BT, etc.
Funnily enough I just posted this in another thread. While running Geekbench 5 my iPhone was consuming 8.878watts (2.279amps x 3.896volt).
If I was charging with 5 watts or less it would be draining faster than charging thus losing percentage.
Point is I doubt there is anything wrong with your phone except possibly a dirty lightning port.
Good luck!