I have the exact same issue. However, my device is a Poco X3 Pro. Fast charging was working fine before flashing Xiaomi.eu and now it keeps disconnecting and switching back and forth a few seconds after I leave it charging. The version I flashed was 12.5.4.
I also have a Note 9 Pro with...