After I have upgraded my s22 ultra to one UI 5, and once I connect my 45W samsung charger. It gives me super fast charge then after 5 seconds it turns to charging only.
If I turned my phone off it shows super fast charge normally.
I tested everything; setting , tricks and reset battery but still the same issue.
Try another cable,if it didn't work, clear the cache and reset phone to factory settings.