All custom Roms had issue with charging. After flashing rom phone not charge. When I back to xiaomi.eu rom everything is OK and phone is charging
I have used several roms and never had any charging problems so your problem is puzzlingly. Are you using a non standard cable or charger?