[Q] Bluetooth wakelock Solved - Galaxy Note 3 Q&A, Help & Troubleshooting

Hi,
I've installed Better Battery stats and found that when BT is connect to the car, the "bluetooth_timer" kernel wakelock keep the phone awake, which drains the battery.
Googled it, search here nothing on that wakelock.
Does anyone know how to fix it? is there an option in the Note somewhere that controls BT timer?
Thank you
Solved:
If you press "cancel" when phone asks you to allow messages, and you don't check markalways allow for the phone book, the wakelock is not a problem. Also don;t set phonebook to auto download if you have the option, just do one time download.
I am pretty sure it's the "auto phonebook download" and check marking allow for always, but I disabled messages just in case.

Related

Push Email and Touch HD

Hello
Im in a dilemma right now. I absolutely love my touch hd so far but am at a crossroads. I need reliable push mail from my gmail account to my mobile... but so far reliability doesnt seem possible. Would appreciate any sort of guidance.
Im trying to have my gmail send all my mail to my thd device as quickly as possible. I cant afford to wait for it to arrive with a lag of say 10 minutes. It has to be as instantaneous as possible.
The problem with THD i find is that when the display is turned off, the data connection is also turned off. So the next sync only occurs when i turn on the display. When display is turned off... no emails. Ive tried tweakHD in an attempt to keep data connections always turned on, but no luck. Im not sure i set it right though.
Can reliable push mail be achieved on my thd? Should i move over to a blackberry device? (considering blackberry storm) Any help would be appreciated.
thanks
ian
Iangohye, the answer is yes...I had this issue for a long time before solved. The long and short of it is, at least for me, it was a power management problem. I needed my exchange mail, but as soon as I put the phone in standby, it would disconnect the data connection, and would not reconnect until I turned the screen back on. What would happen is, while in standby, my data connection would connect and then something would cause it to immediately disconnect. Some power saving feature. Try this first:
1) Go to programs->phone->menu->options. At the bottom of the screen you will see tabs. Tick the "data" tab and see if the box "disable data connections when device enters sleep mode" is checked. This was unchecked for me so clearly not the issue. Some people, for whatever reason, do not have this option. If you do, and it is not checked then see the next step below, if it is checked, uncheck it and see if that solves it for you.
2) To check whether there is a power saving feature within your power management causing the disconnect in standby go to settings->personal->sounds and notifications. Set a sound for data connection established and data connection disconnect. Set your mail to sync in an interval such as 5 minutes. Put your phone in stadnby (screen off). Once the screen is off, you should hear the data disconnect sound. After five minutes you should hear the data connection established sound and then immediately hear the data disconnect sound. If this is the case.....
3) Install Schaps Advaced Config. Tap his "Power Management" option. In the drop down options, disable all of the power management options and set "AC resuming from suspend" and battery resuming from suspend to 60. Soft reset. Establish a data connections, and put the phone in standby. If your data connection stays on, go through each of the power management options in adavanced config and enable or disable each until you find which one is responsible for leaving your data connection active. The reality is, there are only a couple of options there that cause it, but for the sake of confusion, I would go through them all. Also, for your purposes, I'm not sure whether setting AC and Battery resuming from suspend to 60 is necessary, but I do it anyway.
This is what solved it for me and I hope the same for you.
Hi Sean3
thanks for the help, ive done everything you told me to and it seems like its working as i hoped it would so far.
lol saved me the trouble of switching phones
http://forum.xda-developers.com/showthread.php?t=443125&page=15
Blackberry works great.

[Q] Note 3 N9000q gps awake

I have just received my note 3. When i checked my battery stats, I noticed that the gps is always awake although I had disabled every single location access. Here is the screenshot. Any ideas?
nepolaon said:
I have just received my note 3. When i checked my battery stats, I noticed that the gps is always awake although I had disabled every single location access. Here is the screenshot. Any ideas?
Click to expand...
Click to collapse
You have to disable one more thing.
Go to: "Settings->Connections->Wi-Fi" and press the Menu button. Click on "Advanced" tab.
There you will find something like "Let/Allow/Permit always to scan" or sth. My phone is not English so i don't know what there originally writes in English but it is something like "Let/Allow/Permit always to scan".
If you UNCHECK this option, your wifi won't be awake all the time, anymore.
TheRecRuiT89 said:
You have to disable one more thing.
Go to: "Settings->Connections->Wi-Fi" and press the Menu button. Click on "Advanced" tab.
There you will find something like "Let/Allow/Permit always to scan" or sth. My phone is not English so i don't know what there originally writes in English but it is something like "Let/Allow/Permit always to scan".
If you UNCHECK this option, your wifi won't be awake all the time, anymore.
Click to expand...
Click to collapse
Thank you for your help, that option is already unchecked. In fact, the issue is not about wifi. The GPS is awake because of some reason. I could not find why.
Battery drain due to GPS?
I could not find anything about the gps online. Does anyone have any ideas? Why would be the GPS awake all the time although the location services are completely off.
i am not an expert but can it be a false reading? because also it seems your screen is on while your phone is not awake? as i said i am not an expert but that is a condition i never saw on my note 1.
It is a bug with battery stats from my own experience ...The gps is not on but it shows it as on in the battery stats.
Try rebooting the phone. The gps bar will probably stop increasing until you turn it on again.
Sent from my SM-N9005 using xda app-developers app
problem solved?
Apparently, the reason was "Remote Control". When I turned that off, the gps was finally deactivated. The battery life seems to be better now.
nepolaon said:
Apparently, the reason was "Remote Control". When I turned that off, the gps was finally deactivated. The battery life seems to be better now.
Click to expand...
Click to collapse
That would make sense as I believe remote control is a security app.
When launched you can track your phones GPS co-ordinates and it sends them to you remotely.
Hence why the GPS would always need to be on?
I think you can still locate the phone via Google. I left the google location service on and the GPS battery drain is not back again. I am very relieved now
nepolaon said:
I think you can still locate the phone via Google. I left the google location service on and the GPS battery drain is not back again. I am very relieved now
Click to expand...
Click to collapse
Hi, I have the same issue. Can you explain what you did? Is it an option in settings or an app?
Sorry for being late
idewis said:
Hi, I have the same issue. Can you explain what you did? Is it an option in settings or an app?
Click to expand...
Click to collapse
I have deactivated remote control from the security preferences in the settings menu.

[Q] How to debug “wlan_wake kernel wakelock” on an unrooted device?

The question is as short as the title. I've a Samsung Galaxy Note 3 & it has started showing issues where the CPU remains in lowest possible frequency (250Mhz) and it doesn't go to deep sleep.
I tried uninstalling all the apps that I installed in last 2 days but I can still see the issues.
Searching on google isn't helping either. Most of the posts that get in search results are the posts where people paste the betterbatterstats output. On the official wiki, https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/wlan_wake , it's mentioned that a sniffer should be used to debug.
I saw that most of the sniffers actually require root. So, how do I debug this wakelock without rooting my phone?
Thing to note is, I was not seeing this wakelock since a few days back and I started seeing it just today. I don't want to switch off the wlan while the screen is off & I actually want to fix this.
PS: Please help as I've actually very religiously searched on the internet and I'm unable to find the solution.
wakelock detector
Sent from my SM-N9005 using Tapatalk
Chenglu said:
wakelock detector
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
That's how I came to know about it (using BetterBatteryStats though). It's a kernel wakelock, not a partial one. So, it's not what's triggered by the apps and hence it isn't easy to find the app that's causing it.
At various places, people are suggesting that some app is constantly using the wlan0 and hence the wakelock but I'm not sure which one.
So, anyone knows?
Bump
shadyabhi said:
The question is as short as the title. I've a Samsung Galaxy Note 3 & it has started showing issues where the CPU remains in lowest possible frequency (250Mhz) and it doesn't go to deep sleep.
I tried uninstalling all the apps that I installed in last 2 days but I can still see the issues.
Searching on google isn't helping either. Most of the posts that get in search results are the posts where people paste the betterbatterstats output. On the official wiki, https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/wlan_wake , it's mentioned that a sniffer should be used to debug.
I saw that most of the sniffers actually require root. So, how do I debug this wakelock without rooting my phone?
Thing to note is, I was not seeing this wakelock since a few days back and I started seeing it just today. I don't want to switch off the wlan while the screen is off & I actually want to fix this.
PS: Please help as I've actually very religiously searched on the internet and I'm unable to find the solution.
Click to expand...
Click to collapse
Have you tried disabling automatic time zone in settings?
My note used to have this wlan_wakelock ,but after I disabled automatic time zone its' seems to be fine.
That's weird
tyrand3 said:
Have you tried disabling automatic time zone in settings?
My note used to have this wlan_wakelock ,but after I disabled automatic time zone its' seems to be fine.
Click to expand...
Click to collapse
How'll that even remotely effect wlan_wake?
Guys, I was really hoping if someone could help... Thanks
N900 Wakelock
Hi
I had the same problem
Sometimes it's happened when I change WIFI state (On/Of)
Follow this:
0)I use Cpu Spy app to determine wakelock & Deep Sleep Problems
1) go to Wifi settings & turn on Wifi
2) go to Advanced
3)Set "Keep Wi-Fi on during sleep" to "Never"
4)Wait some seconds (I used to turn off screen, wait for some seconds)
5) turn off wifi
if you want to use wifi, turn on wifi and set "keep Wi-Fi..." to "Always" or not.
Notice that befor turning of Wifi, set it to "Never"
notice that when your phone is connected to charger T before disconnecting charger, unlock phone and wait for a few seconds while screen is on, then disconnect charger,
4.3
N900
XXUCMK1
XXUCMK2
Few possible causes:
- Do you have Wifi Scanning set to enabled? (Wifi settings)
- Do you have Use Wifi Networks enabled in Location settings in both Settings and Googe Settings?

[FIX] Stock Lollipop 5.0.2 Wi-Fi Battery Drain Issue

If you are on Stock Motorola Lollipop 5.0.2, check your Battery History in System Settings - you may notice Wi-Fi is constantly active, even when you turn it off.
In my case, the following setting in Viber was the cause: Settings > General > Wi-Fi sleep policy > Change to 'Use device's settings'
Instructions:
Firstly, go to: Settings > Wi-Fi > Advanced Wi-Fi > Keep Wi-Fi on during sleep > Change to 'Never.'
The issue appears to be that certain apps are keeping Wi-Fi active in Lollipop. Not every app may offer this setting related to 'sleep policy', a workaround is to use the App Settings Xposed Module - which allows you to disable such a permission for individual apps.
The permission can be known as: Change_Network_State.
After making these changes you may need to turn off Wi-Fi and restart phone.​
Related: https://code.google.com/p/android/issues/detail?id=79368
Thanks . it solve my real problem.
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Dizzyrul3z said:
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Click to expand...
Click to collapse
This is true, when phone sleeps - there is no Wi-Fi data connection.
Rather than leaving Wi-Fi on however, some people might prefer the phone wakes up every 15 minutes / 30 minutes / 1 hour, and enables Wi-Fi for 1 minute - allowing any messages to arrive. Many apps can do this, one example is DS Battery Saver.
There is also an argument that if you use Wi-Fi a lot, it's better to leave Wi-Fi on during sleep, because excessively enabling and disabling it is costly in terms of battery-life.
I've been using stock Lollipop on XT1008(Moto G Forte, I read it was just a "commercial" variant of the XT1032).
As far as I can tell, my phone doesn't report high Wi-Fi usage, but I disabled an option that I think it´s more responsible than the one mentioned here, that's "Search Always Available", this one was turning on my wifi when I even shut it down, wasting more battery than keeping it on.
Currently, my phone has been on like 13 hours and has 13% left, with a WiFi usage around 85% of the time.
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
lollerblade said:
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
Click to expand...
Click to collapse
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
lost101 said:
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
Click to expand...
Click to collapse
Ok so that option works as I thought, so for correctly receiving notifications with screen off it should be set on "always". I double checked on Viber's option and it's set correctly, then rebooted, plus scanning always available is off, geolocation (which can keep wi-fi on) is off and apparently there are no things that can keep wi-fi on.
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
I am having the doubt if this may be only a Lollipop graphic issue or if wi-fi actually stays on...
lollerblade said:
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
Click to expand...
Click to collapse
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue - there is just no setting within the app itself. You can check what permissions apps have by using 'App Settings.'
lost101 said:
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue. You can check what permissions apps have by using 'App Settings.'
Click to expand...
Click to collapse
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
lollerblade said:
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
Click to expand...
Click to collapse
No. Root would be necessary for changing permissions. However this issue may have been resolved in Android 5.1 - removing the need for this fix.
Wifi should be lefy alone as default to "never sleep"
Wifi should never sleep, even if the phone's cpu sleeps. Wifi will receive messages from whatsapp or whatever and wake up the cpu.
But if you put wifi chip to sleep, the phone will connect using 2g or worse, 3g or HSPA, and drain even more battery.
Wifi comes by default to "never sleep" for this reason, it is more battery efficient than 2g/3g.
And if you dont have wifi at home, all you have to do is slide down the menu and turn of Wifi. No need to change internal configuration on behaviour who only make things worse.
On the other hand, Viber is known for years to be a battery abuser.
I have been using android for years, and wifi policy was always the same, and my phones have idle times of several days
i even published some screen shots of my moto defy and moto G with a full week Idle without charging.with whatsapp and Wifi polocy never sleep.. With viber i wouldnt even try to make it last 2 days.

iHeartRadio stops playing

Ok I have googled and googled this to find all kinds of people having the same problem. iHeartRadio will play untill screen shuts down then will play for a few then stops playing. So I have looked at wifi settings is set to always. Battery saver is off. Here is one thing I have noticed if I use the aux cable it works fine. I have deleted​ app and data and reinstalled but still
The same. Any thoughts would be appreciated.
PS also swapped ROMs to.
monkeytools said:
Ok I have googled and googled this to find all kinds of people having the same problem. iHeartRadio will play untill screen shuts down then will play for a few then stops playing. So I have looked at wifi settings is set to always. Battery saver is off. Here is one thing I have noticed if I use the aux cable it works fine. I have deleted​ app and data and reinstalled but still
The same. Any thoughts would be appreciated.
PS also swapped ROMs to.
Click to expand...
Click to collapse
Hello...
Maybe go in iHeartRadio settings. Isn't there an option to select "keep app on when screen goes off" or something similar?
Have you tried to unoptimize it? Doze is killing it maybe?
Go in Settings > Battery > three dot menu tap "battery optimization"
On the drop down menu, choose all apps. Tap on iHeartRadio and select: "Don"t optimize".
Hoping it will save your issue...
Cheers...
Like 5.1 says, unoptimize it in the battery settings and then your fine. You have to do that with Google music as well.
I'm having the same issue. It is listed as not optimized.
Amazon Music used to do this on my Nexus 5, but now on the 6P it decided the Iheartradio app will do it instead. The Nexus 5 issue also persisted across ROMs and factory resets.
Maybe it's an app issue that only affects a few people with very specific settings or something?
This is far from an ideal solution but if turning off battery optimization doesn't fix the problem there are apps in the Play Store that keep the screen on when you are using specific apps. You could choose to leave the screen on when using iHeartRadio.
I have read a few posts about Gmail notifications not going through even after turning "optimization off" for the app. And people reporting that doze affects other parameters at the same time that cause notification trouble.
Maybe this case can be assimilated, but in another way.
You can try Killing doze completely and see how iHeartRadio behaves. Open a command prompt and issue:
adb shell dumpsys deviceidle disable
It should return something like:
Deep idle mode disabled
Light idle mode disabled
Check iHeartRadio behavior after that. If it fixed the issue, you know that doze may be the culprit or maybe the app developer didn't implement a new policy for doze and/or when screen turns off.
You can revert the ADB shell command with either:
adb shell dumpsys deviceidle enable
Or with a reboot.
I'd send iHeartRadio developer an email to let them know your issue. If other users already reported it and if they are working on a fix...
Good luck... :good:
5.1 said:
I have read a few posts about Gmail notifications not going through even after turning "optimization off" for the app. And people reporting that doze affects other parameters at the same time that cause notification trouble.
Maybe this case can be assimilated, but in another way.
You can try Killing doze completely and see how iHeartRadio behaves. Open a command prompt and issue:
adb shell dumpsys deviceidle disable
It should return something like:
Deep idle mode disabled
Light idle mode disabled
Check iHeartRadio behavior after that. If it fixed the issue, you know that doze may be the culprit or maybe the app developer didn't implement a new policy for doze and/or when screen turns off.
You can revert the ADB shell command with either:
adb shell dumpsys deviceidle enable
Or with a reboot.
I'd send iHeartRadio developer an email to let them know your issue. If other users already reported it and if they are working on a fix...
Good luck... :good:
Click to expand...
Click to collapse
Thanks I will give it a try.

Categories

Resources