Hell untraceable wakelocks on i9192 - Galaxy S 4 Mini Q&A, Help & Troubleshooting

I tried everything to get rid of this untraceable wakelocks.
Anyone found any solution than restarting the phone?
Restarting the phone doesn't work for me but read on in forum.

What wakelock, i9192 has a terrible battery drain, 2-3% per hour, i haven't found any wakelock and still have drain
Sent from my GT-I9192 using Tapatalk

try another battery, i think some phone has the same problems like some s4, the battery

b0g said:
try another battery, i think some phone has the same problems like some s4, the battery
Click to expand...
Click to collapse
I had mentioned wakelocks.
Did you read it?
It has nothing to do with Battery.

Did you try this - https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector&hl=en ?
Btw, even I am facing way too much battery drain in I9192. I have disabled **** load of built in bloatware. Time to root I guess.

Even I have noticed 3% battery drain in complete standby mode...
also lag or stutter in mine I9192
coz of this, there isnt any feel of 1.7Ghz dual core processor..
i mean its not at all diff from grand duos processor.. nothing better.. rather more laggy!! Dont know what the reason may be...

chemicalrage said:
Did you try this - https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector&hl=en ?
Btw, even I am facing way too much battery drain in I9192. I have disabled **** load of built in bloatware. Time to root I guess.
Click to expand...
Click to collapse
I said, I had tried everything.
Somehow my knox status is now reset.
I have now managed to root without knox trigger.

SandeepEmekar said:
I said, I had tried everything.
Somehow my knox status is now reset.
I have now managed to root without knox trigger.
Click to expand...
Click to collapse
Do you remember the steps you took?
That would be of great help to every one
Sent from my GT-I9192 using Tapatalk

fburgos said:
Do you remember the steps you took?
That would be of great help to every one
Sent from my GT-I9192 using Tapatalk
Click to expand...
Click to collapse
First of all I played with following things.
1. Rooted the phone and changed the Kernel.
2. TricksterMod: Changed Governor, Changed IO Scheduler.
3. Installed PurePerformance Script Pack.
3. Changed to different region firmware. (This is where my knox status reset to 0x0)
4. Rooted again and created profile in SetCPU to underclock to 486mhz when display is off.
5. Edited build.prop for some tweaks.
Now battery drain in idle time is 1.7% per hour.( I keep data off)

SandeepEmekar said:
Now battery drain in idle time is 1.7% per hour.( I keep data off)
Click to expand...
Click to collapse
Can you install BetterBatteryStats app and share day or night usage dump from it. I want to see

c0bain said:
Can you install BetterBatteryStats app and share day or night usage dump from it. I want to see
Click to expand...
Click to collapse
I'll give you when I get my hands on that phone.
I'll post both betterbatterystats and battery drain analyzer dump.:good:
Thanks!

@c0bain:
Here are the dump files.
There is significant less battery drain compared to last time because I have underclocked the processor on display off profile with SetCPU.

@c0bain:
What does this code means of dmesg?
Is it related with CPU core?
"<4>[ 1282.913199] Restarting tasks ...
<4>[ 1282.934289] QSEECOM: qseecom_receive_req: Interrupted: exiting wait_rcv_req loop
<3>[ 1282.934319] QSEECOM: qseecom_ioctl: failed qseecom_receive_req: -512
<4>[ 1282.934533] QSEECOM: qseecom_receive_req: Interrupted: exiting wait_rcv_req loop
<3>[ 1282.934563] QSEECOM: qseecom_ioctl: failed qseecom_receive_req: -512
<6>[ 1282.936120] report_state_of_charge: Reported SOC = 79"

It's Qualcomm Secure Execution Environment Communicator driver for DRM.
I took a look into your BBS log and that's what I think:
- uninstall JuiceDefender, RAM Booster Pro, you dont't need them,
- freeze Battery Monitor Widget Pro (for a tests),
- use newest BBS (1.15 afair),
- leave a phone at least for 2-3h untouched, no calling, no messaging, no any usage,
- make a dump using "screen of -> current" references.

rufik said:
It's Qualcomm Secure Execution Environment Communicator driver for DRM.
I took a look into your BBS log and that's what I think:
- uninstall JuiceDefender, RAM Booster Pro, you dont't need them,
- freeze Battery Monitor Widget Pro (for a tests),
- use newest BBS (1.15 afair),
- leave a phone at least for 2-3h untouched, no calling, no messaging, no any usage,
- make a dump using "screen of -> current" references.
Click to expand...
Click to collapse
I had used the phone in factory setting.
i.e. no apps installed but issue still persist.

i don't know why, but there are so many alarm_rtc interrupts and alarm wakeups from android platform.
later I'll post my dump for comparison

@rufik:
Here is the new dump of 1hour.
Phone was in 96% Deep Sleep maybe because I forgot to switch back to "Ondemand" Governor.
It was set to "Interactive".

SandeepEmekar said:
@rufik:
Here is the new dump of 1hour.
Phone was in 96% Deep Sleep maybe because I forgot to switch back to "Ondemand" Governor.
It was set to "Interactive".
Click to expand...
Click to collapse
Make a dump using "screen of -> current" references with no usage of phone. And not just after reboot, let the media scanner service end up.
Other way dump is pretty useless...

@rufik:
Here is the dump of "Screen Off->Current'.
Phone is perfectly staying 96% in deep sleep but hits 810mhz frequency rest of the time.

Better but I need longer period, at least 2-3h.
This short log looks perfectly Check PlayStore settings for auto update.

Related

[Q] LG Optimus G battery drain fast

hi all, this is the first time i come here
I am using LG Optimus G, i have tried many rom(event stock) for my phone, but in wait time my phone drain 2%-3%/1h.
When i set Screen 100%, listening music via 3G and use camera(with flash on), my phone lose 85% baterry energy for 2h 30minutes, so i think my battery phone was fine.
I have tried many ways to improve batterry life, but nothing change.
Please give me some suggestion, thank you :fingers-crossed:
I also use Greenify and Titanium to freeze some app and service, but the problem still come
And what do expect?it's like saying : "hey,i drive my car with 200km/h and i have great fuel consumption. You gave the answers yourself. 3g streaming and highest brightness on a 4.7" display?nice job. And if you are in a low signal area,the things get even better. Haven't you heard yet?3g is one of the biggest cause for drain.
Use betterbatteystats to see what causes the drain.if you don't play games a litle underclocking would save you some battery.
Sent from stock LG E975/smart phones,dumb people. now Free
@kimitza
Thank for your reply, funny man!
I have tested with "Airplane mode", and my phone still drain 2%/1h on standby mode
So you have something eating your battery. Bbstats and cpu spy to see if the phone goes to deep sleep and then look for hungry apps.
Sent from stock LG E975/smart phones,dumb people. now Free
@kimitza
My first post was placed in wrong category and i can not delete it, so sorry.
Now, i installed 2 app you recommed, i will see the hungry apps.
Thank you :victory:
hi @kimitza,
I have installed and tested with 2 apps you recommened.
"Phone Idle" has 47% and "Cell standby" has 30%(i also set CPU to minimum frequence and also tested with "Airplane mode").
I don't know why
try greenify on playstore to hibernate(freeze) bloated apps
paramoun7z said:
try greenify on playstore to hibernate(freeze) bloated apps
Click to expand...
Click to collapse
I don't install any apps, so i have nothing to hibernate. I have tried Titanium and freezed a lot of services and apps
and also wakelock detector to monitor if there is any apps causing wakelocks
I duno what yu are expecting... But losing 3% / hr is fine.... Since you using 3g....also setcpu wont underclock the freq of all the cores.. It ly manages the master core i.e. Core0....so mobiles with quad core processors, setcpu is not tat grt application..... I've edited the thermald conf file in /etc and set the cpu cores to 1026mhz, by this way you can underclock the freq of all the 4 cores... With 2 hrs screen on I lost 70% of battery juice in 12hrs with ECO MODE OFF, 3G DATA ALWAYS ON, Screen brightness set to 25% with auto...
Sent from my LG-E975 powering Stock 4.1.2
hasan4791 said:
I duno what yu are expecting... But losing 3% / hr is fine.... Since you using 3g....also setcpu wont underclock the freq of all the cores.. It ly manages the master core i.e. Core0....so mobiles with quad core processors, setcpu is not tat grt application..... I've edited the thermald conf file in /etc and set the cpu cores to 1026mhz, by this way you can underclock the freq of all the 4 cores... With 2 hrs screen on I lost 70% of battery juice in 12hrs with ECO MODE OFF, 3G DATA ALWAYS ON, Screen brightness set to 25% with auto...
Sent from my LG-E975 powering Stock 4.1.2
Click to expand...
Click to collapse
that is very good!! but what about the performance? i mean not in games, while browsing and listening music or something is there any lag?
ShadowsDie said:
that is very good!! but what about the performance? i mean not in games, while browsing and listening music or something is there any lag?
Click to expand...
Click to collapse
Performance is gud.....I can play NFS most wanted without any lag...also keep in mind that wen yu are playing games be sure that auto brightness must be disabled as it causes lag...:good:
hasan4791 said:
I duno what yu are expecting... But losing 3% / hr is fine.... Since you using 3g....also setcpu wont underclock the freq of all the cores.. It ly manages the master core i.e. Core0....so mobiles with quad core processors, setcpu is not tat grt application..... I've edited the thermald conf file in /etc and set the cpu cores to 1026mhz, by this way you can underclock the freq of all the 4 cores... With 2 hrs screen on I lost 70% of battery juice in 12hrs with ECO MODE OFF, 3G DATA ALWAYS ON, Screen brightness set to 25% with auto...
Sent from my LG-E975 powering Stock 4.1.2
Click to expand...
Click to collapse
Event I reinstall the os(rom stock), and my phone lose 2%/1h in standby mode, i have disabled some services, event i set my phone to airplane mode, i don't know why my phone lose a lot of batterry in standby and airplane mode
rongnk said:
Event I reinstall the os(rom stock), and my phone lose 2%/1h in standby mode, i have disabled some services, event i set my phone to airplane mode, i don't know why my phone lose a lot of batterry in standby and airplane mode
Click to expand...
Click to collapse
Chk with cpuspy app whethr it goes deep sleep mode....
Sent from my LG-E975 powering Stock 4.1.2
hasan4791 said:
Chk with cpuspy app whethr it goes deep sleep mode....
Sent from my LG-E975 powering Stock 4.1.2
Click to expand...
Click to collapse
I installed spuspy and it report "deep sleep mode 80.5%" with lowest cpu frequency
HERE...document yourself . It's for N7000,but the basics are the same. You must understand how things work first,then ask questions.
http://forum.xda-developers.com/showthread.php?p=31352080
if you still don't make it good,i recommend you sell this phone and get a nokia 1100. heck,it even has a flashlight.
kimitza said:
HERE...document yourself . It's for N7000,but the basics are the same. You must understand how things work first,then ask questions.
http://forum.xda-developers.com/showthread.php?p=31352080
if you still don't make it good,i recommend you sell this phone and get a nokia 1100. heck,it even has a flashlight.
Click to expand...
Click to collapse
Thank you, my problem is same to this guy: http://productforums.google.com/forum/#!topic/mobile/q6-Xt6ezkE4
I try the link you gave, but nothing change
Dear Guys, I am trying to ask your eperiences with LG Optimus E975 (Originally LG F180l)
The phone is old (Feb 2014), but until now it worked great. I bought it on my trip around South Korea, but I use it at the Czech Republic.
Situation:
The LGF180l phone has started battery drain very quickly, even in idle mode (Data Off, Sync account off, GPS OFF, Brightness Min, Auto bright off, Screen rotation off, Airplane mode ON, LG Phone backup OFF ...) In this configuration, the screen still consumes about 50% of the battery. Previous vallue was about 20% in normal operation mode. So I tried using LG Flash Tool 2014 to make CSE Flash and convert my phone to LG Optimus E975. The situation has not changed. Even with a perfectly clean installation, the screen consumption instantly jumps to 50-60% after the turn off and keep it permanently.
I tried to change batteries too. 1st battery has the year of production 2013, the second has 2017, but both has the same behaviour. I've tried uninstalling Google+, Google Photos, Hangouts, and more. Still without result. Now I have back the original factory configuration of the LG E975 and still the same.
If the phone turns off, there is no consumtion and battery drain.
I'm really crazy, maybe I have to tell the boss about the new phone .

Stock OS

Been poking around here and reading all the posts that people had mentioning battery life on stock/cm11. Is battery life really that good? I find myself trying everything possible (including hardly using the device, turning brightness all the way down, turning off bluetooth & Dynamic perspective) and I find that my phone is dropping like a brick. I can have the phone lose %s in front of me just having the screen open for a few minutes doing nothing else.
I even have two apps to optimize/kill all other apps and I'm finding that this phone is dying faster than a t-mobile pre paid LG L90 I was using prior. I just don't see how people with stock and all the features on are getting more than 5 hours battery life tops. This phone dies while you use it on the charger, which is a first from any phone I've ever used.
How do your experiences stack up? Do I just have a bad unit? Really considering going to cm11 now (really wanted to like Fire OS).
You must have something wrong with the phone. I have had Samsung S3's and S4's and the Fire is far and away the best I have experienced for battery life. I am getting close on two days on a full charge although I do not use it a great deal for voice calls.
dmarchant said:
You must have something wrong with the phone. I have had Samsung S3's and S4's and the Fire is far and away the best I have experienced for battery life. I am getting close on two days on a full charge although I do not use it a great deal for voice calls.
Click to expand...
Click to collapse
Are you keeping Dynamic perspective off with a low brightness instead of auto? Don't see how two days is possible unless you absolutely never used the device. I can lose like 10% an hour just on the browser reading text sites.
Fire has the best battery life of any android phone I've owned. I'm on fire os with a different launcher and I have dynamic perspective on (not for home screen obviously). I'm also using auto brightness. I'm rooted with gapps installed. I get great standby time and even in use its good. You should get gsam battery monitor and see what's going on, although I think you might have a broke unit.
Here is a picture from Gsam (I don't have my phone rooted). I think this is pretty bad for only 3:28hrs of screen on time and that was with the screen at the lowest brightness, not on auto. For app usage I have 7% coming from a game I was playing, but the rest of the drain is coming from system and kernel. Would really like to see another users stats with similar screen on time, as I'm pretty sure I could completely kill this phone's battery in 4-5 hours just using silk browser on Reddit.
h ttp://i.imgur.com/JSXxRGN.png
Sent from my SD4930UR using XDA Free mobile app
Ztcc said:
Here is a picture from Gsam (I don't have my phone rooted). I think this is pretty bad for only 3:28hrs of screen on time and that was with the screen at the lowest brightness, not on auto. For app usage I have 7% coming from a game I was playing, but the rest of the drain is coming from system and kernel. Would really like to see another users stats with similar screen on time, as I'm pretty sure I could completely kill this phone's battery in 4-5 hours just using silk browser on Reddit.
h ttp://i.imgur.com/JSXxRGN.png
Sent from my SD4930UR using XDA Free mobile app
Click to expand...
Click to collapse
Can you check the kernel wake lock section of the same app?
ratbags said:
Can you check the kernel wake lock section of the same app?
Click to expand...
Click to collapse
On the off chance that you or anyone else can help me understand what's going on I ran a ~10% drain test and made a picture including information from WakeLock Detector and GSam. This drain seems very bad considering the screen was only on for a total of 16 minutes and I lost 8% power.
imgur.com/YbgFfmA
Ztcc said:
On the off chance that you or anyone else can help me understand what's going on I ran a ~10% drain test and made a picture including information from WakeLock Detector and GSam. This drain seems very bad considering the screen was only on for a total of 16 minutes and I lost 8% power.
imgur.com/YbgFfmA
Click to expand...
Click to collapse
Your phone isn't going into deep sleep. It's hard to determine exactly what's going on there but if you download kernel adiutor (yes, that's the spelling) you'll see its locked at 300mhz most of the time. I know it sounds crazy but have you rebooted? That can often sort out a misbehaving app. Are you rooted? If so deploy greenify.
ratbags said:
Your phone isn't going into deep sleep. It's hard to determine exactly what's going on there but if you download kernel adiutor (yes, that's the spelling) you'll see its locked at 300mhz most of the time. I know it sounds crazy but have you rebooted? That can often sort out a misbehaving app. Are you rooted? If so deploy greenify.
Click to expand...
Click to collapse
I am rooted. That screenshot was with using greenify :[
I will get that kernel app.
ratbags said:
Your phone isn't going into deep sleep. It's hard to determine exactly what's going on there but if you download kernel adiutor (yes, that's the spelling) you'll see its locked at 300mhz most of the time. I know it sounds crazy but have you rebooted? That can often sort out a misbehaving app. Are you rooted? If so deploy greenify.
Click to expand...
Click to collapse
Do you have any recommended settings for that app? I disabled something that I think is allowing me to enter deep sleep more, but I have to finish testing. Thanks for the help ratbags!
Oh I see what's the wrong.
Battery usage give me a wrong information.
My fire phone lasting about 5hrs turning on screen.
Very very good !!
Thank you.:good::good:
Five hours is good??
Ztcc said:
Five hours is good??
Click to expand...
Click to collapse
5 hours of "screen on time" is solid, the combined time incl. standby, etc. is of course much longer. He didn't know how to interpret the statistics from the device, it was a misunderstanding.
Ztcc said:
Do you have any recommended settings for that app? I disabled something that I think is allowing me to enter deep sleep more, but I have to finish testing. Thanks for the help ratbags!
Click to expand...
Click to collapse
That kernel app won't help battery life but it will show you how long you spend in deep sleep.
As for greenify, you should greenify all the Google apps. I actually greenify everything except sms app, browser, phone and alarm apps.
Also, this could possibly be some kind of location based frippery. Turn location services off or onto battery saving mode if only temporarily. And turn off auto sync if it's on.

Help understanding battery drain

Hi guys!
I desperately need some help from you experts. I have recently noticed my LG G3 has been draining more battery than it should, especially when idle (or at least, theoretically when idle).
Please take a look at the sequence of screenshots (have in mind the analysis was made overnight, when the phone was sitting idle on my bedside):
Screenshot 1: You can see app usage has been the biggest juice thief, and an abnormal drain (24%) for a (supposedly) idle period of 6 hours.
Screenshot 2: Kernel & Android system are the biggest villains, but only sums up to 45%.
Screenshot 3: Taking a deeper look at Kernel, it shows only 7 minutes of CPU usage.
Screenshot 4: A deeper look at Android system also shows a small usage, only a few seconds shy of 6 minutes.
Screenshot 5: On the chart, we can see there was an absurd drain (around 20%) from 1:30 am to 5 am, and then it got stabilized. Wifi was on the whole time, and you can see it shows the phone was (theoretically) dozed 95% of the time.
Sctreenshot 6: Even though the phone was dozed, we can clearly see it has severe CPU usage throughout the whole night, and no pattern could be distinguished between the hours were the battery got the severe drain and the hours after. Even though the CPU frequency was low between 1:30 and 5 (except for a couple of peaks), the utilization averaged 45%.
This is why I need some expert's help. I cannot understand what is draining my battery, what is keeping my phone's CPU util so high... can someone please shed a light on this for me?
Thanks in advance!!! :fingers-crossed: :good:
Hello there guys. Anyone could please take a look at this and try and help me out?
Thanks!!!
Well, it's hard to answer simply such a complicated problem. There are so many variables to consider, but I would say rule out a few things first.
First, if you have TWRP installed, backup your current ROM and do a complete factory reset. If the problem persists, then you know it's something built into your ROM causing it and I would suggest swapping out that ROM for another. If the problem is gone, you know it's something you installed or modified in the ROM and you can start to narrow that down.
Second, I would try out the app WakeBlock. It's still in development, but it allows you to see active wakelocks (Android programming object used to keep the CPU running even if dozed) and block them if you want to. But the app may be useful for just tracking down battery hogs that are activated at 2am in the morning
Hope that helps! Good luck! :fingers-crossed:
AlwaysLucky said:
Well, it's hard to answer simply such a complicated problem. There are so many variables to consider, but I would say rule out a few things first.
First, if you have TWRP installed, backup your current ROM and do a complete factory reset. If the problem persists, then you know it's something built into your ROM causing it and I would suggest swapping out that ROM for another. If the problem is gone, you know it's something you installed or modified in the ROM and you can start to narrow that down.
Second, I would try out the app WakeBlock. It's still in development, but it allows you to see active wakelocks (Android programming object used to keep the CPU running even if dozed) and block them if you want to. But the app may be useful for just tracking down battery hogs that are activated at 2am in the morning
Hope that helps! Good luck! :fingers-crossed:
Click to expand...
Click to collapse
Hi there. Thanks for trying to help!
I don't have TWRP, as I use stock ROM (phone has MobileIron installed for work use, so I can't have it rooted).
I already have wakelock detector installed on the phone, but I don't how many wakelocks during a night should be considered as OK or not...
ghnogueira said:
I don't have TWRP, as I use stock ROM (phone has MobileIron installed for work use, so I can't have it rooted).
Click to expand...
Click to collapse
True, you would need root to flash TWRP to allow backups/restores. However once TWRP is flashed, you could just install a ROM that does not have root and do not root it. That should pass all of MobileIrons checks which are mostly package name-based. In short, root is not required to keep TWRP installed. Something to consider.
ghnogueira said:
I already have wakelock detector installed on the phone, but I don't how many wakelocks during a night should be considered as OK or not...
Click to expand...
Click to collapse
Well, in reality you don't need any wakelocks active. Especially if you are asleep or not going to use the device for a while. Wakelocks can be doing anything from downloading advertisements for apps, to syncing emails with servers. You could block them all in a certain time frame, but that may be overkill. I suggest just going through the list of wakelock package names before you goto bed or when you know drain is at it's heaviest. The package name may be different from the name of the app, but it should give you something to go on. Just uninstall the heavy drainers or disable them enough so they can not drain you so much.
ghnogueira said:
Hi guys!
I desperately need some help from you experts. I have recently noticed my LG G3 has been draining more battery than it should, especially when idle (or at least, theoretically when idle).
Please take a look at the sequence of screenshots (have in mind the analysis was made overnight, when the phone was sitting idle on my bedside):
Screenshot 1: You can see app usage has been the biggest juice thief, and an abnormal drain (24%) for a (supposedly) idle period of 6 hours.
Screenshot 2: Kernel & Android system are the biggest villains, but only sums up to 45%.
Screenshot 3: Taking a deeper look at Kernel, it shows only 7 minutes of CPU usage.
Screenshot 4: A deeper look at Android system also shows a small usage, only a few seconds shy of 6 minutes.
Screenshot 5: On the chart, we can see there was an absurd drain (around 20%) from 1:30 am to 5 am, and then it got stabilized. Wifi was on the whole time, and you can see it shows the phone was (theoretically) dozed 95% of the time.
Sctreenshot 6: Even though the phone was dozed, we can clearly see it has severe CPU usage throughout the whole night, and no pattern could be distinguished between the hours were the battery got the severe drain and the hours after. Even though the CPU frequency was low between 1:30 and 5 (except for a couple of peaks), the utilization averaged 45%.
This is why I need some expert's help. I cannot understand what is draining my battery, what is keeping my phone's CPU util so high... can someone please shed a light on this for me?
Thanks in advance!!! :fingers-crossed: :good:
Click to expand...
Click to collapse
I'm in pretty much the same boat. I lose like 14-20% overnight and I have no clue why. Factory reset and it still seems to be that bad. I also use GSam and have almost exactly the same stats in terms of Android System and Kernel usage, so that means it shouldn't be an app thing (unless you and I have the same apps installed lol). I'm really at a loss as to why there is so much crazy drain.
AlwaysLucky said:
Well, in reality you don't need any wakelocks active. Especially if you are asleep or not going to use the device for a while. Wakelocks can be doing anything from downloading advertisements for apps, to syncing emails with servers. You could block them all in a certain time frame, but that may be overkill. I suggest just going through the list of wakelock package names before you goto bed or when you know drain is at it's heaviest. The package name may be different from the name of the app, but it should give you something to go on. Just uninstall the heavy drainers or disable them enough so they can not drain you so much.
Click to expand...
Click to collapse
I understand I do not need, but I meant how many wouldn't be "harmful". But I'll keep an eye in a night where this thing happens and get back to you.
Thanks for trying to help!
The same problem here. I lose 20% battery per night. Problem is only appearing on stock rom with stock recovery, I have installed Flumics and stock rom zip from TWRP - problem gone, but I need stock rom with stock recovery.

Question High battery consumption on idle

My phone is usually on idle and not used due to my job. But Im noticing extreme battery consumption even when Im not using it. Never had this issue with other phones. Last night I checked the batter before sleep and it was at 67% at 1 AM, today its 62% at 7 AM so there must be an issue because it should only drain 1 or 2 percents during idle.
In battery settings the top app using the battery is phone idle.
Im on xiaomi.eu 12.5.6 rom but I had the same issue with stop 12.5.3 so I dont think it's because of rom.
I had great battery life with my last phone which was poco x3 nfc with the same settings and apps so it's not because of any third party apps either.
Anyone else experiencing the same problem?
With AOSP ROMs, I even had worst experience when I installed one of the custom kernels because they somehow didn't put the phone into deep doze correctly. But yeah, the idle consumption is quite high - even on stock Kernel.
Currently I use HavocOS and its stock Kernel - and SuperFreeze (from F-Droid store) to freeze most apps right after screen lock. Idle consumption has dropped to 0.1-0.2%/h as a result. I made a thread some days ago regarding this topic... see here.
Thanks. Im gonna try your guide but it's not the most noob friendly guide I've seen
Just Kidding, thanks for your time.
Oh, my thread wasn't meant to be a guide... I did put it in "Question" like you did, but a mod seems to have moved the thread to "General"
My "solution" is only temporary - at least I hope there are still developers out there who value a low idle drain more than fast charging and benchmark numbers...
esszett said:
... and SuperFreeze (from F-Droid store) to freeze ...
Click to expand...
Click to collapse
Sorry for the OT, could it be that the app. is called SuperFreezZ?
Have you noticed any good battery life gains with this app.?
Yeah, sorry, SuperFreezZ: https://f-droid.org/en/packages/superfreeze.tool.android/
For several months I had the problem that from a certain moment, the consumption at idle suddenly increased enormously (from 0.1-0.2 % to 2-3% per hour). Even if I manually forced all apps to stop, In Android's battery info "Android OS" and "Android System" showed up with double-digit percentages. I could only get the phone back to its previous behavior with a restart.
To date, however, it is not clear to me what triggered this. I suspected GCam for a while, then Osmand+, but I couldn't ever confirm that because the problem didn't start whenever I used those programs, just sometimes.
I never found a real solution for this, but SuperFreezZ did.
The best thing I've used for years now is Greenify, its hasn't received an update in more than a year but still works perfectly
Do we need root to use these apps? I remember using greenify before onmy older devices with root but havent used it for a while. Gonna see how much it drops tonight and then try to tweek some things and recheck it tomorrow night.
Weird thing is, I was getting an awesome battery life out of poco x3 nfc, could it be because of the cpu idle? Because that's the only thing that seems different between the 2 devices. (X3 even had an lcd which is supposedly less battery friendly)
Kianush said:
Do we need root to use these apps?
Click to expand...
Click to collapse
Yes.
Kianush said:
I was getting an awesome battery life out of poco x3 nfc
Click to expand...
Click to collapse
Unfortunately, hardly anyone notices this because most users do exactly what the F3 was designed for: Playing games.
I came from a 2.5 years old F1 and it lasts easily longer than the F3 although it has a smaller battery and a LCD screen... The F3 behaves anything but fully developed. These latest high-end SOCs (870, 888) are really powerful, but unfortunately not equally power-efficient. That's the reason why I throttled the CPU and undervolted the GPU. This dropped the active drain from ~8 %/h to <5 %/h on my device and my usecases.
esszett said:
Yes.
Unfortunately, hardly anyone notices this because most users do exactly what the F3 was designed for: Playing games.
I came from a 2.5 years old F1 and it lasts easily longer than the F3 although it has a smaller battery and a LCD screen... The F3 behaves anything but fully developed. These latest high-end SOCs (870, 888) are really powerful, but unfortunately not equally power-efficient. That's the reason why I throttled the CPU and undervolted the GPU. This dropped the active drain from ~8 %/h to <5 %/h on my device and my usecases.
Click to expand...
Click to collapse
Yeah. I used to underclock the cpu on my old phones but I dont know about undervolting. wouldnt it cause issues? I just used 3c toolbox app to set a lower max clock and a lower min clock for cpu cores. I read somewhere that rooting xiaomi.eu rom breaks some functions so I havent rooted it yet. do you have any info on that?
Kianush said:
Yeah. I used to underclock the cpu on my old phones but I dont know about undervolting. wouldnt it cause issues?
Click to expand...
Click to collapse
As long you don't push too hard with undervolting, it works quite well. See attached image (it's not mine, but I have oriented to it).
Kianush said:
I just used 3c toolbox app to set a lower max clock and a lower min clock for cpu cores.
Click to expand...
Click to collapse
I've never heard of it... This seems to be a powerful tool! Nice!
Kianush said:
I read somewhere that rooting xiaomi.eu rom breaks some functions so I havent rooted it yet. do you have any info on that?
Click to expand...
Click to collapse
Konabess doesn't need root, afaik. Extract the boot.img of your ROM and copy it into a folder of your device. Then use Konabess to modify the settings and repack it into a modified boot.img. This file you can flash with TWRP. No guarantee that it works for xiaomi.eu, but it works for AOSP (at least it worked for me).
Kianush said:
My phone is usually on idle and not used due to my job. But Im noticing extreme battery consumption even when Im not using it. Never had this issue with other phones. Last night I checked the batter before sleep and it was at 67% at 1 AM, today its 62% at 7 AM so there must be an issue because it should only drain 1 or 2 percents during idle.
In battery settings the top app using the battery is phone idle.
Im on xiaomi.eu 12.5.6 rom but I had the same issue with stop 12.5.3 so I dont think it's because of rom.
I had great battery life with my last phone which was poco x3 nfc with the same settings and apps so it's not because of any third party apps either.
Anyone else experiencing the same problem?
Click to expand...
Click to collapse
I'm ont he same rom as you and let me explain my experience.
My battery has been insanely good. Even with heavy usage over a period of 4 hours, which included 1.5hrs of SoT and pandora playing though bluetooth all 4 of those hours with dolby and viper enabled. Was at 100 and dropped down to 94%. So It may be an app or setting that you have installed causing problems and draining battery. The only battery saver addition I have installed is Universal GMS doze. Idle time for me It takes me about 5 hours to drop down 1%.
Zaiaku said:
I'm ont he same rom as you and let me explain my experience.
My battery has been insanely good. Even with heavy usage over a period of 4 hours, which included 1.5hrs of SoT and pandora playing though bluetooth all 4 of those hours with dolby and viper enabled. Was at 100 and dropped down to 94%. So It may be an app or setting that you have installed causing problems and draining battery. The only battery saver addition I have installed is Universal GMS doze. Idle time for me It takes me about 5 hours to drop down 1%.
Click to expand...
Click to collapse
Well if there is an app that is causing this, it should be shown in the battery settings. But the only thing that is eating up my battery is phone idle. So it might be a service or something. Im out of options right now unless I find a way to root this rom without facing new problems.... Worst thing with miui is that you cant do things like rooting as easy as other roms.
Btw, would you please tell me the settings and xiaomi.eu version you are on? Im on 12.5.6 stable and using 120hz + vivid color scheme and most of my apps are on blcok background activity except my messaging app. And Im losing battery on phone idle not the screen on time!
Ss below.(dropped from 92 to 82 woh only 30mins screen on time doing nothing but checking xda!) And 7hrs of those 9hrs I was asleep and the phone was on airplane mode + gps off!
You could try BBS or similar apps. Maybe it's an app which prevents the phone to go to deep doze (wakelocks).
BTW: MIUI sucks
Kianush said:
Well if there is an app that is causing this, it should be shown in the battery settings. But the only thing that is eating up my battery is phone idle. So it might be a service or something. Im out of options right now unless I find a way to root this rom without facing new problems.... Worst thing with miui is that you cant do things like rooting as easy as other roms.
Btw, would you please tell me the settings and xiaomi.eu version you are on? Im on 12.5.6 stable and using 120hz + vivid color scheme and most of my apps are on blcok background activity except my messaging app. And Im losing battery on phone idle not the screen on time!
Ss below.(dropped from 92 to 82 woh only 30mins screen on time doing nothing but checking xda!) And 7hrs of those 9hrs I was asleep and the phone was on airplane mode + gps off!
Click to expand...
Click to collapse
I switch my screen refresh rate down to 60hz but since your phone is idle it really shouldn't come into play unless you have always on display or turn screen on for notifications.
Rooting this phone is amazingly easy. Takes like 5mins if that. My Mi 9 lite took longer to root then this phone.
As far as an app draining battery, It more then likely not it since you saying phone idle, which in the past people have said if you phone has problems with signal this can drain a battery. For me this has been a major issue. With AT&T service I would loose double the amount of battery over night (I play pandora through out the night when sleeping). Also if you have apps that are heavy internet usage (unsure where you at but things like facebook and messenger drain tons and yet don't register battery drain on most analytics. And since you using a xiaomi.eu rom I know alot of those bg services are disabled or removed.
Zaiaku said:
I switch my screen refresh rate down to 60hz but since your phone is idle it really shouldn't come into play unless you have always on display or turn screen on for notifications.
Rooting this phone is amazingly easy. Takes like 5mins if that. My Mi 9 lite took longer to root then this phone.
As far as an app draining battery, It more then likely not it since you saying phone idle, which in the past people have said if you phone has problems with signal this can drain a battery. For me this has been a major issue. With AT&T service I would loose double the amount of battery over night (I play pandora through out the night when sleeping). Also if you have apps that are heavy internet usage (unsure where you at but things like facebook and messenger drain tons and yet don't register battery drain on most analytics. And since you using a xiaomi.eu rom I know alot of those bg services are disabled or removed.
Click to expand...
Click to collapse
Yeah thanks for the info. I used to root my devices easily by flashing magisk but it seems they have changed the method, though I found the method on a post on xiaomi.eu website and rooted my device.
Tried to lower cpu frequencies a little and use superfreez app. It seems better now but not as good as what you say...
Gonna play with settings a little bit more and wait for another xiaomi.eu stable update to see if it's a bug on this version.
Kianush said:
Yeah thanks for the info. I used to root my devices easily by flashing magisk but it seems they have changed the method, though I found the method on a post on xiaomi.eu website and rooted my device.
Tried to lower cpu frequencies a little and use superfreez app. It seems better now but not as good as what you say...
Gonna play with settings a little bit more and wait for another xiaomi.eu stable update to see if it's a bug on this version.
Click to expand...
Click to collapse
Someone made a auto script for it, but you will have to reflash rom and factory reset data. You really shouldn't have to change cpu feqs. Also uploading a screenshot of my last 2 hours. I know its only 21min of SoT but also 2 hours off charger but playing pandora as well as some other app usage but still at 100%
esszett said:
As long you don't push too hard with undervolting, it works quite well. See attached image (it's not mine, but I have oriented to it).
I've never heard of it... This seems to be a powerful tool! Nice!
Konabess doesn't need root, afaik. Extract the boot.img of your ROM and copy it into a folder of your device. Then use Konabess to modify the settings and repack it into a modified boot.img. This file you can flash with TWRP. No guarantee that it works for xiaomi.eu, but it works for AOSP (at least it worked for me).
Click to expand...
Click to collapse
Konabess without root won't start, any idea?
thanks
tojdvd said:
Konabess without root won't start, any idea?
Click to expand...
Click to collapse
Ah, ok... I thought you could load a separate boot.img - my fault, sorry!
Then you've to have root for Konabess...
Just to show what's possible with HavocOS 4.9 and 12.5.6 EEA firmware, see atached screenshot... It's with the stock kernel of HavocOS, but with the modifications I did mention here.
Running for almost 2 days
~8 hrs SOT (2 hrs of which with 120 Hz and 2 hrs of which with 100 % brightness, otherwise 60 Hz and brightness between 25 and 50 %) and still 50 % battery left.

Question GSAM Battery Monitor - How to find wakelocks? What is preventing me from deep sleep?

Hello everyone,
initially I had great battery life on my P6P. I then later started to root, add a 2nd SIM card and installed more and more apps (the same ones I already had on my P4 XL).
I can't really say when deep sleep stopped working, but it does not work at the moment.
I am at the stock ROM and Kernel atm, but rooted.
Usually I would start BBS and figure out which wakelock is preventing me from going to deep sleep.
However, BBS doesn't seem to work on Android 12. So I tries GSAM Battery Monitor.
Attached are screenshots from 2 days with GSM Battery Monitor.
It can be seen that the device does not go to deep sleep at all.
The only way to get it into deep sleep atm, is to enable battery saver.
This causes a huge battery drain over a whole day.
This post will contain the screenshots from day #1.
The next post will contain the screenshots from day #2.
Can anyone tell me how to figure out which wakelock / which app / feature / whatever is preventing my phone from going into deep sleep?
Thanks in advance!
And this is day #2 with more detailed screenshots.
@Lughnasadh @RetroTech07 Maybe you can help me here? :S
Thanks!
I also just "Force stopped" pretty much everything under Settings -> All apps (user apps and the few system/google apps that are in the user apps list).
Still no deep sleep
Utini said:
Still no deep sleep
Click to expand...
Click to collapse
BBS works.. sometimes. You need to stick with it and get the alarms tab to show stats. That should tell you what is keeping it awake. Kernel wakelocks are useless imo. Partial wakelocks and alarms and even network usage perhaps. I have it working but it's sketchy.
Finding a needle in a haystack.
Factory reset and don't restore backup.
bobby janow said:
BBS works.. sometimes. You need to stick with it and get the alarms tab to show stats. That should tell you what is keeping it awake. Kernel wakelocks are useless imo. Partial wakelocks and alarms and even network usage perhaps. I have it working but it's sketchy.
Click to expand...
Click to collapse
So you basically install it, grant it root, and then wait until somehow magically starts to show stats?
therock3181 said:
Finding a needle in a haystack.
Factory reset and don't restore backup.
Click to expand...
Click to collapse
Ye well there must be a way to troubleshoot this.
Can't just always factory reset because something gets bugged?
Utini said:
So you basically install it, grant it root, and then wait until somehow magically starts to show stats?
Click to expand...
Click to collapse
Haha, no I don't have root. I just grant the permissions via adb. But "magically" is the key word actually. Here are a few screenshots from just now. The first 2 are pretty usual for a few of the stats but that changes. The second 2 are what I can sometimes get although that varies as well. Every other stat on the app is like the first two, not stats collected. That's what I mean by you have to stick with it. It will magically show randomly. lol Unfortunately, this round didn't show partial wakelocks which means a bunch to me. Tomorrow morning it will show.
Thanks.. I just flashed kirisakura kernel from @Freak07 since I believe that it also block some wakelocks which are enabled on stock kernel. Will try that tomorrow together with AccuBattery.
If that doesn't work, then I will try to get magic by BBS.
Utini said:
Thanks.. I just flashed kirisakura kernel from @Freak07 since I believe that it also block some wakelocks which are enabled on stock kernel. Will try that tomorrow together with AccuBattery.
If that doesn't work, then I will try to get magic by BBS.
Click to expand...
Click to collapse
If your issue is caused by an app or service (which it sounds like it probably is) constantly running in the background flashing the kernel won't help at all.
Your best bet might be BBS, battery historian (you can take a bug report and then view it there, just google it) or maybe top command.
Freak07 said:
If your issue is caused by an app or service (which it sounds like it probably is) constantly running in the background flashing the kernel won't help at all.
Your best bet might be BBS, battery historian (you can take a bug report and then view it there, just google it) or maybe top command.
Click to expand...
Click to collapse
Well, for now it seems like your kernel fixed the issue though.
I am on 70% deep sleep while screen is off according to accubattery. So I will monitor this through the rest of this day and report back.
Utini said:
Well, for now it seems like your kernel fixed the issue though.
I am on 70% deep sleep while screen is off according to accubattery. So I will monitor this through the rest of this day and report back.
Click to expand...
Click to collapse
Flashing a kernel can't fix issues with apps or services getting stuck in the background.
I guess it was the reboot that helped in the end or whatever was stuck got updated or unstuck some other way.
Freak07 said:
Flashing a kernel can't fix issues with apps or services getting stuck in the background.
I guess it was the reboot that helped in the end or whatever was stuck got updated or unstuck some other way.
Click to expand...
Click to collapse
Hmm really weird. My deep sleep is now also slowly dropping (only at 50% now).
But will see how it ends up after a working day.
I did try reboots before already. It didn't help.
But maybe so far I was working with a mix of several wakelocks which I can now narrow down.
Will try battery historian as recommend by you. Just need to find a decent guide for it first
Utini said:
Hmm really weird. My deep sleep is now also slowly dropping (only at 50% now).
But will see how it ends up after a working day.
I did try reboots before already. It didn't help.
But maybe so far I was working with a mix of several wakelocks which I can now narrow down.
Will try battery historian as recommend by you. Just need to find a decent guide for it first
Click to expand...
Click to collapse
Install better battery stats ( only kernel wakelocks tab is not working)...to check wakelocks and alarms
whats the differencd between doze and deep sleep? and is there a way in accubattery to find out, if the device is sleeping?
cultofluna said:
Install better battery stats ( only kernel wakelocks tab is not working)...to check wakelocks and alarms
Click to expand...
Click to collapse
It didn't work for me at all and I just installed it and it still isn't working for me at all.
It has root and according to the permissions tab in the app everything seems to be granted.
I downloaded the RC 2.6-382 from here: https://install.appcenter.ms/users/...stats-xda-edition/distribution_groups/testers
I will let it run for a few hours and check again.
Edit: Oh I just noticed under the permissions tab:
STATUS: Failed: Transaction failed on small parcel; remote process probably died
Any ideas?
xflowy said:
whats the differencd between doze and deep sleep? and is there a way in accubattery to find out, if the device is sleeping?
Click to expand...
Click to collapse
In Accubattery under "discharging" check for "deep sleep while screen off".
Utini said:
In Accubattery under "discharging" check for "deep sleep while screen off".
Click to expand...
Click to collapse
just found it. is 37% of it, good?
Utini said:
It didn't work for me at all and I just installed it and it still isn't working for me at all.
It has root and according to the permissions tab in the app everything seems to be granted.
I downloaded the RC 2.6-382 from here: https://install.appcenter.ms/users/...stats-xda-edition/distribution_groups/testers
I will let it run for a few hours and check again.
Edit: Oh I just noticed under the permissions tab:
STATUS: Failed: Transaction failed on small parcel; remote process probably died
Any ideas?
Click to expand...
Click to collapse
Working for me properly... besides kernel wakelocks

Categories

Resources