[Question/Discussion] Severe battery drain in PIE stock May and June - Xiaomi Mi A2 / 6X Questions & Answers

I bought this phone 2 weeks ago, and soon rooted it and installed May Update via Fastboot.
While I'm generally happy with this phone, there's serious battery drain issue due to a particular wakelock called IPCRTR_lpass_rx. While there are others like RILJ etc. they are still not that severe.
I've tried Wifi on + data off, both on, both off, Only Sim 1 activated, both sims activated.
After this, I even put my mobile on flight mode for a night and there was around 20% drain overnight. In my previous mobile Redmi 3S, there would hardly be 1% drain over night on flight mode and 3-4% if Wifi was on.
I was tracking these using BetterBatteryStats, however, while tracing the root cause, i even uninstalled BBS and used the system in-built bug report and analyzed it on battery historian to track the wakelocks and all.
Then came June update. I clean flashed through the unofficial fastboot, formatted data partition as well so as to leave no stone unturned. Again the same situation. A lot of battery drain.
Here are some reports -
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please see the attached graph.
1. At around 6.30 PM (UTC) (graph times are in UTC) (12 AM IST) I kept my phone on flight mode at 50% battery and slept for 8 hours.
2. I woke up around 3.30 AM UTC (in the graph) (i.e, 9 AM IST) and checked my battery percentage. It was down to 30% from 50%.
3. Checked the main cause of wakeups, not much in Userspace wakelocks but massive amounts of kernel wakelocks from IPCRTR_lpass_rx. For the duration of this graph, there were over a million (2.3 x 10^6) wakelocks from this service, causing wakelocks every 2-3 seconds.
4. Even though phone went into full doze after some time, this wakelock continued.
Any suggestions on how to go about solving this?
Running June update, Rooted + cam2api enabled using Magisk patched boot img

Its been a month since i moved to a custom ROM, currently on Havoc OS 2.7
The severety of the bug is lesser than stock ROM, however, still quite random and causes battery drain and keeps CPU awake!
Check the wake sources, IPCRTR_lpass_rx is the number one wakelock with 10^6 wakelocks!! Thats way too huge in my opinion, and keeps my CPU awake.

At least i can prevent the wakelock to a large extent by turning off location, wifi (or both) in Havoc. It also doesn't occur during flight mode, or if it does sometimes, a restart usually solves the problem for me.
Ideally, even if i keep wifi on, battery should not drain more than 4-5% overnight (which was the case in all of my previous phones, and in my friends' phones other than Mi A2).

This is december now. And so far, the only problem i have with this device is the poor battery, intensified with software problems, poor modem and LPASS!!!
Its kind of frustrating for me.
Please see the screenshots and the attached bugreport.

rahulmanpur said:
This is december now. And so far, the only problem i have with this device is the poor battery, intensified with software problems, poor modem and LPASS!!!
Its kind of frustrating for me.
Please see the screenshots and the attached bugreport.
Click to expand...
Click to collapse
Well, i'm very satisfied with battery on this device. It could be better, but it's only 3000mah.
This ss was taken yesterday.

rahulmanpur said:
At least i can prevent the wakelock to a large extent by turning off location, wifi (or both) in Havoc. It also doesn't occur during flight mode, or if it does sometimes, a restart usually solves the problem for me.
Ideally, even if i keep wifi on, battery should not drain more than 4-5% overnight (which was the case in all of my previous phones, and in my friends' phones other than Mi A2).
Click to expand...
Click to collapse
Could you find what this Lpass wakelock mean? It occured 3720k times in 5 hours for me.
Unreal!

Related

Battery Problem in Official 4.3

Hello folks,
Yesterday i finally became tired of the ridiculous battery life my phone was geting in official 4.3 rooted. I tried another kernels, uninstalling facebook, facebook messenger (those are said to drain battery) and finally i saw something that was the cause: ~30% of battery usage was by Android System, aka samgung included apps. I installed some ROM without those samsung bloats and seems like the battery is normal again (like it was with 4.1.2). I'm still testing and would be awsome if someone else can get a lot more battery life without those samsung apps and be happy again, like me.
By the way, i installed THIS ONE, but i'm almost sure any 4.3 stock rom without those excluded apps will be fine.
BEFORE: Overnight i had ~4% of battery drain with EVERYTHING turned off, wifi, gps, everything!
NOW: Last night i had ~3% of battery drain with wifi and data ON!
Weird isn't? I think our phone had a very bad OTA this time. Share your experiences! Hope you all get a better battery with this
world wide web says 4.3 OTA across all models has a negative battery defect.
did you root directly from android 4.3?
jakmes said:
did you root directly from android 4.3?
Click to expand...
Click to collapse
Yes, before and after the ROM i mentioned (EVR, link in OP)
Reporting:
Right now, my battery level is 40%. Phone is on 1day and 5hours, moderate use. Here is my usage:
WIFI always on yesterday since 3:00pm, switched it off about 12:30 am.
About 12:40 am i switched mobile data on. Mobile data was on til 9:00 am, then i switched all toogles off.
Turned on WIFI AND mobile data about 4:00 pm and until now its all switched on except GPS.
When battery reached something like 5% i will update the post.
Reporting 2:
Now my battery level is 5%, here is my usage since last report. Something i didnt said earlier is that im usimg agni kernel 3.3, cause boeffla caused me random reboots. Using zzmoove as governor and everything else with default values:
WIFI on til midnight, hear some music before this on phone speaker
Switched all off on sleep, at this time (12:40 am) battery level was about 26%
Today turned WIFI on about 9:00 am listening music and browsing
Bellow are screenshots of battery stats today
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hey all i am having the issue with official stock but its media server
I even formatted the ext sd but its back.
Any ideas?

Moto X battery draining on cell standby!

It was all good before but it suddenly started to drain out the battery. I saw the battery stats, its the cell standby that's using almost all the battery. I turned off the moto voice and moto display, no change. Maybe it has something to do with the location reporting as I heard somewhere. Even in airplane mode it still drains the heck outta it.
Some information:
Model: XT1058
Version: Lollipop 5.0.2 Stock
Status: Rooted
Developer options: untouched
Additional:
- Greenify installed
- No battery savers installed
- Drains even with USB charging and no activity with phone
See the Screenshots attached below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have turned off location reporting and kept in charging or a while. I will update the thread if it's solved.
And it still remains the same, although the battery is slightly increased.
sam4eva said:
And it still remains the same, although the battery is slightly increased.
View attachment 3357762
Click to expand...
Click to collapse
when you are not using 4g services than set network preference to 3g or 2g. disable mobile data when connected to wifi.
miju12 said:
when you are not using 4g services than set network preference to 3g or 2g. disable mobile data when connected to wifi.
Click to expand...
Click to collapse
I'm always on WiFi, I already set to 3g as I use it occasionally but its not just that, airplane mode is useless, it shows radio uses battery. Maybe reseting is the only option.
I think this was common in the 5.0.2 version, I had bad standy cell drain and i think a lot of people on the MFN soak test forums also complained about it.
sam4eva said:
I have turned off location reporting and kept in charging or a while. I will update the thread if it's solved.
Click to expand...
Click to collapse
The only way i've found to get rid of the mobile standby battery drain is to keep wifi off. Dropped from 71% (one day with wifi and 4g on) to 4% (entire day with only 4g on). Only wifi with mobile data off still gets the mobile standby issue, albeit with better total battery life. Android 5.1 update just sucks for battery compared to 4.4.4, used to get through an entire day with 30-40% left and now im at 1% at 10pm.
Moto x battery draining on cell standby!
Even I am also facing the same trouble in my Moto x 2013 version which was not there in kitkat. I guess it is a hardware issue as my friend is also having the same mobile but he is not facing this issue.
Is there a bug fix for this yet?
I don't have the issue anymore and I turned of cell internet when not needed, installed power nap, wakelock detector, greenify, servicely, GSM battery, recently, and DS battery saver. One of those or all of them help, I don't know, but I get 7 hours screen time and my phone can run for 3 days without use
---------- Post added at 12:18 PM ---------- Previous post was at 12:16 PM ----------
I also think there's a bug in how Android reports the battery use because the app GSM battery sometimes shows a completely different use if battery stats and the GSM makes more sense so I think it's right and not Android
See the difference. Android has my screen using 75%, but GSM battery has it at 55%. The other totals are close. I have seen it a lot worse than this though.
See I keep data off and I don't have problem. The bug is, the switch from WiFi to data using voice over IP, or vise versa. Google has to find a way for it to work, without the cell stanby issue
Is there no way to fix this with root?
Tucking makes the hone unusable

Device is awake more time, than it tells me in BBS (wakelock problem)

Hi,
I have problem with my Xperia Z3+ (E6553, firmware version 32.2.A.0.305 rooted). I use it everyday, and I don't use it a lot (about 1-2h SOT), but still my wakelocks are very high, and I can't target them. After a day of use, my battery is about 10-30 %, and this is below expectations. I have WIFI, NFC turned off for most of the time, the bluetooth module is active to connect with Smartwatch (Sony SW2), and transmission is always on.
I also use Amplify and Greenify.
According to BetterBatteryStats, in Kernel Wakelocks, I have 45 min of PowerManagerService.WakeLocks (which is sum of all partial wakelocks):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
, but in Partial Wakelocks its about 15 mins. Also I'm aware, that some of the partial wakelocks are triggered at the same time:
also I include screenshot of Alarms - there are lots of it, but it doesn't show duration:
, and process:
So, my question is: what is consuming the power, what's with "lost" wakelock time, and how to measure it?
I also send screenshot from WakeLock Detector:
and system battery usage:
Please help, because I have 3000 mAh battery in smartphone, I do nearly nothing on it, and my battery is depleted after less than day.
Tbh I don't really see a problem here. I might be wrong, but 5%/hr drain with bt and sync always on and light usage seems completely normal to me.
Only thing I can suggest is to disable amplify for a few days and see if you blocked something you weren't supposed to, but i'm skeptical that you'll find anything wrong. That bt is triggering alarm more than every minute...can you post cpu states bbs page?
Rudjgaard said:
Tbh I don't really see a problem here. I might be wrong, but 5%/hr drain with bt and sync always on and light usage seems completely normal to me.
Only thing I can suggest is to disable amplify for a few days and see if you blocked something you weren't supposed to, but i'm skeptical that you'll find anything wrong. That bt is triggering alarm more than every minute...can you post cpu states bbs page?
Click to expand...
Click to collapse
Well I disabled Amplify and we'll see what it changes.
BT is triggering alarm very often probably because of Smartwatch, but I can't target any specific app for SW2 that could do it.
Also I wonder, what's with other Kernel Wakeloks such as qpnp_fg_memaccess, netmgr_wl, or event1 to event6?
I'm sending today's screenshots from BBS including processor stats:
Are you new to this phone? Are you comparing it to what you had before?
In my experience 4.5% /hr drain with 90min screen on time doesn't really seem like it has anything wrong. After 12hrs (a full day) you have half battery left and that's not bad based on what i'm used to...
Phone was on for 2hrs with screen off but thats probably due to bt and smartwatch sync..I have trouble finding anything wrong here :/ maybe somebody else will have better insight
Rudjgaard said:
Are you new to this phone? Are you comparing it to what you had before?
In my experience 4.5% /hr drain with 90min screen on time doesn't really seem like it has anything wrong. After 12hrs (a full day) you have half battery left and that's not bad based on what i'm used to...
Phone was on for 2hrs with screen off but thats probably due to bt and smartwatch sync..I have trouble finding anything wrong here :/ maybe somebody else will have better insight
Click to expand...
Click to collapse
Well I tried to turn off smartwatch, and "awake on screen off" dropped down to 10%... (from about 20%). So I think it's smartwatch related. Also bluetooth alarm dropped off to 4/h instead of 1 per min. I don't believe, that smartwatch synchronization is consuming so much power (if so, there would be already several threads about it), and I suspect one of smartwatch apps. But how to check which app exectly is draining power? It doesn't show on BBS nor WakeLock Detector. Is there some other app that can track it?
I'm sending list of smartwatch apps installed - maybe one of them looks to you suspicious?:

Question High battery usage? Even when I'm sleeping?

The device is new, has only 2 weeks of use and I've updated it to MiUi 12.5.6 (RKLEUXM). My use is very moderate, some videos, social network just for conversations and only wi-fi connection. After the update, I noticed high battery usage even when I'm sleeping with all connections turned off. Obviously there is some battery thief, but it only appears in the graph as "smartphone services", this is not normal. Any idea?
I can even feel the phone a little warm around the cameras when I'm using it for basic stuff.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Try battery guru's app...
It's seem a 12.5 MIUI problem for all Xiaomi note 10 series
Something(s) are running in the background.
Try putting into Safe mode at night to rule out 3rd party apps.
Track down the culprits and deal with each on a case by case basis.
I have this device since August 27th, after setting it up, I started optimizing it, restricted background use for a lot of apps, well, everything that could be disabled or restricted, I only gave free pass to apps I consider important, but, the reults were really bad, 17% of overnight drain! Long story short, the optimization must be done very carefully, trying to stop all kind of things might prove negative, by trial and error, I now get a good battery life, now it barely consumes 1% in 8-9 hrs idling at night, aod off, wifi on, gps on, so, try to optimize your device carefully
winoles said:
I have this device since August 27th, after setting it up, I started optimizing it, restricted background use for a lot of apps, well, everything that could be disabled or restricted, I only gave free pass to apps I consider important, but, the reults were really bad, 17% of overnight drain! Long story short, the optimization must be done very carefully, trying to stop all kind of things might prove negative, by trial and error, I now get a good battery life, now it barely consumes 1% in 8-9 hrs idling at night, aod off, wifi on, gps on, so, try to optimize your device carefully
Click to expand...
Click to collapse
Hi,
Did you single out what was the culrpit. I have disabled every non essential app, tried this solution: https://forum.xda-developers.com/t/improving-battery-life-on-miui-12.4139913/
But nothing helps. It only shows that android system is drawing power.
I will be glad if you could point what you made to fix your phone
If there is any Firewall that can log with the newer "secure" OS's you can use that to help pinpoint the rogue apk(s).
With Pie I use Karma Firewall but it's logging feature doesn't starting with 10.
After doing everything I could think of, the AOD seems to be the culprit, even thoug I really like it, when disabling it, overnight battery consumption lowered to 1% in a 7 hrs period
winoles said:
After doing everything I could think of, the AOD seems to be the culprit, even thoug I really like it, when disabling it, overnight battery consumption lowered to 1% in a 7 hrs period
Click to expand...
Click to collapse
Thank you for the fast reply. I already had it disabled, but with no positive result.
Thank you, nonetheless.
winoles said:
After doing everything I could think of, the AOD seems to be the culprit, even thoug I really like it, when disabling it, overnight battery consumption lowered to 1% in a 7 hrs period
Click to expand...
Click to collapse
Is tap on an option?
No, to achieve this low bat comsuption, I disabled miui optimizations, then, the option for aod is on or off, no more settings, I really like the aod, but the drain while idling drives me nuts... I painfully miss my galaxy note 10+.....
Meh, I hear that. It's to the point I got a second new 10+ while they're still available. They are the last of the stock devices running on Q.
I won't touch 11 or 12. Funny thing is it doesn't run like an outdated dinosaur.
Been a real bad year for Android...
perhaps related?

Question Pixel 7 Battery Drain in Phone Idle

I've been noticing huge battery drain on my Pixel 7 after the March update. No particular apps are draining the battery, phone idle alone does it.
I thought after the June update, it will make the battery backup better but I think it made it even worse. Last night I charged my phone to 100% and slept by turning off WiFi and mobile data. I even kept my network type to 3G to avoid background activities from 4G. And waking up after 5-6 hrs of sleep, I found my battery to be 89%. Screenshot is attached below. This is very disappointing. I bought this phone on February. It has not been a year and this is the performance I get from a flagship?
Clearly, this is not normal. Phone Idle draining 78%(of the 11% actual battery drain) of my phone's battery is crazy. I used to get 2 days of battery backup before that March update. And now I can hardly survive 16hrs. Please help me with a fix.
Notes:
Country: Bangladesh
I use dual SIM. 1 physical and 1 e-SIM.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Factory reset, then be careful what you install.
You didn't use anything on the device though. The phone is idling more than doing any other task. So of course 78% of that small amount of battery drain is going to be due to the idle because idling is what is doing 78% of the time. I really don't see any issue here. I mean you only lost 11% battery over 4 hours and that first 15% drains quicker because lithium ion battery drain isn't linear. That first 10% always goes faster than the rest of the device. If it really bothers you, I would suggest changing the doze parameters to wear it disables the sensors on the device until it's unlocked.
Also, I just noticed that you have no mobile data on either SIM card. The phone is looking for a signal constantly and not getting it, that alone will drain battery, not to mention using dual sims has been known to affect battery life as well. Is the phone in airplane mode in that picture?
You aren't alone. I've been fighting the same issue with the battery drain since March. Up until the June update my excessive battery drain was showing as "Mobile network" but now it shows as "Phone idle". Strangely it drains the most when not in use. I've already done a factory reset and ended up with the exact same issue instantly.
It may be worth trying to disable the "adaptive connectivity" setting and see if that helps. I live in a weak 5g area and my phone was constantly switching between LTE and 5g causing signal drops and battery drain for me. I turned it off and it helped with both issues.
Settings, network & internet, scroll down to the bottom.
O.J. Simpson said:
It may be worth trying to disable the "adaptive connectivity" setting and see if that helps. I live in a weak 5g area and my phone was constantly switching between LTE and 5g causing signal drops and battery drain for me. I turned it off and it helped with both issues.
Settings, network & internet, scroll down to the bottom.
Click to expand...
Click to collapse
Tried almost everything except this one. I noticed this option was enabled on my phone. Turned it off today. Let's see how it goes. Thanks for suggestion!
Yeedatoy said:
Also, I just noticed that you have no mobile data on either SIM card. The phone is looking for a signal constantly and not getting it, that alone will drain battery, not to mention using dual sims has been known to affect battery life as well. Is the phone in airplane mode in that picture?
Click to expand...
Click to collapse
Not in airplane mode. I turned off Data then why would it constantly look for signal?
aadnan181 said:
Not in airplane mode. I turned off Data then why would it constantly look for signal?
Click to expand...
Click to collapse
I guess I should have asked first, I wasn't sure if you turned data off or not, I guess that's what led to the airplane mode. What about in developer options? Is mobile data always active still set to true?
Anyone with this issue my best suggestion would be use some kind of doze optimization mod. I know nap time is kind of outdated but some things still work correctly. I believe all of it does except for the GMS does magisk module. If you scroll all the way down to the bottom there's a setting that says wait for unlock. That keeps the phone in deep doze mode until you unlock the device, which also keeps the sensors turned off as well. Another option is diamond John's app Temefi. In the search box, type in doze, and you'll see a place where you can choose from several different Doze profiles. For this you need root, but if you're not rooted I would stick with nap time which just needs some ADB commands entered
i think it's a bug, i have no drain but look at the screenshot
"telefono inattivo" is phone idle, same percent but 1hr and more compared to yours, strange, indeed i've no drain
i always keep data, wifi and bluetooth on, since i work in a place where there's no 100% coverage of wifi, and bluetooth for smartwatch connection
have you tried safe mode?

Categories

Resources