[Xiaomi Mi 10 Lite  Questions & Answers] RedSnake9:
Hello there!

I'm having problems with this device, the Mi 10 Lite 5G (Monet) in particular.

Out of nowhere it started having an insane battery drain. To the point that if i unplug it from the charger before i go to sleep so the phone starts at 100% battery, when I wake up between 6 and 8 hours later, I find it at 30 to 50%, at an average of 7-8%/h.

I'm on all stock: latest MIUI, no bootlocker unlocked, no root, ironically I chose this device 'cause i didn't want any headaches.

Remembering my olden modding days, I remembered about the wakelock hunts, so that's the first thing i thought about. I tried multiple apps to do so and even the Battery Historian tool via a bugreport. Everything points to some kernel wakelocks that pretty consistently activate, not letting my CPU sleep at all, which makes sense as to why It would drain battery like that. The problem is I can't figure out what causes it. There's no app that does it, it seems to be all kernel stuff, I even factory reset and tested without installing anything. Either it's something with the system itself, that I can't quite pinpoint, or i'm starting to think it might be hardware. I don't wanna sway anyone, but my best bet is it could be a faulty usb-c charging port. Although I don't know how it could make it this bad, and I'm obviously not sure it even is it. Would suck to change it, spend money on it, and still have the problem.

Aside from the wakelocks, there's also another bit of info that makes me think that: when off, if i plug the usb cable in to charge it, the phone doesn't get to the battery charging animation, but it keeps showing me the Xiaomi logo screen, over and over. I haven't tested if it actually charges in the background or not, for fear of making things worse.

I even checked if there was something weird in the hidden battery stats by dialing the code *#*#6485#*#*, but aside from the phone going into "sink attached" mode at random intervals, which apparently means it's trying to provide charge to something else through the port or wireless charge (that this phone doesn't even have)...? I can't tell if there's anything weird with it or not.

I know my way around android a little bit, but I'm a little bit lacking when it comes to intricate information like this, and I couldn't find any information about this (these) particular wakelock(s) and everything else around 'em.

I'd really appreciate it if someone who knows this kind of stuff better than me could help me out with it. Even just to know what the problem is and there's no real solution.

I'll attach a couple screenshots from Battery Historian (my phone's been factory reset, so I have no apps on it, and don't plan on putting any on aside from the ones I absolutely need, in case I have to send in in for repairs, or root/mod it to try and mitigate or solve this) and alsothe bugreport itself, in case someone needs to look at it in detail to try and sniff out the problem.

Also, if this wan't the right place to post this, let me know. I went for the device, but maybe there's a better section to more in general help with these types of issues, but if there is i couldn't find it.

View attachment 5749919

View attachment 5749923

View attachment 5749925

Thanks in advance to anyone who even only just thinks about helping me out!

EDIT: For anyone reading this, the problem was indeed a broken usb-c port/module. I bought a replacement and swapped it out myself and my battery is back to being perfect. Well, almost perfect... This quickly discharging business has lowered its health obviously.

I suspect some sort of short would make my phone believe something was continously being inserted and removed into the usb port, so the CPU would keep being woken up, and kept consuming extra power to try and read something off of it.

I hope this helps someone!