Which app for tracing battery drain at specific times - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

As title suggest i need application that can trace battery drain at specific times. Is there such app and which one is it?
I have a problem with Mi 9t pro - in the middle of the night phone suddenly get out of deep sleep by itself and after some time it get into deep sleep again by itself. I need some good application to trace down the app which causes that behaviour.
So which app is the best for my needs?

BetterBatteryStats is excellent to do that but you need to be unlocked to use it fully.

Related

Deep sleep problem

Hello world,
I just noticed this disturbing issue. I lost about 16% battery in one night. When I looked at battery state I noticed alot of tiny little wake moments during the night.
What kind of application can cause this? Or are there any known bugged apps that cause this?
Wakker is dutch for Wake
Sent from my GT-N7000 using xda premium
. THE Galaxy Notes when goes into standby (screen off) should go into deep sleep mode is a mode that allows you to keep to a minimum processor frequency to conserve the battery. Unfortunately, between the various firmware updates that we do and the various programs that we install (some of these work in backround without noticing it) can happen that the Note is no longer able to enter deep sleep mode remains fixed at 200mhz even while on table with display off.
To find out if our notes go into deep sleep, just install the free CPU Spy download here: https://play.google.com/store/apps/...wsMSwyLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ..--- If your notes do not enter into deep sleep the greater the percentage occupied by the item above, or 200mhz. The fact that it is a 200mhz is quite useless to us since we're not doing anything with the device as it should be on standby at that time. It happens so that at night, leaving the device on but without the latter is used, however, so battery consumption (having remained fixed at 200mhz) and the following morning surprise that we find the percentage of low power.
To overcome this problem needs to be done in the following way: Deep Sleep Guide
- Go into settings and remove the following tones: sound freezes the screen and sound selection - Set the device in flight mode - Turn off the device - Remove the battery for 10 seconds - Power on the device - Wait until everything is loaded - Remove Airplane mode
And that's it. The Notes should regularly go into deep sleep after doing this guide. To check everything just to keep notes on standby for about ten minutes and see if The candidates and the percentage of deep sleep increases.
Hi
Even I face this battery issue....it is severe in my case. I hardly get 14 HRS of battery life even after about 30 charging cycles
I've installed CPU spy, I found that the CPU stays in 200Mhz, for testing purpose I had kept my cell phone untouched in flight mode for about 12hrs but still I lost more 50% of battery.
I had tested the battery by completely charging it, it just drains before my eyes . . .
I don't know if this is deep sleep issue. please help me.
Naveen
Sent from my GT-N7000 using XDA
1. Flash and test different kernels in case of battery drain. Some are easier on your battery than the others. 2. Use Titanium Backup to freeze or uninstall crapware. This list is a useful guide as to what can/can't be removed from your system: https://spreadsheets.google.com/spr...SENVeXlqUm5vV0E&single=true&gid=0&output=html 3. Set Brightness to low value, disable autobrightness 4. Disable or scale down vibration and haptic feedback 5. Automatic syncing of your accounts is battery consuming. Sync manually if you can 6. Set screen timeout to 15 seconds 7. Disable fast dormancy (dial *#9900# and do it from there) 8. Don't keep your WiFi/Packet Data on all the time. However, if you must have WiFi on the second you wake up your phone, go to Settings/Wireless and Network/Wi-Fi settings - once in Wi-Fi Settings, hit the menu button (the bottom left one), choose Advanced/Wi-Fi sleep policy/When Screen Turned Off. This way your connection will toggle on/off depending on your screen on/of state 9. Disable location services via wireless networks - are you travelling that fast that you need those? 10. GPS is heavy on the battery, therefore use it sparingly
And don't use Juice or any other battery 'defenders': they keep running in the background and consume your juice by trying to save it. Not to mention other problems they can (and often do) create.
Hope this helps.
Download BetterBatteryStats and look for wakelocks (partial and kernel). Google them if you don't know what they do. Then uninstall them or fix them somehow.
Del
Sent from my GT-N7000 using Tapatalk 2
Am happy to say that the deep sleep issue haS been resolved.
I downloaded better battery stats, found that the process l2_hsic was stopping my phone from going to deep sleep mode. I tweaked the wifi settings and the battery life increased exponentially.
Thanks better battery stats
Naveen
Sent from my GT-N7000 using XDA
naveeent said:
Am happy to say that the deep sleep issue haS been resolved.
I downloaded better battery stats, found that the process l2_hsic was stopping my phone from going to deep sleep mode. I tweaked the wifi settings and the battery life increased exponentially.
Thanks better battery stats
Naveen
Sent from my GT-N7000 using XDA
Click to expand...
Click to collapse
What do you mean "tweaked the wifi settings"?
devid801 said:
. THE Galaxy Notes when goes into standby (screen off) should go into deep sleep mode is a mode that allows you to keep to a minimum processor frequency to conserve the battery. Unfortunately, between the various firmware updates that we do and the various programs that we install (some of these work in backround without noticing it) can happen that the Note is no longer able to enter deep sleep mode remains fixed at 200mhz even while on table with display off.
To find out if our notes go into deep sleep, just install the free CPU Spy download here: https://play.google.com/store/apps/...wsMSwyLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ..--- If your notes do not enter into deep sleep the greater the percentage occupied by the item above, or 200mhz. The fact that it is a 200mhz is quite useless to us since we're not doing anything with the device as it should be on standby at that time. It happens so that at night, leaving the device on but without the latter is used, however, so battery consumption (having remained fixed at 200mhz) and the following morning surprise that we find the percentage of low power.
To overcome this problem needs to be done in the following way: Deep Sleep Guide
- Go into settings and remove the following tones: sound freezes the screen and sound selection - Set the device in flight mode - Turn off the device - Remove the battery for 10 seconds - Power on the device - Wait until everything is loaded - Remove Airplane mode
And that's it. The Notes should regularly go into deep sleep after doing this guide. To check everything just to keep notes on standby for about ten minutes and see if The candidates and the percentage of deep sleep increases.
Click to expand...
Click to collapse
My galaxy note 2 battery is draining fast and the "android os" is at about 65% at end of day and now my battery last about 10 hours. I was trying to follow your instructions above but got lost trying to find the settings to remove some tones you mentioned. Which tones are you speaking of.
Thanks...
houstonjudge said:
My galaxy note 2 battery is draining fast and the "android os" is at about 65% at end of day and now my battery last about 10 hours. I was trying to follow your instructions above but got lost trying to find the settings to remove some tones you mentioned. Which tones are you speaking of.
Thanks...
Click to expand...
Click to collapse
Note 2? Wrong forum..However, to answer your question, he is talking about the tones under Settings> Sound> System.

[Q] Blocking Mode Killing Battery Life?

I've been having problems with my Note 2 for a while now, in particular my battery would drain about 30% at night when I'm not using my handset, apart from it automatically checking emails occasionally. During the day, battery life is much as I'd expect. I get through 30%, but with reasonable usage.
I think I've pinned it down to the Blocking Mode. When I don't use it at night, battery usage is less than half of previous usage. One other person has confirmed a similar experience over a short period. I'm running Baseband N7100XXDLK7 (but this also happened in the previous ROM too). I'll repeat this for a few more nights, but I'd appreciate it if anyone else could try blocking mode and see if this is repeatable. (I had disable incoming calls, notifications and LED indicator on).
Oh, and any ideas how to cure it? (apart from not using Blocking Mode?)
Many thanks
R: [Q] Blocking Mode Killing Battery Life?
Did you check, using cpu spy, if your cpu is able to go in sleepmode while screen is off? If it doesn't, then maybe there is some app that make your note awake and working when it shouldn't...
Sent from my GT-N7000 using xda premium
Cheers. I'll give it a go to see if there's any more clues.

MSM_HSIC_HOST Wakelock. Suggestions on how to fix?

I have no idea how to get to the bottom of this. Everything I normally try simply doesn't work when it comes to fixing this problem. In Better Battery Stats, it's clear that something is causing the modem to stay awake, because msm_hsic_host is a direct reference to external modem. I will literally have 10-20 minutes max of partial wakelock from sync and then I will have over two hours of msm_hsic_host wakelocks. Avast and Better Battery Stats all do not show any application taking up significant data in the background.
This is making the difference between 4-5 hours of screen on time and 6-7 hours of screen on time. Is there some sort of method to figuring out what is destroying my battery life?
Don't know if this information will help, I have used wakelock detector from play, a free app to show various wake locks .
Also tried Qualcomm battery guru, again free from play , it's a beta app specifically for phone with Snapdragon soc. When first enabled it monitors your phone usage for over 24 hours before enabling various power saving options, that can be customized by the user.
Sent from my HTC One using xda app-developers app
Hunt3r.j2 said:
I have no idea how to get to the bottom of this. Everything I normally try simply doesn't work when it comes to fixing this problem. In Better Battery Stats, it's clear that something is causing the modem to stay awake, because msm_hsic_host is a direct reference to external modem. I will literally have 10-20 minutes max of partial wakelock from sync and then I will have over two hours of msm_hsic_host wakelocks. Avast and Better Battery Stats all do not show any application taking up significant data in the background.
This is making the difference between 4-5 hours of screen on time and 6-7 hours of screen on time. Is there some sort of method to figuring out what is destroying my battery life?
Click to expand...
Click to collapse
hmm.. interesting to see this as i thought this was a 4.2 issue. See this thread below. The wakelock is related to a driver issue from qualcom who makes the snapdragon s4 pro and 600. They released a patch that has been merged into various custom kernels but the issue remains in the AOSP stock kernel to this day. This is a main reason why i dont mind being on 4.1.2 instead of 4.2.2 until google or a dev for the HTC one fixes it, your battery life will suffer
http://forum.xda-developers.com/showthread.php?p=34858556
I ran a wireshark to figure out what was causing it.
One of my issues was Hotmail sync. Setting it to Push apparently means that it will constantly send packets back and forth. Stupid, but whatever.
Hunt3r.j2 said:
I ran a wireshark to figure out what was causing it.
One of my issues was Hotmail sync. Setting it to Push apparently means that it will constantly send packets back and forth. Stupid, but whatever.
Click to expand...
Click to collapse
Hey,
can you explain how you ran a wireshark? I have this wakelock and can't figure out how to stop it and I dont use hotmail sync
Same problem here.... Lot of wake locks and can't find out what causes it.
24% lost in 9 hours sleep mode.
I have the same problem. Because of this Wakelock my HTC One won't go back to DeepSleep.
Is there no app/tool to observe which ap causes this wakelock?
did anyone find a solution? which network are you on (i'm on vodafone nl)
Facebook messenger!
I had this issue as well.. the wakelock was doing its thing like 50% of the time.. removed facebook messenger => the values are back to normal.
Please post if you can see the same..
chaelli said:
I had this issue as well.. the wakelock was doing its thing like 50% of the time.. removed facebook messenger => the values are back to normal.
Please post if you can see the same..
Click to expand...
Click to collapse
I don't have FB messenger installed
Here's a really good explanation on what this wakelock is and how it's being produced.
http://www.reddit.com/r/nexus4/comments/199bd3/a_great_explanation_of_the_msm_hsic_host_wakelock/
Sent from my HTC myTouch 4g using xda premium
It's apparently much better than the n4 which had nearly the same wake lock as off-charger time. The snapdragon 600 with HTC has much improved the wake lock times.
i woke up today to see this happen for the firs time to my phone.
newest changes to mine: installed ARHD 9 (but it was fine the day or two since, only last night it was unplugged from the wall, instead of the usb port)
mettleh3d said:
It's apparently much better than the n4 which had nearly the same wake lock as off-charger time. The snapdragon 600 with HTC has much improved the wake lock times.
Click to expand...
Click to collapse
I don't know buddy this is kinda bad considering the nexus has been out for a while and they have had time to fix it see my screen shot 4 some hours off charger and lots of wakelocks
Sent from my HTC One using Tapatalk 2

smp2p-sleepstate Wakelock

Hey.
I have a problem. With battery drain caused by a wakelock called smp2p-sleepstate. I guess. I have 0% deep sleep according better battery stats.
What is this and how can i block it?
Thanks in advance
Would you mind specifying what ROM and kernel are you using, and whether you are rooted or not?
Sorry. Forgot it. Its rooted with magisk. Global rom 10.2.9. And stock kernel. Also installed edxposed.
I have the same wakelock on latest ROS with Magisk 19. 4 Canary and everything else stock.
Although it isn't as bad as on your phone
On EEA, Global and Global Beta my phone never went into deep sleep. On ROS my phone is in deep sleep 73% of the time and I'm not rooted.
Battery drain has been a complaint with the MI 9 since launch. The only way to fix it currently seems to be by flashing a custom ROM.
jhs39 said:
On EEA, Global and Global Beta my phone never went into deep sleep. On ROS my phone is in deep sleep 73% of the time and I'm not rooted.
Battery drain has been a complaint with the MI 9 since launch. The only way to fix it currently seems to be by flashing a custom ROM.
Click to expand...
Click to collapse
How do you measure deep sleep in Android pie without root??? And also, cpu usage per application?
MysteriousStranger said:
How do you measure deep sleep in Android pie without root??? And also, cpu usage per application?
Click to expand...
Click to collapse
The DevCheck Hardware and System Info app by flar2 (which can be downloaded from the Play Store) shows the amount of time your phone goes into deep sleep without requiring root access or any special ADB permissions.
jhs39 said:
The DevCheck Hardware and System Info app by flar2 (which can be downloaded from the Play Store) shows the amount of time your phone goes into deep sleep without requiring root access or any special ADB permissions.
Click to expand...
Click to collapse
Mine show 100% deep sleep total. Why?? LoL
Figured out that is has to do Something with the tap2wake and lift2wake feature. When switched off. I have no problems. At the Moment 46% deep sleep.
Any idea how to solve this. Except switching it off of course. I like this feature.
The Shared Memory Point to Point (SMP2P) protocol facilitates communication of a single 32-bit value between two processors.
As the complexity of the SoC grew the state bits array grew and the need for
targeting specific state information at specific remote processors appeared.
SMP2P solves this by having separate shared memory regions per processor-pair.
This state information is e.g. used to convey progress and status of remote firmware loading. Individual bits maps to various stages of the boot and error states.
I have this same wakelock, just appeared on my Mi 9 randomly.
Any fix for this?
scottishblood said:
I have this same wakelock, just appeared on my Mi 9 randomly.
Any fix for this?
Click to expand...
Click to collapse
Bump -
Having the same issue.
(Changing settings under the *#*#4636#*#* dialer code didn't have an effect, nor did turning off 'double-tap to wake'...etc.)
There's a thread on the Russian Mi forum - but Google Translate only goes so far...
My issue looks to have been resolved with a factory reset. Now showing less than 2% kernel wakelock.

Exynos Note 9 screen off battery drain (not entering deep sleep)

Hello!
I've owned a N960F for about 2 months now and recently I'm dealing with extremely high screen off battery drain. Looking at the stats offered by the battery tab in device care I am unable to pinpoint the cause.
Furthermore, accubattery shows very low deep sleep time. Last night it managed to achieve an incredible amount of deep sleep of 0 minutes and drain 12% in just 5h 20 minutes of screen off time.
Screen on time is not a problem, while using the phone the battery usage is normal and I am pleased by it's performance, but it is greatly affected by the screen of consumption.
Does anyone have an idea what might be causing the device to not enter deep sleep mode? Or how to find out what the problem could be that makes it use up so much juice?
Thanks in advance!
Screenshots (the accubattery is from yesterday, while the device care one I screenshot just now):
https://cdn.discordapp.com/attachme...25/Screenshot_20190712-024601_AccuBattery.jpg
https://cdn.discordapp.com/attachme...05728/Screenshot_20190712-030220_Settings.jpg
Difficult to tell, possibility is an app in the background preventing deep sleep.
When you use device care and then select battery, followed by settings you get a further screen of options, you may be aware of this.
I have used these settings, it might help.
An alternative approach is to uninstall an app to see if the phone then goes into deep sleep
paul_59 said:
Difficult to tell, possibility is an app in the background preventing deep sleep.
When you use device care and then select battery, followed by settings you get a further screen of options, you may be aware of this.
I have used these settings, it might help.
An alternative approach is to uninstall an app to see if the phone then goes into deep sleep
Click to expand...
Click to collapse
I can't seem to pinpoint any app that could cause this problem and my settings were already as shown in your screenshots
jd14771 said:
i found a wierd bug recently. If you're google account has a sync error, like gmail, contacts, messages, ECT.. it will not enter deep sleep.
go to settings>accounts&backup>accounts> Google account>sync account>
Do you see anything with a circle formed by two arrows? those items can't snyc in the background for some reason. usually because the phone has put the app to sleep, optimized it, or restricted background data access. turns out my contacts arent syncing right now, glad i checked.
use this to try and help troubleshoot if you need help.
https://www.unlockunit.com/blog/google-contacts-not-syncing-need/
Click to expand...
Click to collapse
this might actually have been it, I found a weird Office account that was not syncing (I don't even remember adding it) and I removed it, I'll update if it has fixed the issue
jd14771 said:
for me, the problem was that my Contacts app was set to non-optimized ect ect... but the googlecontactsbackup app was set to optimized. I didn't even know that apps could have dependencies that show up as other apps. (i installed google contacts to replace samsung's people app).
i went from 1%-1.5% drain per hour, too .5% drain. significant change for me since im already heavily debloated.. thanks for making me look that deep lol. this is why people prefer iphones i suppose.
Click to expand...
Click to collapse
Are you debloat with adb and console?
Which apps disabled?
I think that Note 9 exynos have problem with consumming battery in sleep mode.
My N9 always "drain" 3-4 % in night after little debloat but A5 without debloat and with more apps consumming only 1-0% per night.

Categories

Resources