yashsingh1/xdaforums huggingface dataset:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kingnappa:
Hi, I have a problem with my Mi9t.

I've noticed that my phone is always active, even at night when I'm not using it. The only app that I've blocked from stopping is blokada, because I've noticed that If i kill it in the Miui task manager it kills it completely and I have to restart it every time. I can't find in the battery settings a particular app that consume so much battery. I've also GPS disabled and my Bluetooth is always active for my miband (but Bluetooth voice in battery usage is not that big...) hi

Any idea?

View attachment 4799703

View attachment 4799704

View attachment 4799709
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mousstachuuu:
Hi, your battery reporting doesn't mean anything, you have to post it when your battery is almost empty to see usage
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kingnappa:
I will, nonetheless I have this situation even when I'm at the end of my battery life. the "active" voice in the diagram is always active, even when I'm not using my phone
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] JonasVFC:
I'm debugging this problem too. it appears to happen only when connected to wifi. i've disabled VoLTE and so far i tried LTE/UMTS (prl); LTE/TD-SCDMA/UMTS and LTE/WCDMA. they appear to be all the same.

the fact the it only happens on WiFi means that there's something wrong with the GSM mode (because radio switches to 2G when connected to wifi). I'll try next "Mobile data always active" in developer options, that will keep WiFi and 4G on all the time. we'll see how it goes.

also it could be only a report bug on the battery stats. i keep getting ~9h SOT with this so.......
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kingnappa:
9 hour of screen? Do you have a nuclear battery? :D

Usually I use more 4g than WiFi, WiFi works better only at home. Btw I charged the phone this morning, 100% full, now I'm at 62 after 12 hours, but only with a 1 hour and half of screen time....

I have a push mail for work and some WhatsApp message, but nothing else....
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mousstachuuu:
I had test it and yes it's exactly the same with LTE/TD-SCDMA/UMTS and LTE/WCDMA. I get 10h SOT too but I don't use any push notif, this drain your battery fast. When my screen is off, everything is off exept 2G/3G.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kingnappa:
I don't think is a push notifications problem, in my battery status it consume something like 2/3 % of battery with a background activity of 7 minutes...
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kingnappa:
I've finally the culprit of my battery drain... it was the mifit app (I have a MiBand4) that was always active because I blocked it from being closed when I kill all the apps...

Now I'm almost getting 2 days of usage (with 5/6 SOT), which is nice!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] JonasVFC:
"Mobile data always active" setting appears to be broken, it doesn't really keep data on.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
Is there any other way to sync Mi Band 4 to your phone without mi fit app ?

Since I'm using the mi band 4 for inc notifications and calls, all the other fitness stuff i do not care at all...

any ideas ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kingnappa:
Never mind, now it is back to one day of usage.... Honestly I don't know what could be the problem and it seems I'm not the only one.

There is another thread similar to this, already tried their solution (changing the lte-umts-wcdma signal) but it didn't change anything...

I'm really stuck...

---------- Post added at 05:16 PM ---------- Previous post was at 05:14 PM ----------

As far as I know mifit app is the only app that can connect to miband
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
Well, since the Mi fit app isn't the source of your problem after all, there is no need to get rid of it then.

But just in case the notify & fitness app is a good replacement which works just as or even better then the mi fit app
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
Anyone noticed that, having WIFI on consumes much more battery than just mobile data? Today i noticed almost double the drain when having wifi on lol maybe its something else, just wanna ask.

Edit: here by battety drain i meant screen-on drain and screen-off drain recorded by EX kernel manager, NOT "cell standby".
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
Please see my above finding. I think its is not just a battety state display error...when wifi is on, the total battery drain is noticeably increased...
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Guido83:
I too get around 6h of SOT. Using the debloated miglobe ROM already but AndoidOS and Kernel are always on top of the battery usage list.

I measured the the charging from 0 to 100% today with a strange result....
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] zioloiso:
you have a custom Kernel for Mi 9T?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Guido83:
No I don't have custom kernel
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
Unbelievable how the SOT differs from user to user. Some of the users are getting 9+ and some (like me) not more then 5-6 with moderate use and just a few apps in use.

And mostly are standard apps which more or less everyone uses (Instagram,Facebook, Whatsapp etc..) - talking about default global ROM.

Today/tomorrow gonna try EU stable and see how things are, as when looking at the MIUI battery monitor the android system is always on top around 25-30% usage.

Just this morning before work (6 in the morning picked up the phone from 100% - and now 5h later with no use at all down to 90% - lol)....
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
I have SNS apps and mi band app (bluetooth) connected and are grtting around 10 SOT, and i dont use background killing app, since miui has all that built it. I feel like if you get the settings right, miui limits those apps jist fine, and thats probably why ghe 10 sot.

3 places you need to adjust:

1, setting - battery - Choose apps (app battety saver). just set apps (that you dont need notifications from) to "limit background activities", and leave the rest to "miui battety saver"

2, settings - permissions - auto start settings, disable for those apps as well.

3, settings - permissions - other permissions - start in background. Deny this for all those apps.

Aftet dooing this you should be getting better usage at least better than 5 SOT.

Although, as i mentioned in my previous post...yesterday morning, i had wifi on and i was watching some youtube, but battery went so fast at almost down 20% every 1 hour (which probably give 5 sot)...which was weird...

Also, disabling system the wrong system apps do not help with battery, evidently. The ones that are safe to debloat are the ones yhat are listed by Saki EU adb tool. Other than those, i disabled them and sometime i have high drain. I can say i am 80% sure about this because i only look at battety consumption once over a few hours through EX kernel manager, and i dont closely examine minute-by-minute

I have been on Stable EU the whole time.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
didnt capture a whole day's battery stats but here is what i have so far today.

Normally my screen-on is ~9% /hour and screen-off is ~1% / hour
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
This is about 12.5 hours on battery. It is not bad generally speaking, but i think it can definitely be better.

The reason is that i also have a oneplus 7 pro, which also has 4000mah battery but a 2k screen at 90 hz, and a snapdragon 855. With stock system and kernel, that phone basecially gives me the same battety life (same usage habits and what not).

If only looking at the screen, it has 2 times the OLED dots yo light up and refresh rate is 1.5 times more. And for my daily usage (news browsing, social media, emails) the snapdragom 855 would consumes more battery than our 730 per unit time. But 1+7pro still gives the same battery life(screen-on and screen-off battery drain per hour)...

I dont know if this is caused by cell standy issue/bug...but there is definitely room for improvements....

(its still 71% after 12.5 hours because i plugged in during the day, but that time is not counted in the calculation)
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
What rom you using?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
Lol i literally said "its not bad generally speak, but it can be better" and then explained why lol :o
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
EU stable 10.3.14.

I think the key point is to set those battery saving settings i mentioned a few posts ago
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
Aye, thanks. Will give it a go with the settings you mentioned as just yesterday i moved to xiaomi.eu ROM from Global. I'm wondering if there are going to be any major changes whatsoever.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
Small changes like for examplr extended reboot menu and such. Dont know how much they changed under the hood.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] mik9:
I am on EU ROM 9.8.15, my current drain is 1.5% off-screen and 6.5% on-screen. I am on LTE and mostly on 5g wifi, GPS on high accuracy all the time, almost no bluetooth, using AoD and mostly no sounds and no vibrations. 17 apps set to no battery saving, using dark mode. Following is consumption of major drainers:

Android System 30%

Kernel 30%

surfaceflinge 7%

Cell Standby 5%

Screen 5%

cnss_diag 4%

I suppose the differences in SOT that many users here discussed are mainly due to following factors:

- display brightness

- use of dark mode

- use of audio/video

- CPU intensive activities, like gaming, watching videos, etc.

Differences in stand-by time can be due to:

- number of battery not-optimized (i.e. persistent) apps and how intensively they use CPU and data in sleep mode

- use of AoD (and AoD theme used, esp. how bright are the chosen colors and if you use active theme with the Sun over the Earth); also, if you move the phone a lot or do not have it in the dark, AoD will never turn off (which might be your aim but it just consumes power)

- signal quality of GSM and wifi

- notifications set to wake screen and generally many notifications coming and thus not letting the phone to go into deep sleep

I hope this might help to troubleshoot the issue.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
i investigated a bit for when wifi is on.

I thought when wifi is on, mobile data should switch to 2g or 3g to juat keep the voice connection. But when i open the mobile network testing/engineering app (by dialing *#*#4636#*#*) it says:

"

voice connecrion: LTE

data connection: LTE

"

This is when wifi is on and network type is set to "LTE/WCDMA"

However, at the same time it also says:

" data connection: inactive"

I dont know if this is the same for everyone? Or if this is the case for other xiaomi models or other band cellphones.

Maybe mobile radio being kept as LTE is the cause of cell standby drain? Because, if the phone behaves like this, then the 4g network is still somewhat active besides spending extra battrry connected to wifi radio.

Just a guess.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
attaching screen shot for exact wording in the mobile info page lol
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
again, please read my previous post.

or, you can look at battery life related threads in the onplus 7 pro forum.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] HockeyLan:
I don't think that behavior you're suggesting is common because 2G is shutdown by many carriers and 3G will soon join it if it hasn't already so the idea of switching off LTE when wifi is on isn't a feasible one.

Both my s10e and Mi 9T behave the same way if that's any help. They don't switch off LTE when wifi is on but I don't have 2G whatsoever for them to switch to anyway. I really don't think LTE being on and not transferring data is going to use much energy though to be worth considering here.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
kk i guess having 2g or 3g was really just many years ago in the past lol

Lets keep looking for other possiblr causes then :crying:
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
Ok, I've had pretty much enough of my battery drain within the last few weeks, it is driving me slowly nuts. What the cause is i still cant figure out - now on Xiaomi.eu Stable 10.3.14.

Down i'll attach a picture with a lot of infos using google Historian, so if some folk who understand the matter can take a look and come with at least some kind of conclusion on whats going on...if the whole behaviour is alright or not.

I'll provide an additional bug report zip file in order for those who want to take a closer look and analyse it since all of that is nonsense for me :)

Any help, advice whatsoever would be appreciated.

Link for ZIP for a more detailed look when using this site - HISTORIAN

https://drive.google.com/file/d/0B4opY4IMPtgwQlhxVDhmU2paZDcyNnpqZGdEckRETm80ZGVV/view?usp=sharing
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
drain-over-time wise, it looks about the same as mine, IF wifi is enabled.

I am testing and comparing between wifi on/off lately and really thinks that enabling wifi makes a difference.

I am not sure if (1) it is wifi that is draining the battety or (2) enabling wifi causes mobile radio to somehow consumes more battery (since cell standy shows a big consumption there).

However, enabling wifi (and stayijg connected to a wifi) almost DOUBLES my average screen-off drain, from about 0.9%/h to about 1.8%/h. And also increases screen-on average drain by like 1%/h, which makes sense since wifi is active while both screen on and off.

Dont know if Xiaomi messded up wifi or cell driver somehow? If so, prople using CAF drivers (and AOSP roms) from Qualcomm should probably tell the difference.

Note that, i constantly get good cell signal level so that rules out the extra radio consumption when the phone tries to search cell signal.

UPDATE: with wifi disabled and just using 4g all day, the "Cell Stanby" drain appears much less than screen in MIUI's battery usage....... so i guess that item is indeed related to wifi, just dont know how exactly.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
I'm digging for days, but no real conclusion for now. The only thing i know for sure is that once i use air plane mode (which I do use overnight almost every night) - the drain is maybe 2% in the course of 8 hours.

- I did try your steps you mentioned a few posts before, but without any luck tbh.

- I changed the LTE/WCDMA type as well, but no changes whatsoever.

If i remember correctly, when i first got the phone, the battery was amazing for the first 3-5 days, spectacular indeed, but then I installed more and more apps (but still within reason) and then the battery started to be the "same" as my Galaxy S8 with a 3,000miliamp one...

And that is the same for me, have good radio signal in 90% of the time...so that is out of the equation.

I'm wondering what the heck is going on.

Any insight with the attached picture from before? Anything unusual?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Pejpi:
Take a look here, italian dude is on the right path:

https://xdaforums.com/mi-8/review/standby-drain-t3797947/page3

EDIT1:

Did a quick test.

- 7:00 in the phone at 100% (Wifi and LTE network turn of - and everything else as well)

- 7:54 phone at 99%

- 8:30 phone at 98%

- 9:07 phone at 97%

So even when both WIFI and Mobile internet are off it still goes down by 1% every ~30 min

There goes the Wifi option. Now I'm gonna turn on WiFi and see how it goes from there....but still, the first results are weak.

You mentioned that you disable dual 4G and 2nd SiM, how ?

EDIT 2:

here I am 14hrs later and battery is on 36% with little to no use.

EDIT3:

When i turn off WiFi and mobile net, the notification bar right next to the signal strength still shows LTE even when everything is off, did you have the same thing? Is it supposed to be like that ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Tsunaimy:
I guess so

the problem may be with wifi (on and connected) as it doesn`t consume that much on 4G at all till now can`t find the exact reason or any solution
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] flamedrops:
Try this method hope will help you. https://xdaforums.com/mi-9t/themes/deep-sleep-t3963893
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
This will effectively make the ROM fail SafetyNet...dont know if its worth to do.

And i think my phonr deepsleeps fine. Its ～65% deep sleep while screen off.

But i would love to know what kinds of improvements you were able to observe after you did this.

Thanks!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] flamedrops:
i used it and i observed it lastnight my phone is about 59% when i go to sleep and about 4% consumes overnight begin at 9:30 pm till 6am. :)
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] kezzuki:
And thats on miui rom?

i have about the same drain on EU stable
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] flamedrops:
Yes it is universal patch.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] neil.niladri:
Battery Drain Issue

I'm using redmi k20 Indian unit from last 15 days. its running on miui 10.3.8.0 with august security patch.

these numbers looks impressive and tbh the standby is very good. it drains about 2-3% overnight in standby but but my problem is when i use it for like 15-20 mins for watching videos on YT or Netflix or even some offline videos it drains the battery drastically. and i only play this one game MLBB. if i play this game for like 15-20 mins max it takes up to 4% of the battery. i switched off the auto brightness,set the contrast to constant mode, ambient display is off. i don't use wifi or mobile internet on idle mode. i optimized the battery use for each of the single apps, location service is disabled, auto bluetooth and wifi scanning is off, set the network to LTE/UMTS(*#*#3646#*#*), google play services cache is cleared. i tried every possible option to improve the battery life and even hard reset the phone. from being a heavy user i turned to a casual user now for this issue. on antutu it showed current estimated battery capacity is 3580 mah where the design capacity is 4000 mah. im really confused now. is my battery damaged? is it normal with this device? is this kind of battery drain is normal? if i flash another ROM will it solve this issue? should i wait for upcoming updates at least till miui 11 or android 10? someone please reply to these queries and tell me if this problem is resolvable.

for some reason i cant post the Screen shots idk why.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] marcusjj:
For me, i had the same issue. For me the solution was turning off NFC. Now it works like a charm!
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] allhill:
today my mi9t battery drain so fast, especially when i'm sleeping, for the first time, mine reach 3% battery ?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] adakaya1994:
I had the same issue on my Mi 8 SE, never solved.. And now i am using Mi 9T here i've the same problem same outcome. No other phone had the similiar problem. I think this is a hardware problem bc not every Mi 9T/K20 has the same cell drain. Really hard to live with tho.. And shortens the health of the battery too.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Edmiri:
Its pretty bad.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] tomgv:
Miui 11, 11.0.3 global

Voice calls 2h17m, screen 5:23h

Why cell standby consumed so much battery?
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] giodeluigi:
Weekly 9.12.12, Mi 9T battery drain is back..
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] SUMMERBREEZE:
I am on xiaomi eu weekly 9.11.28 and everything seems very normal. I debloated and freezed almost everyting. I am getting minimum 10 hours SOT
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Mizart:
I just got my K20 recently about 15 days back. For the first 10-11 days the battery was running perfectly. I was hitting SoT of up to 12 Hours and there was absolutely no Cell Standby drain even on 4G. But from the past 3 days, i have no idea what in the world happened but I'm getting a hell lot of drain from Cell Standby, to the extent that it stays on the top of the list.

Wierd thing is, I'm still on the same version of MIUI as i was previously, nothing in the phone has changed at all. Its driving me nuts.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] Kiranjungshah:
For me it was wifi assistant.

After miui update battery usage in standby increased a lot so i started digging and found out that in wifi setting inside wifi assistant there is select best network automatically and theres enable prompt inside it disable it. You would nt be able to disable it unless you enable select best networks automatically.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] aleavenger:
I've solved my problem after months. In my case none of the tips from here solved the problem, and my problem was 2 things, first the Customiuzer mod with the lock screen on wifi and second, the second space in Miui.

After disabling both my battery is standing for 2 days against less than a day from before the changes.
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] nokian95ita:
Now i am on 12.0.3 the drain in screen off Is good but Is not perfect

Voice call 1 hour.

Is no good as miui 10 buy is better than miui 12.0.2

Inviato dal mio Mi 9T utilizzando Tapatalk
[Redmi K20 / Xiaomi Mi 9T Guides, News, & Discussio] DrakuleLaw:
Hello, I was reading the whole thread and trying different network configurations but there was no case, I would like to know if someone tried something else, I read about making the rom flash, can it be? Or change it directly, I do not know what that is and how I know it does, but if someone did and can explain it to me, I appreciate it. As well as any other solution that can help me.

I have a Xiaomi Mi 8 Lite and (I clarify because of the roms) I am from Argentina.
[Android Software/Hacking General [Developers Only]] doublequestionmark:
Thought y'all would find this interesting. So you know all those apps on the Play Store promising to securely hide your files from prying eyes? While some of them are really good (one even claiming to support TrueCrypt data stores), I've found that most of the popular ones use rather lacking methods of protection. While this might not come as a surprise to most of you, I feel like we should raise awareness to things like this. I took a look at a rather popular one of these called "GalleryVault" (or "Gallery Vault", they can't seem to decide on the spelling for their name) which has over 10 million downloads, boasts security in it's listing, and I hear being recommended all the time.

Turns out, their fancy encryption is a few static DES keys, an MD5 hash concatenated with a SHA hash for storing the pin code (to make it look scary i guess?), oh and hiding the "encrypted" files inside PNG's. Best part is, you don't even need to be root to access the app's data, cause it conveniently copies it's private data folder to the sdcard for ya.

It seems like they went out of their way to make it as insecure as possible, which seems to be a common trend among these sorts of apps. It sucks because there are apps which do a decent job at protecting the user's data, but they don't get as much attention with apps like Gallery Vault stealing the show. I wrote a blog post going into more detail and an app that can crack the pin code for Gallery Vault, which you can find here: Mod Edit :- Links Removed