Battery drain issue affter flashing Lineage OS 14.1 - Xiaomi Redmi Note 4 Questions & Answers

Its been a week now since I flashed the Lineage OS 14.1, and I noticed the battery starts to drain even when its being used.
Please help
Thanks

Custom roms doesn't have optimisation like in MIUI, you need to restrict background app manually then it should be fine

rigerp said:
Its been a week now since I flashed the Lineage OS 14.1, and I noticed the battery starts to drain even when its being used.
Please help
Thanks
Click to expand...
Click to collapse
1. Install Better Battery Stats.
2. Let the system idle (6 hours minimum while not touching the device the entire time).
3. When done, generate a dump file from within Better Battery Stats.
4. Upload the .txt file of your idle dump to the Better Battery Stats Thread...
https://forum.xda-developers.com/showthread.php?t=1179809
5. And let someone take a look at what may be your troubles.

Related

Deep Sleep Issues, event wakelocks 0-8

Hey everyone. redoing my thread now that we have tried alot of solutions, hopefully someone has a vague idea of what we can do to my phone lol.
So then, my phone (redmi note 3 snapdragon) refuses to go into deep sleep no matter what combination I've tried.
Tried Combos
1. RR+ radon and agni
2. Miui 8 stable and dev preview (7.1.5 and 8.1.1.0)+ stock, radon, and neon kernel (flashing using miflash with unlocked bootloader official)
3. Cm13 latest nightly+ radon, stock, and agni
4. Nitrogen os+ nagato kernel (current rom)
All combinations we're tried with clean installs (factory data, system,cache and internal storage)
Hardware methods tried
1. Physically disconnecting fingerprint sensor (goodix)
now then, with wakelock detector, we can see im troubled with a 99% awake time, along with 100,00's of event wakelocks over 6hours, now event wakelocks deal with the actual hardware of the phone from what i've seen, which makes little sense to me because the screenshot i am attaching was just over an entire night of not touching the phone. so why it has any activity is bizarre to me. so heres what we have tried so far on my previous thread.
Tried methods of fixing event wakelocks
1. Greenify, force doze, wakelock blocker and blocking everything in frustration. deep sleep battery saver.
2. physically deleting events one by one (going into dev/input/eventx (x being wakelocks 1-10) after deleting some my display eventually stopped working, most likely because i just deleted the event that controls the lcd i assume. rebooting fixed the problem and remade the events in their directory so no harm done.
3. removing zram usage figuring it was a thrashing problem (saw a thread in the hd desire of the same issue. didnt help sadly.
4. flashing modem in radon thread, ended up making my phones earpiece not work for calls and still had the wakelocks.
5. disabling gps, along with auto brightness and auto rotate
so then if anyone needs any other information just let me know, currently using an iPhone for the time being so im desperate lol. but still id rather fix and find the problem then go for returning the phone. better to solve a problem for future people in my shoes then just thrust it away is how i see it. also someone bug the strix and darkstrix about this maybe they know the solution. anyway thanks for reading and i hope we can fix my phone soon
^Update^ now using epic rom 7.1.12 from the xda thread, still got wakelocks on stock without any other apps.
I have same problem in all versions of stock MIUI Rom. I too tried all sorts of combination but the problem remains. Finally I'm using RR Rom 5.7.4 (20161113 build) + radon Kernel. My deep sleep problem have been solved (though not 100%). Now my phone looses very little battery in standby time like 1-2% over a night. Before RR Rom I tried many custom Rom but had same problem. If you have not tried the ROM (RR Remix 20161113) I've mentioned above give it a try. Best Of Luck.
Thanks rj I'll install and post logs after work. Fingers crossed that it fixes my problem.
use the rom android 6.0.1 with module powernap , u can fix it !!
http://repo.xposed.info/module/net.jzhang.powernap
Small update: testing stamina mod currently with xposed. ressurection remix will be next only because xposed seemed a bit easier lol
Well damn :/ tried RR rom and still nothing sadly, also powernap with RR didn't do anything as well. both were tried with radon and agni kernels
Then once try nexus rom i am getting good battery life in this rom too.
rjrulz007 said:
Then once try nexus rom i am getting good battery life in this rom too.
Click to expand...
Click to collapse
surer rj which one?
Having same problem.. Battery is draining very fast in idle mode.. Deep sleep is not working in any rom.. Something is keeping cpu awake.... If u find any solution then plz let me know bro.. Thanks
That happens to me when background data enabled . when i disable backround data through data usage settings , the battery backup gets better, but sure my social apps wont sync.
It seems the wakelock come from android system itself , go check logcat and you will get messages like "ANDR_PERF_RESOURCES FAILED TO APPLY PERFORMANCE" , the likes of "decided to move IRQ from cpu0 to cpu1" , and the likes of "FPC listener : waiting..." , thats all that i notice and thats happening every single milisecond on every MM roms i have tried so far....
Well when i used miui 7 LL global didnt get that much messages on logcat , but its LL ...
I guess the problem is related to source code , i dont know .
Did you try to disable fingerprint also? In many previous ROM this solved the issue.
D4xel said:
Did you try to disable fingerprint also? In many previous ROM this solved the issue.
Click to expand...
Click to collapse
yes sir still nothing
rohit4kk said:
Having same problem.. Battery is draining very fast in idle mode.. Deep sleep is not working in any rom.. Something is keeping cpu awake.... If u find any solution then plz let me know bro.. Thanks
Click to expand...
Click to collapse
hey dont worry man you'll be the first when we find an answer lol
Zaccary said:
Well damn :/ tried RR rom and still nothing sadly, also powernap with RR didn't do anything as well. both were tried with radon and agni kernels
Click to expand...
Click to collapse
Poor network signal also can cause this issue. My old carrier had crappy signal, once I switched, it increased my phone's battery since the new network has much better signal.
deltatux said:
Poor network signal also can cause this issue. My old carrier had crappy signal, once I switched, it increased my phone's battery since the new network has much better signal.
Click to expand...
Click to collapse
thanks for the tip but we are running on airplane mode only at this point just to make sure we don't have more things to worry about battery drain. i appreciate the information though ^_^
Mine kenzo, tried all miui version, always the same.
sbor-si said:
Mine kenzo, tried all miui version, always the same.
Click to expand...
Click to collapse
I'm not alone!!!
Hey hopefully we find an answer buddy
Yesterday I want to flash 7.3.2.0 xiaomi.eu version (clean install via twrp), but get bootloop. Than I flashed official global developer version (7.1.19) (fastboot via miflash, flash all), nothing better, except android system used 6%, android 39% and dex2oat 20%.
Can somebody try 7.3.2.0 version, from earlier posts is visible, that this version rocks, all later versions have issues.
sbor-si said:
Yesterday I want to flash 7.3.2.0 xiaomi.eu version (clean install via twrp), but get bootloop. Than I flashed official global developer version (7.1.19) (fastboot via miflash, flash all), nothing better, except android system used 6%, android 39% and dex2oat 20%.
Can somebody try 7.3.2.0 version, from earlier posts is visible, that this version rocks, all later versions have issues.
Click to expand...
Click to collapse
i believe last time i tried 7.3.2.0 it gave me constant reboots and lagged quite a bit. but i also heard it was the best for battery so i can try flashing through miflash again after work. im also going to be trying this rom here https://forum.xda-developers.com/re...nzo-lldlm18-1-3m866beta-real-factory-t3375250. since it uses edl mode instead of fastboot so hey maybe that will knock something lose?
Well, right now I'm trying to get it working - without luck. I can flash 7.3.2. with miflash via edl without troubles, phone started normaly, all seems good, until "No service" for gsm signal. Bad luck. I think that modem version from that old flash is not compatible with hardware.
But it looks so good - Android takes 20% and Android system 6%...

Galaxy S7 G930F mmc0_detect and bbd_wake_lock wakelocks - enormous battery drain

40$ Paypal for the person who finally helps me to solve my problem!
I have a very serious battery problem with my Galaxy S7 G930F.
Even at night when I do not use it and I turn on flight mode and energy saving mode it drains up to 10% battery per hour. When I go to bed with 60% sometimes the battery is completely discharged when I wake up in the morning.
I have had that issue for a long time now an I have already tried a lot to investigate what is causing the problem.
The first thing I tried was to completely wipe everything and reflash the official Nougat ROM. It did not help at all (I did not configure anything or install any apps! so the problem can not be caused by some app).
Then I tried both the SuperStock ROM and the Superman ROM for G930F - but the problem persistet. (I fully wiped everything in TWRP before flashing the new ROMS)
Using the App Wakelock Detector I found out that my phone is unable to go to deep sleep at all - and I also found out that the Kernel Waklocks mmc0_detect and bbd_wake_lock are causing this problem.
I have found out so far that the mmc0_detect problem can be caused by a faulty SD-Card - but I have not SD-Card installed!
The bbd_wake_lock comes from the broadcom sensorhub driver.
I have no idea what to do now, because I don't have better knwoledge to resolve the root cause of the problem.
Could it be a hardware probleme since the problem persists even with a clean install of a new ROM? I did not install any apps and the problem is already there.
Thanks for your help.
i.imgur.com/FfGOKMo.png
i.imgur.com/SEhPDeY.png
(sorry I can't post images yet)
I'm having the same problem too... I've also done the same steps that you did (factory reset, clean install superman rom, removed SD card, formatted SD card on the phone etc etc)... i'm starting to think that it's hardware problem....
the only difference I have with you is that my phone's a G930FD
Hi there....I'm running into the exact same issue. This is 100% Wifi related. If I turn off Wifi both these wake locks go away. I used better battery stats to track it.
I'm not sure what can be done to prevent it (other than turning off Wifi). Any ideas??
Thanks.

Battery percentage going up by it self. Then turns it self off after after 30%.

If I charge it till 100% it remains 100 for couple of hours. then it starts to drain slowly. But after 50% it drains rapidly. like 10% in every 10 minute then turns itself off. This started to happen when I flashed AOSP Xtended rom with Dark Ages kernel.
I have tried removing battery stat by TWRP with cleaning cache and delvik chache. that didnt work. I flashed MIUI 9.8.12 by MI Flashing Tool to clean flash it. that didn't work also. I have tried googling the solution so far I haven't found any solution
I will be so grateful if anyone helps. :crying::crying:
q.sadid said:
If I charge it till 100% it remains 100 for couple of hours. then it starts to drain slowly. But after 50% it drains rapidly. like 10% in every 10 minute then turns itself off. This started to happen when I flashed AOSP Xtended rom with Dark Ages kernel.
I have tried removing battery stat by TWRP with cleaning cache and delvik chache. that didnt work. I flashed MIUI 9.8.12 by MI Flashing Tool to clean flash it. that didn't work also. I have tried googling the solution so far I haven't found any solution
I will be so grateful if anyone helps. :crying::crying:
Click to expand...
Click to collapse
same problem
Siva212001 said:
same problem
Click to expand...
Click to collapse
I dont understand how fastboot flashing official global rom is not solving this.

battery drain turned off

short story:
from offical rom to havoc os 2.5 flashed some kernel. notice that the phone when was turned off if was draining the battery.
flashed orange fox recovery did full wipe, including data. flashed back the "miui_HMNote4XGlobal_V10.2.3.0.NCFMIXM_e1a82195b6_7.0" via orange. rebooted. installed magisk and removed the usual's app that i remove from miui. i notice that the phone still draining when is turned off.
every time i try to use the redmi note 4 for going to exercise i notice the battery is drained because the RN7 is to heavy to go in shorts.
atm i'm going doing clean install via mi tool. but in case the mi tool doesn't work i will use the fastboot commands.
is there any way that i can check what is causing it?
flash fresh rom. if it still drain battery, your board might be broken. i noticed a lot of RN4 draining batttery even with fresh rom with no apps, no gapps and no sim/wifi. roughly 20% battery lost overnight.

Charging issues in custom roms

All the custom roms i use seems to have charging problems... My phone wont charge like it used to in miui.. i googled and found out the battery temperature has to fall below 40°C to enable fast charging.. But i found out the battery temperature remains constant at 40-41° even when no apps are running.. So even though its showing the phone is charging the battery actually drains.. i have used lineage os, pixel experience, crdroid , also tried ressurection remix but that was broken. Nonetheless all the custom roms were failing at the charging.. Rest everything was proper and smooth.. Just due to this problem i reverted back to miui developer rom and everything seems fine.. Does anybody know what went wrong?
I faced similar issue on custom rom (havoc) and after disabling USB Debbugging from developer option , I was fine.
I am assuming you are charging with given cable/adapter
After install custom Rom is recommended to calibrate the battery. Make sure battery percentage in twrp and in Rom is same. Delete batterystat.bin from file manager of Twrp, then charge battery to full 100%. While charger connected, boot into system. After finish booting remove charger.
Greenify will help stop unused background apps. FDE.AI (magisk module) also help for Android optimizer, should help for battery saving.
Alvian_P said:
After install custom Rom is recommended to calibrate the battery. Make sure battery percentage in twrp and in Rom is same. Delete batterystat.bin from file manager of Twrp, then charge battery to full 100%. While charger connected, boot into system. After finish booting remove charger.
Greenify will help stop unused background apps. FDE.AI (magisk module) also help for Android optimizer, should help for battery saving.
Click to expand...
Click to collapse
Woah... Thanks that actually helped.. The calibration did the job .
Alvian_P said:
After install custom Rom is recommended to calibrate the battery. Make sure battery percentage in twrp and in Rom is same. Delete batterystat.bin from file manager of Twrp, then charge battery to full 100%. While charger connected, boot into system. After finish booting remove charger.
Greenify will help stop unused background apps. FDE.AI (magisk module) also help for Android optimizer, should help for battery saving.
Click to expand...
Click to collapse
tried all the methord u told uss . But fails tried all rom showing charging but it draning .. Now What to Do???
Alvian_P said:
After install custom Rom is recommended to calibrate the battery. Make sure battery percentage in twrp and in Rom is same. Delete batterystat.bin from file manager of Twrp, then charge battery to full 100%. While charger connected, boot into system. After finish booting remove charger.
Greenify will help stop unused background apps. FDE.AI (magisk module) also help for Android optimizer, should help for battery saving.
Click to expand...
Click to collapse
I'm using OrangeFox recovery and I don't seem to find any file named batterystat.bin, Phone is Redmi 9T and Os I used is ArrowOS 11. My phone charges normally but it stops charging after a min or two for no reason. and I have to restart the phone until it starts to charge again.
i have Mi A1 (tissot) after flashing evolution x from twrp i am having charging slowly issue plz help it takes 5 minutes to increase battery percentage by 1%

Categories

Resources