yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Guides, News, & Discussion] jordain:
I had a similar problem, and solved it by cleaning the port thoroughly with vinegar. First I tried alcohol, a toothpick and compressed air to dry it out, but that was not enough. After vinegar, scraping the pins with a thin piece of plastic and compressed air the problem completely went away.

Hopefully that helps if your only issue is dirty pins. If that doesn't work you may need to replace the charging port like [MENTION=5304128]pra300[/MENTION] said, because there could be a broken connection internally.

---------- Post added at 07:43 PM ---------- Previous post was at 07:37 PM ----------

Interesting idea that it might be weather related in some cases. If I see the issue again I will keep that in mind.
[Xiaomi Poco F1 Guides, News, & Discussion] tejabunny:
Solved.

Flashing 11.0.5 solved my issue. Now my poco deep sleeps. Thank you for the fix.

The charging issue still persists. It just connects & disconnects. Sometimes it won't charge. Ive tried 4 different cables. Only way I get to charge my phone is by switching it off while the cable is plugged in and then power on. I tried cleaning the port, didn't work.
[Xiaomi Poco F1 Guides, News, & Discussion] aneesathil:
Deep sleep issue can be solved by reverting to 11.0.5 pie build..... But the fast charge problem still exist......
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
I'm on crDroid and I haven't had the issue yet. That said, it stopped happening earlier than that, so I can't guarantee that is a solution...

Maybe it's just the weather being warm and dry, as I stated in the OP. I am not getting wakelocks but I am getting this often in kernel dmesg:

9.291188] FG: fg_cycle_counter_update: batt_soc: 214 bucket: 6 chg_status: 2
[ 9749.291453] FG: fg_charge_full_update: msoc: 88 bsoc: d622 health: 1 status: 2 full: 0
[ 9749.291759] healthd: battery l=88 v=4169 t=25.0 h=2 st=3 c=32 fc=2908000 cc=79 chg=
[ 9749.291855] FG: status_change_work: charge_status:2 charge_type:1 charge_done:0
[ 9750.567865] FG: fg_battery_soc_smooth_tracking: soc:87, last_soc:87, raw_soc:87, soc_changed:1.
[ 9750.567889] FG: soc_monitor_work: soc:87, raw_soc:87, c:27832, s:2
[ 9750.576934] healthd: battery l=88 v=4169 t=25.0 h=2 st=3 c=32 fc=2908000 cc=79 chg=
[ 9750.587870] FG: fg_cycle_counter_update: batt_soc: 214 bucket: 6 chg_status: 2
[ 9750.588319] FG: fg_charge_full_update: msoc: 88 bsoc: d622 health: 1 status: 2 full: 0
[ 9750.588915] FG: status_change_work: charge_status:2 charge_type:1 charge_done:0
[ 9753.053492] healthd: battery l=87 v=4162 t=25.0 h=2 st=3 c=44 fc=2908000 cc=79 chg=

I don't know how often I used to get them, but it was way less often before the otg_default issue started. AFAIK, this is part of the issue, but only the "behind the scenes" part on firmware level. From what I can see it looks like the polling juts before/after a charger is connected... I don't connect chargers that often.

Anyone can second this? On 11.0.5.0 firmware?
[Xiaomi Poco F1 Guides, News, & Discussion] tomatus270389:
11.0.5.0 worked for me

Going back to 11.0.5.0 worked for me.
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
Hey guys,

Anyone tested 11.0.9.0 yet? Any thoughts? Does it solve it? Imo it doesn't...
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Idle drain was really bad over the last 3 weeks or so. Relentless drain, 3-4%/h. Occasionally a reboot would fix it. I tried manually optimizing the apps as well but it didn't help much. It persisted even after clean flashing a new build of crDroid. Flashing 10.30 of OD kernel helped primarily because of the integrated Wakelock blocker. Bunch of them like IPA_RM12, IPA_WS, qcom-step-chg, qcom-battery etc would become active after charging and thereafter would continue to drain the battery. Anyways idle drain was down to 1-1.5%/h. I setup Tasker to enable Battery Saver right after screen off and vice-versa and this helped bring idle drain to 0.4-0.6%/h which is closer to the normal in my case. I do have Battery Optimization enabled for Google Play Services and Wifi/GPS/BT is only turned on when needed. This coincided with degradation(kernel reading down to 3596 from 3996,Accubattery estimate at 75-78% health) of the (10 month old) battery so I was worried I would be needing a (costly) replacement soon. Thankfully that doesn't seem to be case and still good enough for 12 hour SoT although some ways off from the original 14-16 hours!
[Xiaomi Poco F1 Guides, News, & Discussion] stinka318:
I make a suggestion flash device back to stock ROM lock bootloader go through 2-3 change cycle then unlock the bootloader and flash what ever you like once again......
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
You first need to find exactly what causes your drain. If it's kernel wakelocks on clean flash, chances are that it's either buggy ROM or firmware. My troubles stopped when I clean flashed a custom AOSP-based ROM. Wipe system/data/vendor/cache/dalvik. I'm down to 2900mAh of usable battery so I'm in a worse position... But at least that drain is gone.

Also, don't try to overoptimize, test every optimization if it yields you any noticeable benefits first. It's often better to keep your device cleaner, that's why I haven't optimized Google Play Services yet and I don't have Tasker. I just watch my display brightness and radios and idle drain is as good as it can be. While I'm sleeping the phone's battery drain is negligible, a flat line, even on WiFi.

What is the case though is that these wakelocks degrade the battery very fast and make people should be aware of this and check...
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
Locking the BL does nothing. A clean wipe has the same effect as a clean flash to stock anyway, unless the person has been living under a rock and hasn't updated in a long while.
[Xiaomi Poco F1 Guides, News, & Discussion] stinka318:
Actually it dose I've had it where because of issues with recovery and changing issues flashed stock rom with stock recovery locked the bootloader and then reset the device then unlock bootloader again and it all fixed it.......
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
Recovery issues can be fixed by just flashing another recovery and (I presume you meant) charging, is mainly kernel and a little ROM related, nothing to do with the bootloader but okay, whatever works for you.

Let's not get too off topic :)
[Xiaomi Poco F1 Guides, News, & Discussion] stinka318:
A full refresh with clean ROM and relocking bootloader is like a breath of fresh air to the phone I found a good idea is if your running in to issues then go back to basics......it works......
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
I have been on crDroid from the very beginning. I was on build 6.7 for 2+ months and only in the last 2 weeks of it idle drain became an issue. I think it coincided with flashing a standalone version of OD kernel. Active drain had also worsened to 11-13%/h from earlier 7-8%.Clean flashed 6.9 but to no avail. Then tried with Mipa kernel which fixed the active drain but idle drain was as bad as ever perhaps because the kernel didn't have any Wakelock blocker built-in. Sometimes afterwards flashing v 10.30 of OD kernel reduced idle drain to 1%/h. Enabling Battery Saver brought it down to 0.4-0.6%/h . I have experienced better idle drain with NGK only, 0.2-0.3%/h. For the first 4 months or so I was on arter kernel and idle drain was similar to OD.

Right now the situation is a whole lot better after some 3 weeks of frustration so I am hesitant to change anything. I do plan to flash MIUI once.

Also from 6.7 to 6.9 I switched from f2fs to ext4 after Sequential Write speeds were stuck in the 50-60MB/s instead of the original 200MB/s. Don't think it made any difference...

Thanks for your inputs.

Edit: I have switched to a 10W charger. There are folks with Mi 8 whose batteries had also degraded pretty rapidly. Only commonality being QC 3.0 charging. Batteries in my much cheaper Redmi Note 3(75% health ) and 3s(85% health) only showed noticeable degradation at 2.5 & 3.5 year mark respectively. No intensive workload in all 3 of my devices.
[Xiaomi Poco F1 Guides, News, & Discussion] ilvmyname:
[MENTION=4644172]trax7[/MENTION]

Thankyou bro for this thread

I used to believe my poco was dead, that it had a bad cheap display and even the battery

Was randomly scrolling after past 5-6 months of frustration with the phone

Could have never known this could be the problem untill I found this

Thanks to those people who posted that 11.0.5 firmware worked

Yes, it works it works brilliantly well

The fact that it just didn't fixed my idle drain, it also fixed the permanent screen burns I had on top left corner of my screen

For approx past 1 month I am on 11.0.5 and now my idle drain is never more than 1% overnight

I found that PEplus pie (last build) gave me insane battery life around 9hrs of SOT easily

Currently I am on RR Pie (last build) it may not be insane battery life like above but I am getting 7-8 hrs of SOT in 2 cycles

But I want customisations so I will stick to this

---------- Post added at 06:59 AM ---------- Previous post was at 06:53 AM ----------

2 things more

For those who found that 11.0.5 worked

Is there any work around to get same thing on a Q rom, b'coz I would really like to upgrade to Q someday

2ndly you might want to change your OP tittle to something like idle drain or something, it's not easy to find out for others who might not know that this is the problem
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Maybe give crDroid a try. Even with a degraded battery I am still getting 12+ hours easily. Previously 13-15 hours was routine albeit I used to cap big cores at 2.4GHz to prevent battery temps from going past 40°C. Ofc YMMV. And huge amount of customization as well. I like it well enough that I have been on it for the entirely of the 11 months I have had the device.
[Xiaomi Poco F1 Guides, News, & Discussion] ilvmyname:
crDroid which version and firmware?

And what is YMMV?
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Always the latest. Although I am on an older build from 8th August. Waiting for a new build with September security patch to drop. Firmware and Vendor have been built-in in crDroid builds for a while now. Also no enforced encryption.

Your Mileage May Vary. Depending upon on your workloads, display brightness levels, network conditions, battery health etc battery backup can vary.
[Xiaomi Poco F1 Guides, News, & Discussion] ilvmyname:
Ok, great thanks for the help, and what kernel you are using?
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Optimus Drunk kernel that comes built-in.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
I am tired of managing these wakelocks. After a reboot or after charging they become active again though I have blocked them in Smartpack kernel manager. In case I don't notice it quickly enough high idle drain results.

So I have decided to flash MIUI fastboot ROM in the hopes of fixing it on a more permanent basis. Last time I was on MIUI was back in the Android 8 days. Should I go with MIUI 12 (Russia) or MIUI 11? I have read the former is still kinda buggy. Will it even work in the Indian version? Don't want to waste a big chunk of my monthly mobile data...

Also is it necessary to stay on MIUI for sometime? Or one can revert back to a custom ROM soon after booting into MIUI?
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
Go for a custom ROM. I am on CRdroid/AOSiP and I don't miss MIUI. My battery is better, the phone is cooler, GCam is here, I am happy.

And best of all - no wakelock bugs.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
Yeah I have been on custom ROMs (crDroid ) from the very beginning. After unboxing the device, I kicked out MIUI right after the few minutes it took to unlock the bootloader . Back then it was MIUI based on Oreo.

But I am planning to flash Fastboot ROM in the hope that it can help fix those pesky wakelocks.

Only wanna know if I need to stay on MIUI for say 2-3 days like some suggest or I can revert back to crDroid soon after flashing MIUI?
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
Hmm, try to flash latest firmware packages, that is what I would suggest. If not, fastboot and then flash crDroid again from scratch.
[Xiaomi Poco F1 Guides, News, & Discussion] Rakshan Kumar:
I too had these wakelock issues, Slow Charging, couldn't connect to Laptop etc since few months. Clean flashed, changed ROM, Kernel everything. Still had the issues. Due to lockdown, couldn't go to service centre either. Today, I cleaned my Charging Port using little Cleaning oil, cleaning with cloth brush, blowing Compressed air. For now, every issue has been fixed, I'm happy. Finally after 3 long months.. :)
[Xiaomi Poco F1 Guides, News, & Discussion] aneesathil:
A solution, for now atleast

This post gave me some hope to begin with.

Earlier, flashing 11.0.5 pie via fastboot was my solution for always awake usb default wakelock issue. But, since two weeks or so, always awake issue started coming on this 11.0.5 build as well. I was worried.

Then decided to fastboot flash again and to my surprise, fast boot wasnt detecting my phone. I was using the same pc i have using for all my previous flashings, so no driver issue. Then and I began thinking if my USB port got damaged as the only way of getting my phone detected was to connect with the cable multiple times and in one of the attempts it would get detected.

After so many attempts I finally flashed the rom, but to my surprise the issue was still present.:crying:

Then finally I decided to clean the USB port as much as I could what i did was,

1. Switch the phone off.

2. Soaked the usb port with cleaning alcohol.

3. Brushed it with a tooth brush.

4. Blew dry air from vaccum cleaner to make it dry.

5. Switched it on and still the issue persisted:mad:

Then I took a torch and carefully examined the USB port what I could find was there was a tiny glue like or gum like yellow coloured dust? in the lower part. I started poking it with some sharp pins, desperately.

I don't know if it's solved the issue, but from that moment onwards otg default wakelock has gone off and the phone started sleeping nicely.......

After so many attempts.....:laugh::fingers-crossed::angel:

Let's see what happens:fingers-crossed:

EDIT : THE WAKELOCK IS BACK AGAIN. May be changing the usb port is the only option left :(
[Xiaomi Poco F1 Guides, News, & Discussion] satan89:
I'm having this problem. I had been using a custom ROM almost since I got the phone, around 2 years back. Didn't have battery problems till maybe 3 or 4 months back, and I didn't make any changes with the ROM, I hadn't even updated it for almost a year.

Anyhow, after thinking it was probably some misbehaving app keeping the device awake, I decided to clean flash the latest version of the ROM, now Android 10. And I'm seeing that the qcom_step_chg is triggering continuously and keeping the device awake overnight, and my SOT is now around 2 -3h a day on moderate use.

Also, the phone was, and still is, acting weird when I charge it sometimes. Some times, it disconnects about 10 seconds after plugging it, and sometimes if I try to plug it in after rotating the USB cable, it suddenly works fine. One time, it didn't work at all when trying to plug it to charging and I had to reboot after which it worked. A couple of times I saw some notification kept triggering about connecting an OTG device on and off for a few seconds, a couple of random reboots and sometimes something like ghost touches. I'm using the stock charger BTW.

I'm thinking it isn't software related since I noticed it on the old ROM as well, when I hadn't updated it and didn't install any new apps, and I think it is most likely what most people here are complaining about. I haven't tried cleaning the port yet, I'm afraid of making things worse.

I thought I'd replace the charging port as some people have had success with it, but looking at the Mi poco service list pricing, I cannot see a mention of just replacing that module, its the entire mobo that has to be replaced, but that works out to a very unreasonable cost.

I've noticed that restarting the phone AFTER charging it completely usually fixes it. And the wakelock doesn't happen till I try and charge it again. But if it is a hardware issue, I expect it to deteriorate further to the point where restarting may not help. Also, yes, after flashing the new ROM I initially thought I was rid of the problem, but a couple of days later I saw it occurring again.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
If rooted and the kernel supports wakelock blocking just block qcom-step-chg in Smartpack kernel manager. I have also set it to blocked on boot but it never sticks unlike other wakelocks. So I have set a reminder in Tasker when system is rebooted. Otherwise the drain continues for quite a while.
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
That's not a good solution though. The wakelock blocker isn't active while you're using the phone and a part of the drain also comes on the hardware level - the USB bus lighting up etc - the CPU might sleep but other compoments might not, when that should.

I'd say report that to Xiaomi. Let them find this thread. If they get enough reports they'd have to fix it. Also, have to go quick because poco is two years old, if we wait some more months, xiaomi will say they no longer support it and we'd be screwed...

Also, try getting smth like a Volta cable or similar protection for the port, it seems to be necessary for this model. If you want to change your USB port, just give it to a local service, they won't charge you a lot and the change isn't that hard to do.
[Xiaomi Poco F1 Guides, News, & Discussion] satan89:
I'm trying the wakelock blocker. I understand that it is active only when the phone is not in use, but I feel like this problem isn't causing any active drain, just preventing device from deep sleep. I'm getting pretty decent SOT (about 10%/h on YouTube over WiFi, medium brightness) and the main problem was getting 0% deep sleep overnight when the wakelock isn't blocked. I'll report back if it is helping at all.

Also, yeah I know it is a hardware level fault. But maybe not allowing the software to respond to it with wakelock can protect the battery, and allow the phone to deep sleep? At least I'm hoping this happens. Ultimately the solution will be by fixing the USB port and/or the battery. I've looked up some teardown and replacement videos, it looks pretty doable and I have the screw bits, so I might attempt it as a last resort, if I can get a replacement part.

Can you explain about the Volta cable, and why this phone would normally need it? And by blocking the wakelock qcom_step_chg, what exactly am I blocking? What functionality am I losing, or what is this wakelock's purpose?
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
A Volta cable is a magnetic cable with fast charging, it has a small doodad that stays in the USB port and you aren't meant to get it out of there very often. This means the port stays protected. If doesn't need it per se but you can see why I'd say that.

Qcom_step_chg is a system wakelock, not very well documented, AFAIK it has to do with controlling the charging voltage steps. At least, that's what I can gather from the semantics. I don't know whether stopping it does anything bad to the device but the chance is there. More observations needed...
[Xiaomi Poco F1 Guides, News, & Discussion] aneesathil:
Changed the usb pcb today from mi service centre under warranty. The issue seem to have gone and fast charging works fine now.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
How did you convince them to do so?
[Xiaomi Poco F1 Guides, News, & Discussion] aneesathil:
Mine was still under warranty. So, flashed fastboot rom and relocked bootloader. Told the service centre guys there was charging and usb connection issue and fastcharging wasn't working. They checked and told they need to replace the pcb.
[Xiaomi Poco F1 Guides, News, & Discussion] satan89:
Thanks, I've done this and since 5 days, I've not had a problem with idle drain, nor the weirdness with random disconnections at charging. I didn't need to use Tasked to apply on boot, Smartpack kernel manager applies settings on boot successfully. The wake lock now stays in the deactivated section with 0 seconds/wakes, and the phone normally goes into deep sleep. I do hope it isn't just coincidence but I'm not too eager to re enable the wakelock and test.

The only wakelock I had to deactivate was qcom_step_chg. The other wakelocks that were sometimes showing high wake ups earlier, are not misbehaving anymore.
[Xiaomi Poco F1 Guides, News, & Discussion] CosmicDan:
Sounds like a short on the USB connector. OTG is activated by bridging two pins, afaik, so there maybe a metal shaving or similar in there.

Get some compressed air and blow the crap out of the port. If you don't have one, get a hard bristle tooth brush and scrub the crap out of the port.

DISCLAIMER: THIS MIGHT COMPLETELY BREAK YOUR USB SOCKET. DONT DO IT IF YOURE UNPREPAIRED FOR WORSE DAMAGE. Ideally you'd want to replace the entire USB connector.
[Xiaomi Poco F1 Guides, News, & Discussion] amn1987:
In crDroid 6.11 idle drain is way better. 0.2%/h on average. Previously I used to get 0.5-0.8%/h. Wakelocks like qcom-step-chg still persist and I continue to block them. Idle drain would have been even better if not for the rapid 2-3% drop that always happens within a few minutes of unplugged the device. This time while clean flashing the update, as always, I didn't restore the Migrate backup. Instead reinstalled the apps from Play Store. Dunno if this played a part or not.

I didn't even have to flash MIUI as I had planned to check whether the wakelocks were there in stock ROM or not.
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
They will be. Custom ROMs help. Clean installs also make sure old data doesn't create small bugs here and there, it's always better but less convenient.
[Xiaomi Poco F1 Guides, News, & Discussion] Jolubeat:
Hello guys.

Noticed this problem with my mi 9 SE recently. My phone was draining 10-20% battery during night, on flight mode.

Thanks to root and BBS, I could troubleshoot the problem, and something about the usb port was creating the problem. (I'm running stock rom)

I believe I found what might be, at least, a temporary fix

. Snugged a random usb type c cable in my phone and let it stay for a while, monitoring the "otg-default, usb,..." wakelocks, and for my surprise, it seems to solve the problem.

Next move will be: buying a magnetic type c cable, and have the adapter 24/7 in my device.

If this doesnt work, I might change the usb port...not expensive on aliexpress though.

I hope this works for you guys too.

Will give feedback whenever the magnetic cable arrives and share the link of it too.

Thanks
[Xiaomi Poco F1 Guides, News, & Discussion] Adam Wesolowski:
I had the exact same problem with my Poco F1. Thanks to this thread I decided to contact my local service center and got my USB board replaced. This solved all my problems with USB wakelocks. Idle battery drain also went back to normal.

Before that I tried blocking wakelocks with software and it did improve things a little, however my idle drain was still high, despite no USB wakelocks. Probably the USB problem was causing some other parts of the phone to not enter battery saving mode.

One more advice - be carefull with cheap chinese replacement USB boards. I got one for cheap and it's missing almost all the SMD parts, which are present on the original board. Read somewhere, that using those cheap boards leads to problems with mic and signal. Seeing the diffence between the original and the cheap chineese version, I skipped putting it in my phone.
[Xiaomi Poco F1 Guides, News, & Discussion] trax7:
Seems like you also have the same issue. We have to look if it's Xiaomi or all USB-C devices that suffer from this. Maybe it's a wider design flaw. Although if it is, I am not sure why after so many years there is no improvement...