[Q] Why is my phone not going into deep sleep? - One (M9) Q&A, Help & Troubleshooting

For some reason my M9 doesn't want to go into deep sleep much. Out of the 1 hour I have it off the charger, only 2 minutes were in deep sleep. I haven't used the phone at all in that 1 hour, so I'm not sure why it wouldn't be sleeping.
Does anyone have this problem or know how to fix it? Thanks

https://play.google.com/store/apps/details?id=nextapp.systempanel.r1
Buy, install, do proper settings, put it into monitoring mode.. then switch of screen and go sleep - in the morning see the activities what were happening during the night monitored..

jauhien said:
https://play.google.com/store/apps/details?id=nextapp.systempanel.r1
Buy, install, do proper settings, put it into monitoring mode.. then switch of screen and go sleep - in the morning see the activities what were happening during the night monitored..
Click to expand...
Click to collapse
I've used a very similar app. There are no wake locks. All it says is "Android OS" is using 100% of the screen off battery. Even in the normal HTC battery settings, android OS is using 100%. Thanks for the help though.

System Panel is neither similar nor showing you those funny wakelocks..
It thoroughly informs you about CPU usage last night..

jauhien said:
System Panel is neither similar nor showing you those funny wakelocks..
It thoroughly informs you about CPU usage last night..
Click to expand...
Click to collapse
Thanks, but all those apps are the same. They can only get a certain amount of info from the core system. There are apps that do the exact same thing for free, which is what I use.
As an update to my problem, rebooting the phone and clearing cache seemed to have solved the issue for now.

aooga said:
Thanks, but all those apps are the same. They can only get a certain amount of info from the core system. There are apps that do the exact same thing for free, which is what I use.
As an update to my problem, rebooting the phone and clearing cache seemed to have solved the issue for now.
Click to expand...
Click to collapse
If you run out of ideas on how to fix this, I'd say get root, get Xposed, and get Power Nap. Pretty much blocks all wakelocks at night and I see like 1% drain the next morning.

Cryosx said:
If you run out of ideas on how to fix this, I'd say get root, get Xposed, and get Power Nap. Pretty much blocks all wakelocks at night and I see like 1% drain the next morning.
Click to expand...
Click to collapse
Wait...xposed works on 64bit phones? Wow I've been missing out for nothing lol.

Yes, but make sure you use the xposed arm64 file.

This thread has the stuff
Here's the zip you want xposed-sdk21-arm64.zip
And you also need the alpha installer.

Related

How can I track down my battery drain?

Leaving my OP in place, but I have rewritten the description with much more detail and pics here
http://forum.xda-developers.com/showthread.php?p=25401417#post25401417
I suggest skipping to there.
I am looking for general tips here. E.g., not asking you to diagnose my specific problem so much as give me ideas of what else to check or try.
Lately I have had unexplained (to me) battery drain. Yesterday I lost about 25 percent in an hour while the phone idled. It is not a constant thing, though. I can go an hour and loose 1 percent then loose massive amounts in the next hour.
Now, i have searched, but I have not found anything that applies to me.
I have:
Tried a different radio
Tried a different kernel
Reflashed my rom
Phone is entering deep sleep according to cpu spy
There are no unusual or excessive wake locks according to better battery stats
No apps are using a lot of battery.
I am in a low signal area at work, but putting the phone in airplane mode and dissabling background syn does not stop the drain.
Ideas?
might be your phone is loosing signal? i would check the battery stats in the settings menu to see if you have a poor mobile signal.
Zepius said:
might be your phone is loosing signal? i would check the battery stats in the settings menu to see if you have a poor mobile signal.
Click to expand...
Click to collapse
beren28 said:
I am in a low signal area at work, but putting the phone in airplane mode and dissabling background syn does not stop the drain.
Click to expand...
Click to collapse
So I don't think I can blame it on that.
Do you have any exchange sync on your phone?
Sent from my Galaxy Nexus using Tapatalk 2
can you give us screen shots of battery stats?
Herman76 said:
Do you have any exchange sync on your phone?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I do, and on reflection it is a possible culprit since I added it recently.
Didn't occur to me since it was producing no wakelocks and the battery stats did not showing as using much battery.
I shall turn it off for a bit and see if that helps. (unless there is some other way to test if it is the problem first.) I am off to the search button!
Zepius said:
can you give us screen shots of battery stats?
Click to expand...
Click to collapse
This is from yesterday when i set it down unused for about 90 minutes. The amount of wakes seems liek a lot, but it is similar to what i see when i have far far less drain, so I don't think that is the problem. I didn't get the app list screen, but out should screen as the only major drain with about 2 minutes.
I know it is shows poor signal strength, so immediately after that shot I put it in airplane mode, turned of sync, and rebooted. The battery continued to drain and graph had the exact same slope under those conditions. (Forget to get a pic though.)
Sent from my jitterbug using tapatalk.
System panel paid version with monitoring enabled is the best for tracking apps using CPU.
OK, still working on this.
To recap:
When the screen is off, and no apps are running I sometimes get inexplicable battery drain. This is occurring under conditions when I should be experiencing little or no drain at all. I say this becuase:
The screen is of and no bakground apps are running
the phone is NOT awake and IS entering deep sleep (as confirmed by cpuspy)
there are no unusual kernel or partial wake locks
there are no apps listed as using unexpected ammounts of battery
This is not a universal problem. The phone *often* behaves as expected. I can leave the phone off for an hour and see a 1% or 2% drain, and I am happy with that. However, sometimes, randomly, it goes nuts on my.
This graph from a few weeks ago shows what I mean. Look in the green box. The phone is sleeping, and the screen is off. The graph starts as a flatline, then, all of a sudden, it begins to drop precipitously.
Here is a graph that shows the battery dropping at the same rate whether the phone is awake or sleeping:
I have gone the following to try and narrow the problem down:
Done a completely fresh install of my Rom including a system wipe.
Tried two kernels (the aokp default and several relases of Franco's
Tried a different radio
Activated and installed a new sim card
I have come to suspect that the problem is network related. When the problem starts, sometimes going into airplane mode and back and/or toggling 2g only temporarily fixes the problem.
I suspect that something is happening with my connection to T-Mobile that keeps the network running and draining power. This is pure speculation, but it is all I can think of.
I installed juice defender (which I had not been previously running) and noticed the that, sometimes, it didn't turn of data when it should have. I also noticed the following two things happen:
I do not believe it is a rom problem, since if so, someone else would be reporting this. It might be an app problem, but if so the app is draining battery without a wake lock and while the phone is in deep sleep.
It is not exchange (as was suggested in this thread) since it continues when I ev my exchange account.
I have no idea what else to do or try.
Since it happens at random and takes a while to identify, uninstalling one app at a time to test for that could easily take months to narrow down a misbehaving app.
I know it is not a hardware issue since last month I got this:
That was with AOKP and Franco (earlier versions obviously)
I have google searched till my fingers bleed.
I am a long way form being an expert, and I suspect I may have overlooked something obvious.
Please, any thoughts??
Damn you definitely have a major issue and I don't know what it could be. But when my phone sleeps itstays dead flat with no awake bars, and drops 1% every 3 hours.
1. Calibrate battery
2. If you really wanna find the problem, install the rom with no mods or apps and run it and see if it still happens. Then add back each mod/app one at a time
derekwilkinson said:
1. Calibrate battery
2. If you really wanna find the problem, install the rom with no mods or apps and run it and see if it still happens. Then add back each mod/app one at a time
Click to expand...
Click to collapse
While I appreciate your effort, this is remarkable unhelpful for the following reasons:
1. "calibrating" the battery is a myth and doesn't actually do something. Even if it did, it would not explain the symptoms I have described. I have been around xda long enough to know it is the knee-jerk reaction to any battery question, but it is not relevant here.
2. Since the problem occurs at random, and sometimes takes hours to show up, (For instance, last night I charged to full and tried to catch it happening. For 4 hours nothing happened, it behaved perfectly. Then I went to bed and it immediately started to fall and was dead by morning) and since I have over 100 apps, your suggestion could easily take *over a year* to follow. Believe me, I have thought about it, but I started this thread hoping for ideas that would allow me to avoid it.
Here is that chart for last night.
I had about 1 hour and 30 minutes screen on time with 65% left when I went to bed. When I woke up, phone was dead.
RogerPodacter said:
Damn you definitely have a major issue and I don't know what it could be. But when my phone sleeps itstays dead flat with no awake bars, and drops 1% every 3 hours.
Click to expand...
Click to collapse
Mine often does that. But sometimes it doesn't. It is the fact that it happens seemingly at random that makes it so annoying and hard to track down.
I would replace the battery
One thing you haven't rulled out is that the battery itself is bad.
Have a friend you could swap with for a day, or at least long enough to see if the problem follows? If your battery drops on their phone that is also a good indication.
arw01 said:
One thing you haven't rulled out is that the battery itself is bad.
Have a friend you could swap with for a day, or at least long enough to see if the problem follows? If your battery drops on their phone that is also a good indication.
Click to expand...
Click to collapse
The thought has occurred to me, but unfortunately, no, I don't have a friend I can swap with. And really, since I have had the phone less than 3 months, the battery *shouldn't* be bad, but yeah, defective products happen.
If I cannot find any other cause I will likely order a new battery and see if that fixes it.
beren28 said:
While I appreciate your effort, this is remarkable unhelpful for the following reasons:
1. "calibrating" the battery is a myth and doesn't actually do something. Even if it did, it would not explain the symptoms I have described. I have been around xda long enough to know it is the knee-jerk reaction to any battery question, but it is not relevant here.
2. Since the problem occurs at random, and sometimes takes hours to show up, (For instance, last night I charged to full and tried to catch it happening. For 4 hours nothing happened, it behaved perfectly. Then I went to bed and it immediately started to fall and was dead by morning) and since I have over 100 apps, your suggestion could easily take *over a year* to follow. Believe me, I have thought about it, but I started this thread hoping for ideas that would allow me to avoid it.
Click to expand...
Click to collapse
1. yes battery calibration does make a difference.
2. ok, so an app can't run a process at random? especially when you have "over 100 apps"? Run the rom stock and see if it still happens, or even run the stock rom/kernel. if you don't want to try this then why are you asking for suggestions? christ
derekwilkinson said:
1. yes battery calibration does make a difference.
Click to expand...
Click to collapse
You are incorrect. But, in any case, I DID calibrate the battery just to cover bases in the case that I was wrong.
2. ok, so an app can't run a process at random? especially when you have "over 100 apps"?
Click to expand...
Click to collapse
We'll of course it can. That is kinda my point. If I go one app at a time waiting for it to "run a process at random" I am talking literally MONTHS of testing. I would have to wait many hours, if not days after installing or uninstalling an app to be sure whether or not it made a difference, then move on the the next. This is simply not an option. I started this thread in hopes that a realistic and doable solution might exist that I was unaware of.
Run the rom stock and see if it still happens, or even run the stock rom/kernel. if you don't want to try this then why are you asking for suggestions? christ
Click to expand...
Click to collapse
I am asking because there may be a solution that I am unaware of that doesn't require me to put my entire life on hold for months. It is possible that there is no such solution, but I asked in case there was one.
Sorry to have put you out so much.
You mentioned you recently installed exchange sync. Did turning off sync remedy this or have you not tried disabling all sync features?
One other thing to check is the background data usage of your apps. You'd find this under 'data usage' and make sure you enable the wifi tab so you can see data usage on wifi.
skadebo said:
You mentioned you recently installed exchange sync. Did turning off sync remedy this or have you not tried disabling all sync features?
when i did a complete quote and re flash i did not setup the exchange account, but the issue continued.
One other thing to check is the background data usage of your apps. You'd find this under 'data usage' and make sure you enable the wifi tab so you can see data usage on wifi.
Click to expand...
Click to collapse
I'll check that out. Thanks.
Sent from my jitterbug using tapatalk.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
My battery also drains at a rate similar to yours however I'm on the CDMA version. Hopefully you can figure out what's going on with yours.

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.

High battery drain with doze overnight

I'm no stranger to Android and troubleshooting problems, but right now I'm honestly at a loss as to what is causing my battery drain. I'm losing a little over 1% per hour while the device is in doze overnight, adding up to around 10-12% over 8 hours. Previously the max I would lose was close to 5%. I can't pinpoint exactly when something went rogue, but I want to say it was after the January update. I don't think I've added any new apps. I've obviously tried to clear data/cache in Google Play Services among some other apps too.
I've tried to use the battery historian, GSam, BBS, you name it. GSam is showing my device as constantly waking up overnight while in deep doze, but I can't attribute that to any wakelocks. BBS is basically clean as far as partial wakelocks go, and battery historian shows that 7% of the battery drain is unaccounted for. The one thing I have seen a few nights now is the Significant Motion that's in Google Play Services. I've also seen that under Phone and under Android System. I'm wondering if it's some kind of sensor, but I can't figure out what is causing it to stay on. I keep my phone on my nightstand overnight.
My next steps are going to be turning off always on display (AOD), turning on airplane mode overnight, and then doing a factory reset. I'll report back for anyone that comes across here, but I wanted to see if anyone has had similar issues.
I'm attaching a few screenshots, maybe someone can pick up something I'm missing.
https://imgur.com/a/rGxXQ
bosox284 said:
I'm no stranger to Android and troubleshooting problems, but right now I'm honestly at a loss as to what is causing my battery drain. I'm losing a little over 1% per hour while the device is in doze overnight, adding up to around 10-12% over 8 hours. Previously the max I would lose was close to 5%. I can't pinpoint exactly when something went rogue, but I want to say it was after the January update. I don't think I've added any new apps. I've obviously tried to clear data/cache in Google Play Services among some other apps too.
I've tried to use the battery historian, GSam, BBS, you name it. GSam is showing my device as constantly waking up overnight while in deep doze, but I can't attribute that to any wakelocks. BBS is basically clean as far as partial wakelocks go, and battery historian shows that 7% of the battery drain is unaccounted for. The one thing I have seen a few nights now is the Significant Motion that's in Google Play Services. I've also seen that under Phone and under Android System. I'm wondering if it's some kind of sensor, but I can't figure out what is causing it to stay on. I keep my phone on my nightstand overnight.
My next steps are going to be turning off always on display (AOD), turning on airplane mode overnight, and then doing a factory reset. I'll report back for anyone that comes across here, but I wanted to see if anyone has had similar issues.
I'm attaching a few screenshots, maybe someone can pick up something I'm missing.
https://imgur.com/a/rGxXQ
Click to expand...
Click to collapse
Are you rooted by chance? I've seen this mentioned in a couple other threads. Seems the culprit has something to do with GPS's, tethering in developer options, wifi and bluetooth scanning or a rouge app. Most all the cases I've seen have been since the 8.1 update.
Solutions I've seen...turn off everything in the pic.
Clear cache/data on play services(kinda risky)
Clean flash the January update with fastboot.
Turn off bluetooth and wifi scanning.
Check your router setup(some wifi setups like to keep waking the device. I get this in hotels at times)
Try turning wifi off at night.
How many apps are using location services?(I had a weather app that was keeping my device awake)
This can definitely be a bugger to identify. Sure hope you find it ?
Badger50 said:
Are you rooted by chance? I've seen this mentioned in a couple other threads. Seems the culprit has something to do with GPS's, tethering in developer options, wifi and bluetooth scanning or a rouge app. Most all the cases I've seen have been since the 8.1 update.
Solutions I've seen...turn off everything in the pic.
Clear cache/data on play services(kinda risky)
Clean flash the January update with fastboot.
Turn off bluetooth and wifi scanning.
Check your router setup(some wifi setups like to keep waking the device. I get this in hotels at times)
Try turning wifi off at night.
How many apps are using location services?(I had a weather app that was keeping my device awake)
This can definitely be a bugger to identify. Sure hope you find it
Click to expand...
Click to collapse
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
I wouldn't worry about turning off AOD saving you a bunch, I turned mine off and didn't notice any diff at all in overnight batt drain, so set it to DIM, and still haven't noticed any additional batt drain from when it was off.
If you really want to be a miser without totally losing AOD,
"always on" OFF,
"Lift to check phone" ON,
(Settings>Display>Ambient display>)
set it to DIM (Settings>Display>Screen Saver>Current Screen Saver gear>Night mode checked)
which is how mine is set up
Badger50 said:
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
Click to expand...
Click to collapse
Where is that fix touch module?
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
Where is that fix touch module?
Click to expand...
Click to collapse
Look in downloads in magisk manager.
Badger50 said:
Wtf weather was the one giving me trouble at one time. I just turned a few things off on that one. Are you using the "enable doze for GSM" magisk module like in the pic. That really seems to keep google play services in check :good:
Click to expand...
Click to collapse
I've been trying to avoid using that module just because I don't want to delay anything from GCM, but I'm going to look into it if I can't identify another culprit.
bosox284 said:
I've been trying to avoid using that module just because I don't want to delay anything from GCM, but I'm going to look into it if I can't identify another culprit.
Click to expand...
Click to collapse
Delay what? ?
Badger50 said:
Delay what? <span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_32.png);background-position:73.97179788484137% 79.9647473560517%;background-size:5418.75% 5418.75%" data-codepoints="1f914"></span></span>
Click to expand...
Click to collapse
GCM = Google Cloud Messaging, it's integrated into apps for push notifications. My (perhaps incorrect) assumption is that by dozing Play Services, you could delay push notifications for other apps.
bosox284 said:
GCM = Google Cloud Messaging, it's integrated into apps for push notifications. My (perhaps incorrect) assumption is that by dozing Play Services, you could delay push notifications for other apps.
Click to expand...
Click to collapse
Haven't noticed any delay what so ever with any push notifications from any apps. Google or otherwise :good:
I lost 11% overnight (8 hours), I have Amplify, Enable Doze for Google Play Services Magisk module and ForceDoze, and still getting that drain.
Could it be these apps conflicting with one another?
I noticed this as well and it seems to have started after the January update. Although mine isn't quite as bad. Pre-January update I was losing about 2-3% in like 8 hours. I'm now losing that much in like 4-5 hours. There were 2 days in a row where I actually lost like 15-18% over like 7 hours.
rickysidhu_ said:
I lost 11% overnight (8 hours), I have Amplify, Enable Doze for Google Play Services Magisk module and ForceDoze, and still getting that drain.
Could it be these apps conflicting with one another?
Click to expand...
Click to collapse
Get rid of amplify and forcedoze. Then see what happens. You've got too many things trying to do the same thing!
The Jan update has been ****. I would get almost 7 hrs SOT with 20% left. Now all I get is ****ty 4 hrs and phone at 10%. Usage wise it's the same since day 1 nothing new as such. No rogue app on BBS. This is messed up.
Badger50 said:
Get rid of amplify and forcedoze. Then see what happens. You've got too many things trying to do the same thing!
Click to expand...
Click to collapse
Yeah I had a feeling that could be it. I'll give it a shot by removing them, thanks for the suggestion! :highfive:
Badger50 said:
Look in downloads in magisk manager.
Click to expand...
Click to collapse
It isn't there that's why i asked
Sent from my Google Pixel 2 XL using XDA Labs
bosox284 said:
I am rooted. I've got WiFi/bluetooth scanning off, but I did just notice that Tethering hardware acceleration was on. I'm turning that off. I'll see how that goes tonight, if it's still draining then I'll try turning WiFi off and see what happens.
I've got GasBuddy, Google, Play Services, Maps, and WTForecast using location. None of those usually show up in any battery stats aside from Play Services.
Click to expand...
Click to collapse
Try to run "su" and then "top" from terminal,
See what is your top process,
In one occassion, my magisk hide stucked up and using 30%++ of CPU all the time, even when idle, and that drain the battery in no time,
Am on 8.1 Jan, Kiriskura Kernel,
Tweak applied is Brevent, Amplify and my own EnableDoze for GMS.
Never lost more than 5% in 9 hours of sleep. Average is 2-3% with wifi on. Less than 2% when network is totally off
Prattham said:
It isn't there that's why i asked
Click to expand...
Click to collapse
You can try the one attached.
I cant find it in download section as well
Prattham said:
It isn't there that's why i asked
Click to expand...
Click to collapse
My bad. I forgot that it was a special build by another user. Install it from magisk manager. If it doesn't install, then flash it in twrp.
https://github.com/AndroPlus-org/ma...b/master/magisk-module-fix-touch-pixel2xl.zip

Razer phone not Deep sleeping according to AccuBattery discharge tests!

Razer phone not Deep sleeping according to AccuBattery discharge tests!
I have crap battery life when the phone is not in use. Loosing about 7% an hour with screen off and sleeping.
Wifi on, mobile data off, bluetooth off and nfc. So whats causing the drain with battery?
:edit (Plus phone set to 60fps and battery saving with all apps. )
I see no signs of this device actually deep sleeping. I have no apps that cause this either so whats the deal?
Do any other users notice this issue?
Also Whats with the rapid charge? The phone charges to about 25% rapid charge then drops to a low charge that drops slowly until 100% is reached. This takes fully charging to around 1 hour 20 minutes, That is not rapid charging! You can also see this yourself with accubattery charge monitoring. Have others noticed these issues?
I've just noticed the same issue today. Yesterday when I went to sleep, I left my phone around 65% and when I woke up it had 30%.
Could that be fixed when they release Oreo update? I'm kinda worried about it :/
el4nimal said:
I've just noticed the same issue today. Could you install accubattery to confirm this issue?
Would help if other users also installed accubattery to see if anyone is getting the phone to deep sleep.
Click to expand...
Click to collapse
arnookie said:
el4nimal said:
I've just noticed the same issue today. Could you install accubattery to confirm this issue?
Would help if other users also installed accubattery to see if anyone is getting the phone to deep sleep.
Click to expand...
Click to collapse
Sure. I already installed it...I'm not sure how to test that though
Click to expand...
Click to collapse
I always use accubattery and it shows me that 70% of my screen off time is spent in deep sleep.. Dont know what to tell you guys but it's gotta be something you installed.. Phone runs fine and sleeps like it should
el4nimal said:
arnookie said:
Sure. I already installed it...I'm not sure how to test that though
Click to expand...
Click to collapse
just select discharge in accubattery under screen off it tells you if the phone went into deep sleep.
Click to expand...
Click to collapse
arnookie said:
el4nimal said:
just select discharge in accubattery under screen off it tells you if the phone went into deep sleep.
Click to expand...
Click to collapse
It does say the time the phone went into deep sleep.
But I keep thinking that it's draining more battery than it should when the screen off.
I just have the apps that were already installed, plus a couple of games
Click to expand...
Click to collapse
OK I found the issue that cause the Razer not deep sleeping. The Theme store that is pre-installed to the phone was keeping the phone from deep sleeping. Disable the Razer Theme app from app settings. You can re-enable it afterwards and the phone will deep sleep fine after. This caused me several issues regarding battery life.
I also checked my sons Razer and even though his was deep sleeping Disabling and re enabling the Razer Theme app made the phone deep sleep better with less wake-ups,
I would suggest everyone either disables the Razer theme store app or at least disables and re-enable the app to get better deep sleep.
I was loosing 7% an hour because of this app issue. Try it you will see a great improvement in screen off time.
Disable the Razer theme store completely if you get poor battery drain with screen off. After further testing The Theme store app is causing the issue and after re-enabling it the drain came back about 3 hours later. I suggest to keep the Theme store disabled until you need it. This has sorted my never sleeping issue and stopped the 7% per hour battery drain in standby.
arnookie said:
Disable the Razer theme store completely if you get poor battery drain with screen off. After further testing The Theme store app is causing the issue and after re-enabling it the drain came back about 3 hours later. I suggest to keep the Theme store disabled until you need it. This has sorted my never sleeping issue and stopped the 7% battery drain in standby.
Click to expand...
Click to collapse
I did and it worked! It's draining slower while screen is off. Thank you very much!
el4nimal said:
I did and it worked! It's draining slower while screen is off. Thank you very much!
Click to expand...
Click to collapse
Great that's confirmed the issue is the Theme store app causing the phone not to deep sleep. Glad it worked for you. :0-)
Strangely enough my Accubattery says my phone is in deep sleep 90%+ of screen off-time yet I'm also getting the same 7-10%/h drain with the screen off. Will be disabling theme store just in case that really is the problem
Yes there is a problem I spoke to razer support. I told them of the issue and that it was razer theme store causing the phone not to sleep. The support guy had me talk to the engineering team who were to say the least extremely pleased that I found what had been causing the issue. According to the engineering team they have been looking for the cause of this issue for last couple of months. They swore that they would fix the no deep sleep issue in the app in the next update. Even said they would send me a spare charger as a thank you for finding the problem. They also said that orio would release by the end of march but no sign of that yet. It's seems a strange problem that is not effecting all razer phones.
Would be nice to know who has factory reset after doing the last update and who hasn't.
I have not factory reset but my phone was already updated straight out of the box. Have other updated and factory reset?
arnookie said:
Yes there is a problem I spoke to razer support. I told them of the issue and that it was razer theme store causing the phone not to sleep. The support guy had me talk to the engineering team who were to say the least extremely pleased that I found what had been causing the issue. According to the engineering team they have been looking for the cause of this issue for last couple of months. They swore that they would fix the no deep sleep issue in the app in the next update. Even said they would send me a spare charger as a thank you for finding the problem. They also said that orio would release by the end of march but no sign of that yet. It's seems a strange problem that is not effecting all razer phones.
Would be nice to know who has factory reset after doing the last update and who hasn't.
I have not factory reset but my phone was already updated straight out of the box. Have other updated and factory reset?
Click to expand...
Click to collapse
I have factory reset and found out my personal problem was WiFi. After changing from 5GHz to 2.4Ghz my drain is back to around 0.8 an hour. Nearly 0 if I turn WiFi off completely but im still doing testing. It's strange though as all my tests have been next to the router so I shouldnt be getting excessive drain from poor signal
Im unsure if this is releated and put the app on my phone to just check as im a man who likes stats. I have noticed that when relaxing with the phone on charge the screen will randomly light up with no notification to trigger this happening.
My Phones just laying there on charge and the screen will light up still locked with no notifications and a few seconds later it will turn off the screen again its bugging me as im not seeing a reason to why this is happening.
---------- Post added at 01:56 PM ---------- Previous post was at 01:37 PM ----------
arnookie said:
Yes there is a problem I spoke to razer support. I told them of the issue and that it was razer theme store causing the phone not to sleep. The support guy had me talk to the engineering team who were to say the least extremely pleased that I found what had been causing the issue. According to the engineering team they have been looking for the cause of this issue for last couple of months. They swore that they would fix the no deep sleep issue in the app in the next update. Even said they would send me a spare charger as a thank you for finding the problem. They also said that orio would release by the end of march but no sign of that yet. It's seems a strange problem that is not effecting all razer phones.
Would be nice to know who has factory reset after doing the last update and who hasn't.
I have not factory reset but my phone was already updated straight out of the box. Have other updated and factory reset?
Click to expand...
Click to collapse
I believe that i factory wiped mine using the software options within the OS as part of an issue im having wth the netflix app crashing i cant say that ive seen a battery dip as other have done above but charging my phone over night to 100% i only see it dip when im watching youtube or actually using the phone. When the screens off im not seeing huge % of battery drop. i leave WIFI on and switch between 5ghz and 2.4ghz when its at home and at work i manually turn it off as i dont want my phone connected to works wifi.
I also leave bluetooth enable and never turn this off howver i do turn the Razer BT headphones off when not in use to save battery.
Will keep you updated
Oddly enough i just got a new Razer Theme Store update will check the patch notes for deep sleep fix.
iStasis said:
I have noticed that when relaxing with the phone on charge the screen will randomly light up with no notification to trigger this happening.
Click to expand...
Click to collapse
I used to see that behaviour on my Note 5. I noticed that the screen light up showing a notification from Google Playstore while an app was being updated, and then it faded away as soon as it finished. Sometimes this happened so fast that I could only see the notification already fading away.
el4nimal said:
I used to see that behaviour on my Note 5. I noticed that the screen light up showing a notification from Google Playstore while an app was being updated, and then it faded away as soon as it finished. Sometimes this happened so fast that I could only see the notification already fading away.
Click to expand...
Click to collapse
Good call on that as it wasnt something I thought to check as its so quick!
For now I have gone into Playstore > Settings > Notification Settings >
Updates (Left on) as i should get the this app has an update message stay in the noticfication drop down.
Auto-Updates (Turned Off) hopefully it wont tell bother me and leave the phone screen off and this should fix my issue
iStasis said:
Good call on that as it wasnt something I thought to check as its so quick!
For now I have gone into Playstore > Settings > Notification Settings >
Updates (Left on) as i should get the this app has an update message stay in the noticfication drop down.
Auto-Updates (Turned Off) hopefully it wont tell bother me and leave the phone screen off and this should fix my issue
Click to expand...
Click to collapse
Please let us know if it fixes the issue.
Also, I've noticed that my battery is draining like 15-20% during the night (about 6 hours). Yesterday I tried turning off WiFi and Mobile Data before going to sleep, and when I woke up today, I noticed it drained only 1% during those 6 hours!
Is normal that Wifi/Mob8ke Data drain so much battery while inactive?

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