[Q] Nexus 5 - Blueetooth prevents Deep Sleep Mode - Nexus 5 Q&A, Help & Troubleshooting

Hi Guys,
Been searching all over for this, but can´t find anything conclusive.
I´ve been looking at my CPU Deep Sleep counters and found out that if I have Bluetooth enabled, being pared or not, the CPU will never go to deep sleep mode.
Is this normal? Even though I have Wifi, GPS, Location, etc enabled, the phjone goes to deep sleep, but as soon as I power the BT, the phone starts using the lowest CPU Mode available in my Governor.
I´m currently using FKU with Franko Kernel r59.
This is not a huge battery drain but at night, without the BT turned on I have like 1% of drain per 4-5 hours and with BT on I get like 5% of drain per the same timeframe.
Thanks for your time reading and helping !

checho.rincon said:
Hi Guys,
Been searching all over for this, but can´t find anything conclusive.
I´ve been looking at my CPU Deep Sleep counters and found out that if I have Bluetooth enabled, being pared or not, the CPU will never go to deep sleep mode.
Is this normal? Even though I have Wifi, GPS, Location, etc enabled, the phjone goes to deep sleep, but as soon as I power the BT, the phone starts using the lowest CPU Mode available in my Governor.
I´m currently using FKU with Franko Kernel r59.
This is not a huge battery drain but at night, without the BT turned on I have like 1% of drain per 4-5 hours and with BT on I get like 5% of drain per the same timeframe.
Thanks for your time reading and helping !
Click to expand...
Click to collapse
R60 solves this.

Thanks!!!
akash3656 said:
R60 solves this.
Click to expand...
Click to collapse
Great!...
Just like 5 minutes after the Relase came along!...
Confirming that now BT doesnt wake up the CPU and "everything" looks Normal!!

Related

Suddenly getting crazy battery drain

Anyone else get stupid fast drain while its sleeping? I have wifi sleep policy set to turn off wifi when screen is off, and using the task manager nothing looks to be running that i havent launched myself. But usually i'd have the battery last DAYS and DAYS if i wasn't using it that much, but the last few charge cycles it's been nearly dead at the end of the day. Is there an app I can get to monitor stuff while its sleeping to see if something is keeping it from deep sleep? I can't remember what i've installed recently that could keep it in wake-lock or whatever. Thanks guys.
There's a build in feature in the settings menu to tell you what uses battery
Check that the wifi is actually sleeping when the screen is off. Tap the power button to wake up the tablet then look at the notification bar in the right hand corner to see if the wifi is turning on and connecting. If its not doing that then I dont think the wifi is disconnecting and turning off when the screen is turned off.
For battery issues, two "must have" tools are "better battery stats" and "cpu spy"
gary's right. download better battery stats here:
https://market.android.com/details?id=com.asksven.betterbatterystats
and since the developer of that app loves XDA, there's a free version for us!
OP: http://forum.xda-developers.com/showthread.php?t=1179809
DL: http://forum.xda-developers.com/attachment.php?attachmentid=833619&d=1325149176
Look into the partial wakelock and find the cuplrit!
Battery Drain
Try loading the free util Auto Airplane Mode which has helped fix the SOD issue and the related battery drain during the SOD.
Sorry to push the old post up again.
Recently im suffering from the weird battery drain, i didnt play/use my phone much on sunday , the idle battery drain is huge. like 8 hrs from 100%-40%.
I've installed both betterbatterystats and cpu spy already.
From battstats , it shows that kworker/0:1-3 and kworker/u:12-13 etc using up most of the batt , secondly is the doubletwist music player.
From cpu spy, most of the time is with 200mhz even i didnt use the phone at all, rarely goes to deep sleep mode.
for the process kworker it didnt show whats the process/app is about , anyone else know wt to do now ?
Same problem here :-(
Fully loaded at 7 o'clock and now I'm 34% - this really sucks!
faygo6464 said:
Sorry to push the old post up again.
Recently im suffering from the weird battery drain, i didnt play/use my phone much on sunday , the idle battery drain is huge. like 8 hrs from 100%-40%.
I've installed both betterbatterystats and cpu spy already.
From battstats , it shows that kworker/0:1-3 and kworker/u:12-13 etc using up most of the batt , secondly is the doubletwist music player.
From cpu spy, most of the time is with 200mhz even i didnt use the phone at all, rarely goes to deep sleep mode.
for the process kworker it didnt show whats the process/app is about , anyone else know wt to do now ?
Click to expand...
Click to collapse
All you can do is to check the apps you recently installed or updated. They might lock you from sleep. No easy way to control this
For me it was the "samsung-keyboard" - I froze it and now everything seems normal.

ICS Wifi stays on while on sleep

Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
From my experience, wifi stays on for a little while longer after device sleeps. However, some apps in background may trigger wifi back on again. So I turn off wifi when i go to bed. Actually i notice wifi itself will not drain much battery, 1-2% for 10hr. It's the host apps sucking the juice.
I am not an expert though.
OK i've also checked it out and as you said wifi turns off after some time. My main problem now is that my battery life won't last more than 3-4 hours on wifi.
I have posted my battery stats with use of web browsing and watching pictures on gallery...
jimgeroul said:
My main problem now is that my battery life won't last more than 3-4 hours on wifi.
Click to expand...
Click to collapse
What do you mean "no more than 3-4 hours"? In your battery chart, you can get more than that even starting from 75% battery.
What I wanted to say is that I think my battery won't last more than 4 hours with wifi on and some serious usage.. from my stats as I can see I've been using it 5 hours but I only had screen on and browsing the web. I think there will be a huge difference if I am watching a movie or playing a game.. I don't have the time to check it now but I will post my results in some days..
According to my previous battery graph do you see any problem or something less from what your Xoom battery holds? Does this battery drain seems normal to you?
jimgeroul said:
Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
Click to expand...
Click to collapse
I think you'll find it will stay on for about 15 minutes. There is some setting in a system database (using a sqlite editor) that can be changed to bring this down. I doubt Wifi is what's draining your battery. Are you synching email via activesync or running other stuff in the background?
I am only using my yahoo mail from the EMail app. I don't know if it uses activesync. I have set it to check emails every 30minutes.
wifi not turning off
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
lazers378 said:
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
Click to expand...
Click to collapse
My guess:
1) Always: WIFI always on no matter awake or asleep
2) Only when plugged in: WIFI always on only when plugged to power
3) Never: WIFI will be off if asleep (my current setting)
That was it
invidious07 said:
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
Click to expand...
Click to collapse
Thanks, I had not seen the option to turn wifi off during sleep.
--Doug
Bear in mind that (irritatingly) applications can seemingly change this setting.
cspiby said:
Bear in mind that (irritatingly) applications can seemingly change this setting.
Click to expand...
Click to collapse
For an app to change wifi sleep policy, it needs the WRITE_SETTINGS permission.

Ways to save battery

I've used the N5 for a few days now and I must say I'm impressed with everything except for the battery.
So the thing is, i really gave no craps about the battery on my Defy because I didn't care much for the phone either; so I'm sort of confused and out of ideas for battery saving.
I haven't rooted yet, but when I do my best guess would be just to down-clock the CPU, but how well does that really work? I use No-Frills and it works about 93% of the time, other times it just reverts. Do I need a kernel?
I keep it on about 10% brightness because I like soft lighting and screens. That works to a certain extent as well as the fact that I'm not a data user and I always turn wifi off when I'm not using it (like, immediately I will go and toggle it).
Other than turning off sync, is there anything else I'm missing? A good app maybe?
droid_<3er said:
I've used the N5 for a few days now and I must say I'm impressed with everything except for the battery.
So the thing is, i really gave no craps about the battery on my Defy because I didn't care much for the phone either; so I'm sort of confused and out of ideas for battery saving.
I haven't rooted yet, but when I do my best guess would be just to down-clock the CPU, but how well does that really work? I use No-Frills and it works about 93% of the time, other times it just reverts. Do I need a kernel?
I keep it on about 10% brightness because I like soft lighting and screens. That works to a certain extent as well as the fact that I'm not a data user and I always turn wifi off when I'm not using it (like, immediately I will go and toggle it).
Other than turning off sync, is there anything else I'm missing? A good app maybe?
Click to expand...
Click to collapse
Few things i've done is turn off wifi always scanning. set location to device only. undervolt -75 and max cpu 1575. i'm using cataclysm rom and frank r16 which was just recently released. when i was on r14 kernel i was getting about 7hour 1% drain on idle connected to wifi. I also try to monitor what I want to have push notifications for. So check what you have constantly Syncing.
cntrdctn said:
Few things i've done is turn off wifi always scanning. set location to device only. undervolt -75 and max cpu 1575. i'm using cataclysm rom and frank r16 which was just recently released. when i was on r14 kernel i was getting about 7hour 1% drain on idle connected to wifi. i also turn make sure i monitor what want to have push notifications. i hope this helps.
Click to expand...
Click to collapse
Biggest changes for me were:
-Disable Hotword detection. Turn it back on when you want to impress friends and otherwise hit the mic button manually. Increases Screen on Time.
-Disable Auto sync. Set an automation to only sync while charging instead. Increases Battery at all times, may slow charging a tad.
-Disable Locations. Enable if needed on the go. Can't automate this with Llama but I'm guessing it would work using Tasker. Many less wake locks you can go hours without a single one now.

[Q] Battery drain with dock during sleep (Cromi-X 5.4)

This topic has been up a couple of times before, perhaps most interestingly discussed in this thread.
It appears the problem still exists (asusdec_wake kernel wake), and I'm experiencing extreme battery drain during sleep with the dock attached. Currently running Cromi-X 5.4, and I have tried hunds 3.4.4, and _that 8 and 9 kernels.
It appears to behave as following: The tablet enters deep sleep with low battery drain (0.3% per hr with wifi off), and after a while (have seen it happen after a range of 1 - 5 hours) it starts draining quickly as asusdec_wake wakes the tablet up. It only occurs when the tablet is docked, it can occur at both high charge levels and when the dock is empty (mine always drains to 0%). It does not seem to matter whether wifi is on or off. I monitor the battery with better battery stats.
It's a real pity, since I have to turn the tablet off whenever I want to keep the dock attached.
Is anyone else experiencing this drain? Any suggestions for fixes?
Also: obligatory first post thanks-for-making-my-tablet-great to @sbdags, @_that and all the other contributors to Cromi :good:
rkha said:
It appears to behave as following: The tablet enters deep sleep with low battery drain (0.3% per hr with wifi off), and after a while (have seen it happen after a range of 1 - 5 hours) it starts draining quickly as asusdec_wake wakes the tablet up.
Click to expand...
Click to collapse
How do you know that it first enters deep sleep and that it's woken up later?
asusdec_wake is a wake lock which only keeps the tablet awake, so the question is what causes the wake up and keeps the wake lock?
_that said:
How do you know that it first enters deep sleep and that it's woken up later?
Click to expand...
Click to collapse
It might be a strong assumption, but it's based on the battery drain patterns I've seen. I've tried to monitor this a bit the last few days. Usually the battery drain is as expected during sleep for a while (whenever I check during this period, the asusdec_wake has not been active and the entire period the tablet has been in deep sleep), before it increases and stays high. I attach some screen shots where this can be seen. The change in slope in the battery graph is after about 7 hours. In those screen shots the deep sleep time reported by bbs was 6h24m. I'm not sure the reason for suspend_backoff, but I assume something is forcing the tablet to stay out of deep sleep. If I disconnected the tablet, there are no issues with suspend_backoff (and naturally not with asusdec_wake either).
_that said:
asusdec_wake is a wake lock which only keeps the tablet awake, so the question is what causes the wake up and keeps the wake lock?
Click to expand...
Click to collapse
Good point. Any tips on how this can be diagnosed?
rkha said:
It might be a strong assumption, but it's based on the battery drain patterns I've seen. I've tried to monitor this a bit the last few days. Usually the battery drain is as expected during sleep for a while (whenever I check during this period, the asusdec_wake has not been active and the entire period the tablet has been in deep sleep), before it increases and stays high. I attach some screen shots where this can be seen. The change in slope in the battery graph is after about 7 hours. In those screen shots the deep sleep time reported by bbs was 6h24m. I'm not sure the reason for suspend_backoff, but I assume something is forcing the tablet to stay out of deep sleep. If I disconnected the tablet, there are no issues with suspend_backoff (and naturally not with asusdec_wake either).
Good point. Any tips on how this can be diagnosed?
Click to expand...
Click to collapse
Try turning location services off completely for me in settings.
Does that help? Give it a reboot as well.
sbdags said:
Try turning location services off completely for me in settings.
Does that help? Give it a reboot as well.
Click to expand...
Click to collapse
Yes it did, thank you! 21 hours, only 3% down and asusdec_wake inactive. I will report back if things change.
Will add always turning this off when tablet screen is off to Tasker. Interesting that it caused this huge battery drain, given that gps and wifi was off anyways. Wakeups from com.google.android.gms decreased from many to nearly none when turning off location access, perhaps it is sufficient to turn of google apps location access in settings.
Thanks again!
rkha said:
Yes it did, thank you! 21 hours, only 3% down and asusdec_wake inactive. I will report back if things change.
Will add always turning this off when tablet screen is off to Tasker. Interesting that it caused this huge battery drain, given that gps and wifi was off anyways. Wakeups from com.google.android.gms decreased from many to nearly none when turning off location access, perhaps it is sufficient to turn of google apps location access in settings.
Thanks again!
Click to expand...
Click to collapse
It's Google now constantly polling for your location as far as I can tell.

Terrible stand-by time

I have a serious problem with stand-by time of my galaxy s7.
I have updated my device to Nougat and i am using ForceDoze to put the phone to sleep (without root, with adb command), although i am not sure if it is really working.
I lose about 3-4% battery every hour when idle.
With idle i mean always on display on, wifi or data on, gps and bluetooth off, power saving off.
When i check better battery stats and accubattery, it shows the phone in deep sleep most of the time.
I think this amount is ridiculous. It shouldn't consume more than 2% with this setup, assuming AOD consumes 1% per hour.
I don't have a problem with screen-on time. Only with stand-by time.
Do you have any suggestions for me? What could be the problem?
Find out what is running on your phone by going to running services. Disable the apps you dont need running, turn off always on display and see your battery times then. Clearly something is running in the background and this is up to you to find out what is running....
Second option root your phone, uninstall the bloat and install greenify.
omeren83 said:
I have a serious problem with stand-by time of my galaxy s7.
I have updated my device to Nougat and i am using ForceDoze to put the phone to sleep (without root, with adb command), although i am not sure if it is really working.
I lose about 3-4% battery every hour when idle.
With idle i mean always on display on, wifi or data on, gps and bluetooth off, power saving off.
When i check better battery stats and accubattery, it shows the phone in deep sleep most of the time.
I think this amount is ridiculous. It shouldn't consume more than 2% with this setup, assuming AOD consumes 1% per hour.
I don't have a problem with screen-on time. Only with stand-by time.
Do you have any suggestions for me? What could be the problem?
Click to expand...
Click to collapse
Hi mate
Most of times is configuration issues or a rouge app , install a an like BBS let it run for a few hours and check the log to see who is keeping the phone awake.
review your settings wifi , location email, FB ........
I think i found what the problem is. It is always-on display. Last night, i turned it off. With only wi-fi on, i lost 1% per hour.
Apparently, AOD consumes way more juice than i thought.
omeren83 said:
I think i found what the problem is. It is always-on display. Last night, i turned it off. With only wi-fi on, i lost 1% per hour.
Apparently, AOD consumes way more juice than i thought.
Click to expand...
Click to collapse
I found AOD prevented Doze from working, which in turn used way more in idle, so it's not specifically AOD draining it, it's because it's not at it's lowest power state during idle

Categories

Resources