Battery draining when idle - Xiaomi Mi 10 Questions & Answers

Hello everyone, after struggling with the installation of a custom ROM, I've managed to have a decent setup with ArrowOS, I have a problem that I don't know how to fix after trying many battery saver apps.
Basically, it drains 2% of the battery when idle (no data either WiFi or mobile, no GPS, battery saver option enabled); apparently the cause is the launcher: I use Nova, but I have tried the Arrow one and Microsoft and they are even worsening the situation (>3%/h).
With MIUI I've never experienced such a draining, I don't know what to do.
I have tried Greenify but had to remove it because it crashes when accessing the settings (don't ask me why because I've no clues); Naptime but, ironically, it was draining the battery on its own as well (3%/h); now I'm using BatteryGuru but I didn't find anything yet that has a real effect.
Any recommendation/suggestion?

A bit late but you'll never get a custom rom that is "better" than the stock rom. Miui has plenty of features to restrict apps under power saving.

shivadow said:
A bit late but you'll never get a custom rom that is "better" than the stock rom. Miui has plenty of features to restrict apps under power saving.
Click to expand...
Click to collapse
Actually, I am running PixelExperience with Greenify and it's better than the MIUI, the draining with Arrow was insane despite Greenify: I mean, during the night it was draining 14/20% of the battery with data turned off and battery saver enabled while with PE it was 3/4% as a standard and 1 or 2% with the battery saver enabled.
I didn't understand the reason though, I have sent the logs to the dev but never had any reply.

I noticed your omitting the fact that running a custom rom means running more code which consumes more power?
Stock roms are as efficient as is gets because that code used is minimal and proprietary to Qualcomm. Ie made under license. Custom roms are open source and contain lots of moot code to get around instruction sets that aren't publicly available.

PixelExperence IS a custom ROM... Unless you think that it is the official ROM of Xiaomi...
What am I omitting?

You misunderstood. Custom roms are slower because they use open code which contains more lines of programming. Stock roms use proprietary code specifically for that chip which is shorter and less cluttered.

Sorry, I don't get your point and why you are accusing me first of omitting information, which I didn't, and second to misunderstand what you wrote, which I didn't again: I have opened this thread to ask for help because I noticed an excessive battery drain even when idle, I wanted to know if someone had the same issue and how they have fixed it, in case. Apparently, I was the only one with this phone who had the problem, so I tried my ways to solve it and the "solution" has been avoiding ArrowOS.
I didn't open this post for lecturing about custom ROMs and the additional code that they execute.

To be messing around with custom roms you need to understand what they are and how they work. Especially the basic differences of stock vs custom and how they'll never be equal.
I don't mean to scald you, lecture you or whatever you want to call it, my point is that all this information around custom roms is well documented yet people expect miracles when it simply isn't possible. All custom roms allow is customisation over stock, nothing more. If you want battery then you sacrifice performance. If you want performance you sacrifice battery. It's how the universe works. That is all the roms allow.
Custom roms use a LOT more code than stock because proprietary drivers for the chips aren't in the public domain. That is what Xiaomi and other OEM's pay fees to Qualcomm for. As developers don't have that kind of money lying around they have to make do with github open source drivers. These are NOT perfect and are basically emulators.
That is why you have unexplained battery drain on custom roms. That is why you void your warranty when you install custom roms..

My impression is that I've asked how to find apples and you are explaining me why bananas are yellow...
I'm sorry, probably my first question wasn't clear enough: I've had excessive battery drain only on ArrowOS and I wanted to know if someone else had the same issue and how to fix it. As simple as that.
The thing you say about more code to run, customization, battery lasting time vs performance are true, but (and this will be my last reply on this thread because I feel stupid having to explain it over and over again) my current setup with Pixel Experience, a custom ROM I've tried, was OK already from the very beginning, it became even better with Greenify rooted, and, once again (I've already said that before), the battery lasts longer now than with MIUI.
I'm sorry if I seem upset, but it looks like I'm getting a lecture (that I don't need, mostly because I don't care) on custom ROMs and "their hidden secrets" when I have simply asked IF there was a solution of a specific problem I have had only with ArrowOS.
Closing note: I've tried Paranoid Android and the battery lasting time was great too, the same as MIUI.
My "simple and silly" deduction, considering that I've had this problem on ArrowOS but not with Paranoid Android nor Pixel Experience, simplifying dramatically, is still that it's an "ArrowOS thing" or my setup for it. I hope this clarify the situation.

Related

[Q] latest ROM for TB....

sorry, I don't have enough posts to reply to the already started thread over in the dev forum
http://forum.xda-developers.com/showthread.php?t=995819
basically I wanted to know, is there any way to flash to this latest "PG05IMG_Mecha" ROM from that Chinese site but NOT completely wipe the phone & lose all settings, apps etc. I spent the better part of the entire weekend setting up and tweaking all my settings just right. would hate to start from scratch but I do want the battery life enhancements of the latest FW.
cheers guys
No, currently there is no way just to flash that stock rom over top. What battery life improvements are in the newer rom?
Well I don't know the specifics but I believe they optimized the power saving algos a bit, I know HTC has been tweaking them to try to squeeze a little more life out of that tiny battery.
Does it also have a custom kernel? I know the largest battery savings I've seen from my experience w/ custom roms came from a custom kernel that was geared to save battery life.
I can't find any information on the thread you linked about it having any battery saving benefits.
javawolfpack said:
Does it also have a custom kernel? I know the largest battery savings I've seen from my experience w/ custom roms came from a custom kernel that was geared to save battery life.
I can't find any information on the thread you linked about it having any battery saving benefits.
Click to expand...
Click to collapse
No, the custom kernels to the extent of the Dinc are not available yet.
javawolfpack said:
I can't find any information on the thread you linked about it having any battery saving benefits.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=12220034&postcount=31&highlight=significant+increase
Russ36363 said:
No, the custom kernels to the extent of the Dinc are not available yet.
Click to expand...
Click to collapse
Yeah I know they've barely gotten roms w/ no bloatware out so far, which is a miracle in the turn around time from the device hitting the market. But sure they'll be there soon. So just interested in how this ROM manages to accomplish a battery savings.
Upon looking at the message in the thread about battery savings. If you remove bloatware and apps that constantly decide they need to be running you'll see a noticeable increase in battery life with that. You could also constantly fight to kill them and likely also see an increase in battery life. But the increase won't be as significant as when the custom kernels come about.
So if you aren't readily familiar with the manual process for flashing roms or say get a rom from a more reliable source (developer)... you might want to wait for roms to start showing up on ROM manager that'll automate the process for you and hopefully by then the custom kernels and other such options will be available. But I don't really trust a link for a image for my phone that sends me to a foreign website. You might want to check out adrynalyne's basic debloated ROM??
http://forum.xda-developers.com/showthread.php?t=1000103

Rooting Options for X10 Mini Pro?

Any guides detailing differences in ROMs and Rooting options?
I'd like to know if upgrading to certain ROMs will end up in loss of phone
functionality, such as the camera.
Looking for best battery saving options too.
Mike
panamamike said:
Any guides detailing differences in ROMs and Rooting options?
I'd like to know if upgrading to certain ROMs will end up in loss of phone
functionality, such as the camera.
Looking for best battery saving options too.
Mike
Click to expand...
Click to collapse
Basically the difference among ROMS are its additional functionalities.
-Lesser battery consumption
-Better performance whether it will be for gaming or for surfing the net, or simply for better phone usage.
-Multitiouch features ( On development )
-Uniqueness
Others correct me if I'm wrong. Ofcourse the basics of a phone is still every developers' priority.
As for rooting - I did use SuperOnClick. Basically this is the first step in order for you to customize your phone.
Yes. some roms still have bugs that needs to be fixed. Although in my experience I use custom roms made by owain94 and slade87 and everything works perfectly on my phone.
It made a huge difference with regards to battery drainage. With my phone on standby (6hrs when I'm asleep) it only drained 15 - 25% bat. I'll try to give you a an update regards to battery drainage when I charge my phone. (my bat is still at 75%). IDK if this experience is like everyone else's but imo that's whats happening to mine though.
Do some research. Try reading these:
http://forum.xda-developers.com/showthread.php?t=1040149
You should do fine when you carefully analyze and read instructions first before applying necessary changes to your phone.
Don't forget to thank those XDA developers who made customizing our phone possible.

[Q] % of total battery usage - display is way to high

Hi guys sorry for this thread new here so please go easy on me. Had a galaxy s2 for a few weeks now and i have to say best phone ever. Did the normal rooting and flashing roms and i have noticed recently that my battery has been going down quite a lot after a few hours. I tried roms like Villainrom, Cognition, Batista and etc which i find them very good but on my battery stats it says that i have high display usage and the percentage is like 56 - 85 and sometimes goes and stays to 91. i have since then when back to 2.3.3 stock firmware rooted it as well and i only have display percentage of only 25% which i think is normal and my battery lasts longer. I have spoken to Samsung regarding this situation and they are sending me a new battery but im just wondering why i cant flash a custom rom without having to worry about the high display % and what can i do to fix it? do i have to give it a few days for the battery to settle on the rom or shall i just stay with the stock rom for now till i get my new battery and then try to flash? sorry for the long essay i just need to find out if any one else had the same problem as i really like to use a custom rom that my normal one.
THanks
I too find it very hard on the battery with all the custom roms that I have tried out. I tried, Villain, Cogniton, LeoMar, Batista, etc..etc..etc. I have in fact tried out all the ROMs out here. Tried even different combinations of Kernel, but all only lead to the frustration when it comes to battery life. I finally tried MIUI ROM and I can say that it is giving me very good battery life compared to other ROMs.
It is interesting to note from you that the STOCK ROM has given you better battery life. Could you please tell me how long did your battery last in Stock ROM and what are the Apps that were running in it?
Install Better Battery Stats, I don't think anything wrong with the battery.
See under Wakelocks what apps/processes are going in background and causing the drain. Then take necessary steps with TB Pro.
Sent from GT-I9100
to xdadeveloporian: thanks for your reply bk and sorry to hear that you had the same issues. like i said above i am very new to all this so apologies if i am replying with noobish comments. with wifi on and the normal widgets i had a battery life over a day. only charged it once and it still going. is that rom that you using now good?
and to ithappy sorry what do you mean by your reply i do not understand sorry. and do you guys think with a new battery it will fix my problems and i will be able to flash roms or do i have a faulty phone?
% is not important, what really matters is total time on for the display. Are you sure it isn't that the stock ROM burns more power in other areas, so the display is less? Or maybe the brightness is different? I'm not even sure how the display proportion of battery drain is apportioned - is there really a current sense integrator?
now that i have the stock rom with firmware 2.3.3 display is 30% followed by android os 15 - 19% which i think is normal into regards were i was on customs roms and the os was 15% and display 50% and over. brightness is basically at the lowest i can put it i am using touchwiz launcher and i only have two pages with widgets and nothing else. just a bit confusing thats all. i mean with custom roms the battery should be alot better not the other way round if you get me.
apologies if im not making any sense here. thanks again for all your replies it does help
tjoannou2001 said:
i mean with custom roms the battery should be alot better not the other way round if you get me.
apologies if im not making any sense here. thanks again for all your replies it does help
Click to expand...
Click to collapse
I don't believe that stuff, why battery life would be better in a Custom ROM, because they added/modified some stuffs, nah. You can make a Stock ROM custom with some little modifications if you are rooted and have great apps like Root Explorer, Titanium Backup etc. I, for me, will never ever use a Custom ROM. But that's just me, don't take it any personally.
And about battery, don't see that how long are you getting with it, like- 1 day, 2 days, they don't make any sense, just keep an eye on the 'Screen On' time, if that is around or above 5 hours then you are very fine. And also keep checking that your Awake and Screen On bar is synchronized or not, if it is not then you must have something going on background, like- Latitude, Email exchange etc. which you can see under Better Battery Stats. And also, when not needed turn off, 3G, Packet Data, WiFi, Auto Sync, Background Sync and check how many apps are on Auto Sync, if not needed then modify it to Manual Sync.
Regards.
ithehappy said:
I don't believe that stuff, why battery life would be better in a Custom ROM, because they added/modified some stuffs, nah.
Click to expand...
Click to collapse
Maybe they fixed some bugs - specifically a custom kernel might have improvements or bug fixes (since there is lots of work going on here from many companies making contributions). This takes time to filter through to the official ROMs.
Maybe they removed some of the stock apps which contribute (maybe only slightly) to power drain.
Maybe the small differences in the ROM mean that existing bugs are less likely to have an impact, so even not fixing the bug it seems to have gone away.
Custom ROMs are as likely to make things worse - but if many people are affected then it is likely that someone will track down the reason.
Look all i know is that as soon as i started flashing custom roms on my phone my battery life has been going down like hell. Checking battery stats the most thing that is taking up battery life is the display being as high as 80 even 90 percent. I am not a expert on android having had an iphone all my life so when people say underclocking and other stuff its like new things to me so i do apologise for being such a noob. i do love my galaxy and i think its the best phone out there at the moment. all i need to know is if there is something that i can do to bring the display down and not to have it drain so much out of the battery..
Thanks again for everyone for replying
very niceeeeeeeeeeeeeeeeee
huh? has anyone else experience high display usage on their phones when checking battery stats?
is that from the android market i can get that app?
tjoannou2001 said:
is that from the android market i can get that app?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1179809

[Q] How's kitkat?

How is everyone liking the KitKat Roms?
I'm thinking of upgrading because I'm getting pretty bad battery life with AJK 4.9 and Supernexus 2.0 (Android 4.1.2). I just got a new battery for my phone and that's when I realized that it wasn't my battery that was the problem.
BUT
My phone's charging port broke recently. Like, the innards of the port make a snap sound and fell out. So I have no USB functions on my phone any more so if my phone bricks mid update, I'm SOL. Also I am swapping batteries out half way through the day because my phone consumes power too fast.
So, any recommendations on KitKat kernels? Roms? I looked at RenderBroken's but I'm not sure if he's in the process of putting a new one up or what. The only downloads on his sight for the i777 kernels were in the "Old Builds" folder.
Also, doesn't holding the power button and both volume buttons boot into recovery? Because it's only going into Odin.
Preferences on ROM's?
Thanks in advance!
I'm sorry, I have a difficult time believing AJK kernel is the reason behind your battery woes. That kernel is very likely the most stable, tweakable, battery-friendly kernel ever made for our device, so if you are getting bad results with that... well, nothing else is going to improve matters.
A few things: stay in your current setup and run Better Battery Stats and Wakelock Detector. Between those two free apps you'll be able to see EXACTLY what's causing your problems.
KK roms take a bit more toll on the battery, and require a lot of tweaking to get things under control, due to the framework changes Google made. If you're worried about battery life you may be better off staying on JB until you discover the real cause of your battery problems.
SteveMurphy said:
I'm sorry, I have a difficult time believing AJK kernel is the reason behind your battery woes. That kernel is very likely the most stable, tweakable, battery-friendly kernel ever made for our device, so if you are getting bad results with that... well, nothing else is going to improve matters.
A few things: stay in your current setup and run Better Battery Stats and Wakelock Detector. Between those two free apps you'll be able to see EXACTLY what's causing your problems.
KK roms take a bit more toll on the battery, and require a lot of tweaking to get things under control, due to the framework changes Google made. If you're worried about battery life you may be better off staying on JB until you discover the real cause of your battery problems.
Click to expand...
Click to collapse
I'm not worried about battery life so much as I just want to get through most of my day without having to swap batteries (which are brand new mind you). I updated to SuperNexus 3.0 so we'll see if there's any improvement of battery life.
What do you think about KitKat so far though?
vex390 said:
I'm not worried about battery life so much as I just want to get through most of my day without having to swap batteries (which are brand new mind you). I updated to SuperNexus 3.0 so we'll see if there's any improvement of battery life.
What do you think about KitKat so far though?
Click to expand...
Click to collapse
I would advise you to stay off of Supernexus roms; they've long been abandoned and 3.0 especially was buggy. Try Renders' CM builds if you're wanting supported stable builds, or look in the ported section. Overall KK has performed great for me.
SteveMurphy said:
I would advise you to stay off of Supernexus roms; they've long been abandoned and 3.0 especially was buggy. Try Renders' CM builds if you're wanting supported stable builds, or look in the ported section. Overall KK has performed great for me.
Click to expand...
Click to collapse
Ahhh but that means I have to switch kernels because I'm using AOSP. What about Render's 4.4 kernel? I looked at his thread but the link to the download only shows old versions. Are there any other 4.4 kernels working?
No, his kernels are great, you have nothing to worry about. Just make sure you thoroughly read what's required to make the jump to KK before you attempt it.

[Q] omni vs cm 11 vs slimkat

at first: this is not a "whats the best rom" thread.
i have 2 very focused questions:
What are the idle times with those different roms?
Are there some Main feature differences?
Aktually im running cm11 m5 snapshot with smartassv2 Governor. its smooth but the battery life is kinda poor.
Im looking for a rom with long battery life. And i dont care about google now, talking to my phone(ok google) nor i need the special features from the standart samsung rom.
Would be realy helpfull if u can review to my questions. Greetings!
pls apologize my bad english.
1 each phone is different depending on what's installed and running.
2 read there threads or flash each ROM and find out that way. You forgot about aokp?
andrewwright said:
1 each phone is different depending on what's installed and running.
2 read there threads or flash each ROM and find out that way. You forgot about aokp?
Click to expand...
Click to collapse
2. thx for informing abaout aokp!
1. im asking for someone who did a test with the same phone and all roms. i dont ask for different situations, i sked fpr idle time and features!
Probably there is somebody out there who testet it and can present his results
twinko said:
2. thx for informing abaout aokp!
1. im asking for someone who did a test with the same phone and all roms. i dont ask for different situations, i sked fpr idle time and features!
Probably there is somebody out there who testet it and can present his results
Click to expand...
Click to collapse
There are no definitive results, I have used both and I keep coming back to Omni due to the fact that on SlimKat music stutters like crazy when the screen is locked. Also, Omni updates are small enough to update often without having to download a complete update, to many users this a huge deal due to data limitations in certain countries. As for usage, idle time etc, like stated before, that depends entirely on what is installed on your device. Install a bunch of apps that need to constantly receive data updates and you will have battery drain and very little deep sleep. Where features are concerned, you kinda learn to live with limitations due to missing features on a specific rom. If you really want, you can most likely find an app that will bring a missing feature to a rom. I see a lot of people throwing their toys out the cot because one of the other does not have a specific feature implimented, yet the developers have done so with good reason, usually either performance or battery life.
With all said, there are many roms out there, Omni and SlimKat aren't the only players. It's difficult to compare roms nowadays because you are never quite sure if your kernel tweaking or custom kernel with it's hundreds of tweaks is the reason for a device not going into deep sleep either.
Give them all a try and decide for yourself, nandroid backups and apps like Titanium Backup makes it so easy.
cornelha said:
There are no definitive results, I have used both and I keep coming back to Omni due to the fact that on SlimKat music stutters like crazy when the screen is locked. Also, Omni updates are small enough to update often without having to download a complete update, to many users this a huge deal due to data limitations in certain countries. As for usage, idle time etc, like stated before, that depends entirely on what is installed on your device. Install a bunch of apps that need to constantly receive data updates and you will have battery drain and very little deep sleep. Where features are concerned, you kinda learn to live with limitations due to missing features on a specific rom. If you really want, you can most likely find an app that will bring a missing feature to a rom. I see a lot of people throwing their toys out the cot because one of the other does not have a specific feature implimented, yet the developers have done so with good reason, usually either performance or battery life.
With all said, there are many roms out there, Omni and SlimKat aren't the only players. It's difficult to compare roms nowadays because you are never quite sure if your kernel tweaking or custom kernel with it's hundreds of tweaks is the reason for a device not going into deep sleep either.
Give them all a try and decide for yourself, nandroid backups and apps like Titanium Backup makes it so easy.
Click to expand...
Click to collapse
Thx for your long, interessting and helping text!
im missing only 1 thing. if someone flashes all roms, doesnt install any apps. Only new rom and full wipe before, restart and tracks the time the phone has battery. Dont u think this is a possibility to compare the roms battery usage? i think there is no one who does this, but i probably will try this and put down a little table here. so people like me are able to see the rom with the best battery efficiency. so if they decide this rom has not enough performance, they can switch to "battery efficiency Number 2" and so on.
greetings
twinko said:
Thx for your long, interessting and helping text!
im missing only 1 thing. if someone flashes all roms, doesnt install any apps. Only new rom and full wipe before, restart and tracks the time the phone has battery. Dont u think this is a possibility to compare the roms battery usage? i think there is no one who does this, but i probably will try this and put down a little table here. so people like me are able to see the rom with the best battery efficiency. so if they decide this rom has not enough performance, they can switch to "battery efficiency Number 2" and so on.
greetings
Click to expand...
Click to collapse
Sure you can do what you stated but bear in mind how will you compare the battery life across roms..
There should be some standardized test... Like looping video playback or some other method which does not change based on you usage habits..
Sent from my GT-I9300 using Tapatalk
Pa is another you're missing from you're list of developed roms. What you could do is test video playback, calls incoming/outgoing,one game of choice "high end battery draining game" and compere them all. As for the kernel tuning.. Read about what really happens and you will fine not a lot does happen with UV/uc .
twinko said:
Thx for your long, interessting and helping text!
im missing only 1 thing. if someone flashes all roms, doesnt install any apps. Only new rom and full wipe before, restart and tracks the time the phone has battery. Dont u think this is a possibility to compare the roms battery usage? i think there is no one who does this, but i probably will try this and put down a little table here. so people like me are able to see the rom with the best battery efficiency. so if they decide this rom has not enough performance, they can switch to "battery efficiency Number 2" and so on.
greetings
Click to expand...
Click to collapse
You can compare but you have to use that phone for more days not like just one and you have to full charge and then discharge 2 or 3 times till the phone make the correct battery stats. So i think you can test but better with daily use or get an app that drains battey faster well i think this may work

Categories

Resources