Same problem. I thought it only happens in custom roms but it also happens in MIUI as well. In custom roms, the shutdown happens randomly from 15 to 30% but in MIUI, it happens from 5 to 15% at most. When you plug it in, charging starts from 0% then after about 3 seconds, it jumps to 20%. Obviously there's something wrong.Yes, used original quick charger, and USB. Using Ressurection Remix 5.8.0 (7.1 Nougat), but was getting problem with MIUI too, but shut down at 7%, and start charging at 21%, i think it may be software problem.
Earlier today I had to reboot my phone twice when I still have 50%+ battery. First reboot turned out ok and the battery drops down to 49%. The problem started on the 2nd reboot wherein the phone immediately shuts down just after the lockscreen shows up. Tried to turn the phone on again but now it refuses to boot and shuts down on the AICP bootscreen. I booted recovery to check how much battery I have left and to my surprise it was down to 18%. What's more surprising is that the phone refuses to boot even if I still have that much power left. After a couple of boot retries the battery just died.
I've tried using non QC chargers and It doesn't seem it's getting better. I'm actually on the 4th charge now using non qc charger but the result was just the same as using a QC charger.
Rebooting kinda messes up the battery reading.
Sent from my Mi 4c using Tapatalk