Insane battery graphs consistently - OnePlus 3 Questions & Answers

I have been having these kinds of battery graphs since very long time. Using stock oos 4.0.3 without root and have locked bootloader.
I tried cleading data of google play & service' apps and even cleared cache from recovery. Disabled the hibernation feature in battery settings and enabled doze from developer options. This made no effect. So switched back to default settings again.

Ashish.akc said:
I have been having these kinds of battery graphs since very long time. Using stock oos 4.0.3 without root and have locked bootloader.
I tried cleading data of google play & service' apps and even cleared cache from recovery. Disabled the hibernation feature in battery settings and enabled doze from developer options. This made no effect. So switched back to default settings again.
Click to expand...
Click to collapse
What's the problem exactly?
Sent from my ONEPLUS A3000 using Tapatalk

uudruid74 said:
What's the problem exactly?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Phone doesn't doze' properly. It stays awake even when am not using it and drains battery a lot. I have seen phone getting warm several times even when it's just lying. SOT is very poor considering i have not changed my usage scenario and have given a lot of time for the OS to settle properly as well..

Here's another screenshot just after i woke up. Phone was chraged upto 98% when i went to sleep and it came down to 65%

Ashish.akc said:
Here's another screenshot just after i woke up. Phone was chraged upto 98% when i went to sleep and it came down to 65%
Click to expand...
Click to collapse
Your phone is awake most of the time. Install BBS from its thread in XDA, learn how to produce idle logs in BBS and post one in the BBS thread.
Mind you, on Nougat, there is not much option for controlling alarms/wakelocks except using Greenify and MyAndroidTools. No Xposed and so no Amplify.

Ashish.akc said:
Here's another screenshot just after i woke up. Phone was chraged upto 98% when i went to sleep and it came down to 65%
Click to expand...
Click to collapse
Did you turn on the aggressive doze option? I bet you have some app like Facebook keeping the phone awake. The other answer to grab BBB is a good idea
Sent from my ONEPLUS A3000 using Tapatalk

uudruid74 said:
Did you turn on the aggressive doze option? I bet you have some app like Facebook keeping the phone awake. The other answer to grab BBB is a good idea
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Yes i have enabled the aggressive doze and about the facebook draining, i think it is not from facebook because i rarely use it and it appears rarely in battery stats.
Here are some screenshots from BBS:
Custom one is when in the evening i had set the custom ref. after clearing all recent tasks. Check these if get something from these. I don't see any deep sleep stats any given time

Ashish.akc said:
Yes i have enabled the aggressive doze and about the facebook draining, i think it is not from facebook because i rarely use it and it appears rarely in battery stats.
Here are some screenshots from BBS:
Custom one is when in the evening i had set the custom ref. after clearing all recent tasks. Check these if get something from these. I don't see any deep sleep stats any given time
Click to expand...
Click to collapse
You need to get an idle dump of at least 6 hours along with screenshots of the battery and battery history page of Settings. These screenshots are not going to help anyone to analyze your issue.

install logcat and see if it spams same error message over and over.

Related

[Q] Why is my phone not going into deep sleep?

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.

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.

Battery Drain

Ever since I updated to 8.1.0 with December security patch, I've noticed my battery draining faster than normal. I was getting 4-5 hours of SOT with around 45-50% battery left. This was after being off the charger for 12-16 hours. Now I'm getting about half the SOT at similar numbers. Anyone have any ideas?
Sent from my Nexus 6 using Tapatalk
andrewjt19 said:
Ever since I updated to 8.1.0 with December security patch, I've noticed my battery draining faster than normal. I was getting 4-5 hours of SOT with around 45-50% battery left. This was after being off the charger for 12-16 hours. Now I'm getting about half the SOT at similar numbers. Anyone have any ideas?
Click to expand...
Click to collapse
Excuse my stating the obvious, but you need to find what process or app is using the battery. You should be able to get a rough idea just using the new features under Settings>>Battery. It will identify which apps are using the most juice. Run the phone in Safe Mode to see if your battery life goes back to normal. It could also be a service like Google Play Service which sometimes wigs out and starts chewing battery. Are you rooted? If you need more detailed information there are battery drain apps available to help isolate the problem (BBS and GSam). These apps require root to give the best results.
v12xke said:
Excuse my stating the obvious, but you need to find what process or app is using the battery. You should be able to get a rough idea just using the new features under Settings>>Battery. It will identify which apps are using the most juice. Run the phone in Safe Mode to see if your battery life goes back to normal. It could also be a service like Google Play Service which sometimes wigs out and starts chewing battery. Are you rooted? If you need more detailed information there are battery drain apps available to help isolate the problem (BBS and GSam). These apps require root to give the best results.
Click to expand...
Click to collapse
Not rooted and currently locked. I've downloaded GSAM and have adb permissions and it simply says things like Chrome, RCS Phone and Play services. If you see from the photos below you can see what I'm talking about. Chrome currently isn't that bad, but yesterday and the past couple days it's been like 9% or more of the battery.
https://photos.app.goo.gl/hFvQKO7q3pZTHFNb2
Sorry the screenshots were too large for uploading.
Sent from my Nexus 6 using Tapatalk
andrewjt19 said:
Not rooted and currently locked. I've downloaded GSAM and have adb permissions and it simply says things like Chrome, RCS Phone and Play services. If you see from the photos below you can see what I'm talking about. Chrome currently isn't that bad, but yesterday and the past couple days it's been like 9% or more of the battery.
Click to expand...
Click to collapse
Two things: I've never seen phone or kernel use that much battery. On one page phone usage is 33 seconds, yet it used 9% ? I think RCS is running the background all the time. See if you can toggle it to not run in the background under Settings>>Apps>. High kernel I'm guessing is a kernel wakelock or multiple. You've probably loaded app(s) that are creating the problem, but you need to find out which one is causing the wakelocks. There is a wakelock detector "lite" app that doesn't need root but I don't know how well it works. I know the root version works well. Lastly, on the first screenshot with the battery, scroll to the bottom of the page and see which apps are listed there. I'd be willing to bet if you ran the phone in Safe Mode, your battery drain would disappear, meaning your user apps are causing it.
v12xke said:
Two things: I've never seen phone or kernel use that much battery. On one page phone usage is 33 seconds, yet it used 9% ? I think RCS is running the background all the time. See if you can toggle it to not run in the background under Settings>>Apps>. High kernel I'm guessing is a kernel wakelock or multiple. You've probably loaded app(s) that are creating the problem, but you need to find out which one is causing the wakelocks. There is a wakelock detector "lite" app that doesn't need root but I don't know how well it works. I know the root version works well. Lastly, on the first screenshot with the battery, scroll to the bottom of the page and see which apps are listed there. I'd be willing to bet if you ran the phone in Safe Mode, your battery drain would disappear, meaning your user apps are causing it.
Click to expand...
Click to collapse
https://photos.app.goo.gl/4v8seKwMJnceaVUG3
Well in safe mode my drain is gone so I'm not sure which app is doing it, but to directly answer your question about the RCS it is an overall app meaning it is related to several Google play services. I'll upload a photo of it. I have to reboot into normal mode.
Edit: I'm wrong about that it was the play services.. I'll have to start uninstalling the apps to determine which one is draining the battery I guess.
andrewjt19 said:
https://photos.app.goo.gl/4v8seKwMJnceaVUG3
Well in safe mode my drain is gone so I'm not sure which app is doing it, but to directly answer your question about the RCS it is an overall app meaning it is related to several Google play services. I'll upload a photo of it. I have to reboot into normal mode.
Edit: I'm wrong about that it was the play services.. I'll have to start uninstalling the apps to determine which one is draining the battery I guess.
Click to expand...
Click to collapse
RCS can be a real battery hog, but I don't know why. I don't have RCS on AT&T. Do you use Messages as your primary SMS? Open Settings>>Advanced and see if you can toggle off "Enhanced Features". Open properties and check if it is using battery optimization. If it is not, set Messages to battery optimization. You can always turn these back on later if the battery drain remains.
My battery life has been restored to pretty much the same as it was with 8.0. I also noticed poor battery life after installing the 8.1 update, even though they changed the way battery life is estimated with this update (supposedly). Something just felt off, but now everything feels great! I am fairly certain what changed is installing the Greenify Magisk module and/or the Google play services doze module (this enables battery optimization on the Google play services app). Not sure which one really made the difference because I installed them at the same time. However, there is definitely a major difference!!
js042507 said:
My battery life has been restored to pretty much the same as it was with 8.0. I also noticed poor battery life after installing the 8.1 update, even though they changed the way battery life is estimated with this update (supposedly). Something just felt off, but now everything feels great! I am fairly certain what changed is installing the Greenify Magisk module and/or the Google play services doze module (this enables battery optimization on the Google play services app). Not sure which one really made the difference because I installed them at the same time. However, there is definitely a major difference!!
Click to expand...
Click to collapse
Here's proof!!
js042507 said:
Here's proof!!
Click to expand...
Click to collapse
In my experience that's really good.
Before 8.1 I noticed about 11% per hour during screen on use and about 0.33% per hour while on stand by in my pocket or a little bit better if it's just sitting on my night stand not moving while I'm sleeping (I think doze is more extreme in that situation) which seems to match what you are getting. Based on that screen shot I think that's like 8 hours screen on time over like 35 hours for a full charge. I've done a little bit better but not much. That's excellent battery life.
Since 8.1 it has dropped. Best now is maybe 7 to MAYBE 7.5 hours over maybe 26-28 hours. In my experience battery life always drops after an update but this case is far from the worst. I remember when my Nexus 5 updated from KitKat to Lollipop. The battery drop was awful and to make matters worse the battery life of the Nexus 5 was pretty bad to begin with.
js042507 said:
Here's proof!!
Click to expand...
Click to collapse
Which font is that?
MarwanTamer said:
Which font is that?
Click to expand...
Click to collapse
Default. I didn't change the system font.
js042507 said:
Here's proof!!
Click to expand...
Click to collapse
What are your settings for Greenify
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
What are your settings for Greenify
Click to expand...
Click to collapse
Here...
So in my last reply I thought I was wrong about RCS Phone app being a conglomerate of several apps in the phone. For some reason I couldn't find the information I needed at that time. I wiped my phone and started over after posting this thread. I was trying to isolate the misbehaving app. I thought it might have been greenify actually, but no the drain has returned to a lesser extent though. Here's some photos of this RCS app from GSAM.
https://photos.app.goo.gl/rvw077mBfNULbsRE3
I'm not sure what is causing the drain at this point. I've installed Better Battery Stats to locate the wakelocks so I can ignore them through ADB.
Sent from my Nexus 6 using Tapatalk
andrewjt19 said:
So in my last reply I thought I was wrong about RCS Phone app being a conglomerate of several apps in the phone. For some reason I couldn't find the information I needed at that time. I wiped my phone and started over after posting this thread. I was trying to isolate the misbehaving app. I thought it might have been greenify actually, but no the drain has returned to a lesser extent though. Here's some photos of this RCS app from GSAM.
Click to expand...
Click to collapse
Have you tried disabling RCS ? (Post #6). BBS is good for idle drain, active drain not so much. It's best run overnight without touching the phone for 8 hours or so. Pick the phone up in the morning and create/save a log file as quickly as possible. Post the log to the BBS thread if you need help deciphering.
v12xke said:
Have you tried disabling RCS ? (Post #6). BBS is good for idle drain, active drain not so much. It's best run overnight without touching the phone for 8 hours or so. Pick the phone up in the morning and create/save a log file as quickly as possible. Post the log to the BBS thread if you need help deciphering.
Click to expand...
Click to collapse
I cannot disable it since it is comprised of multiple apps. You can see it in the pics on my last post.
Sent from my Nexus 6 using Tapatalk

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

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