Extreme battery drain issue with Bluetooth - Xperia Z5 Q&A, Help & Troubleshooting

Hello,
I've had by Z5 since late 2015 and it's been a real trooper. Sadly it has recently (in the last few days) developed an issue where Bluetooth appears to be draining battery like crazy. I've dug around a bit on the internet and found a few people experiencing the problem but none too recently. One post suggested turning on the 'Enable Bluetooth HCI snoop log' and toggling Bluetooth on and off, then checking the log. When I turn that setting on, it creates the 'btsnoop_hci.log' which very rapidly starts filling with junk. In the space of about 20 seconds it took for me to toggle BT on and off and take a copy of the log, it had grown to 700 KB.
Below are some screenshots showing the battery usage of Bluetooth. I have a copy of my btsnoop_hci.log file too but I couldn't find a way to attach it to this thread. If there's some way I can share this, please let me know. If anyone can help me troubleshoot this issue, I would be most grateful. As far as usage / changes that might have cause this problem, I can't think of anything too crazy but here are some points:
I paired my phone with a pair of Taotronics BH22 headphones last week but have since forced my Bluetooth to "forget" this device.
I use my Sony WH-1000XM3 headphones pretty much every day to listen to music since March 2019.
I don't use my phone for anything other than messaging, and music. The apps I have installed do automatic updates sometimes -- I was actually suspecting that an automatic update that went on for one of my apps might be the culprit, but I have no idea how to check this.
Battery usage screenshot 1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Battery usage screenshot 2

I think I've figured out what was causing the problem. It was an update to 'Google Play Services'. The version that recently went on was 16.0.91
I installed the beta version (specifically, 17.1.22 (040400-245988633) beta (040400)) and since then, Bluetooth is behaving.

Related

kworker/Android OS Battery Issues

Hello all,
I'm hoping someone can help me figure out what exactly is causing these issues as I've tried all sorts and I can't figure it out.
I'm getting battery drain via android OS (kworker process according to BBS) and I don't know what's causing it. I've attached some screen shots to highlight the problem;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see my phone isn't even awake according to the battery summary screen.
Does anyone know what could be causing this? Or how I can figure out what (app?) is using the kworker process?
I've restored my phone to stock, clean flashed mahdi and installed an earlier version of AK kernel (v068) that I know for certain I didn't have these issues on. However, I'm still getting the issue on a setup I know for certain I wasn't having any issues on a couple of weeks ago.
I've also tried restoring a nandroid from a few weeks ago that I know for certain didn't have any issues (I keep a backlog of 5 previous nandroids each time I update my kernel etc to try and ensure I always have 1 stable version) but I'm still getting the issue on that too.
Thanks for any advice/suggestions.
Anyone? It's driving me crazy! Haha
I'm still getting decent battery life despite this process error, it's just before this I was averaging 0.2% per hour while idle, I'm now averaging 0.6%
Should I be looking for an app as a culprit or is it the kernel/rom or something else completely? I'm guessing it's not the kernel/rom as I've ran this setup before without issues, but what I have managed to find on the kworker process online is that it's kernel related. :s
Just for information for anyone who finds this thread after having similar issues, I've solved it, I still have some kworker CPU time but that's to be expected - its MUCH lower than it was in the screenshots above.
One of or all of the following reduced my kworker process CPU times to a reasonable amount.
Set Wifi Ip address to static rather than dhcp on home network
Changed CPU governor from smartmax to intellimm (ak kernel)
Disabled all services in "Google play services" containing "location.reporting"
Powered by Bacon

Bluetooth creating constant notifications

So with bluetooth on, I get a constant notification whether a device is connected or not. This is all after the MM upgrade.
Steps already taken:
- Verified reminder is turned off in accessibility.
- Cleared cache.
- Removed all BT devices
- Factory reset.
PLEASE HELP
@jasong127
Try settings > wireless and networks > nearby device scanning > off.
Let me know if this works. It uses BT even when off. I turned mine off long ago. Never had your issue and unsure if this may solve it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That was already off. I think that when my car (chevy mylink) was connected, there's an option to "Allow Contact" or something like that. Problem is, when the truck is no longer connected, all the other options move to off, except this one.
Happens with one other device too (my home phone system). I have to unpair them and it stops. Pretty much seems like a bug to me.
I will have to test this on my ford transit the next time i use it. I do know it always resets the 911 link, which is annoying.
I'm having the same issues. Just did a factory reset and have not paired any bluetooth devices. But the minute I turn on bluetooth I start getting notifications. Help before I flush my phone.
Samsung Note 5 with Marshmallow update.
Soccerdad91016 said:
I'm having the same issues. Just did a factory reset and have not paired any bluetooth devices. But the minute I turn on bluetooth I start getting notifications. Help before I flush my phone.
Samsung Note 5 with Marshmallow update.
Click to expand...
Click to collapse
Did you have items at one time that were paired? The way I found out the solution is to unplug ever BT device in my house and start one by one. BTW, I have 1 home phone, 3 speakers, and a computer that all use BT. Turned out to be the home telephone that was the cause of it.

Xiaomi - "Sleep Timer" functions not working

Hi, I decided to post here because I'm facing a problem for a while and either the app developer knew how to solver. I'm talking about the Sleep Timer app, speaking of which I saw a post of years ago about it.
So, whats happening:
I use this app for years and it always worked well when I wanted it to turn off Spotify. Recently, I changed my phone and now I use a Xiaomi Redmi Note 5. Since then, the app doesn't work well. Sometimes it works fine, sometimes not. That's how I'm using it now:
- I connect my phone to my Tronsmart bluetooth speaker
- Start the music on Spotify
- Start counter on the Sleep Timer app. I set it configuration to turn off Spotify and turn off bluetooth, so the speaker can auto turn off too when dispair the bluetooth and saves the speaker battery.
I used the app almost every night, setted as "no restriction" in the battery configuration area, with my bluetooth speaker. Speaking of which, last night setted the app to turn off Spotify and bluetooth as always and I woke up in the middle of night and the music was still playing. So, I setted it AGAIN, and I woke up later still in the middle of night with the music still playing, AGAIN.
I made some tests in the daytime instead of before I sleep and the app did its functions. But, its how I said: sometimes works, sometimes not.. To test if the problem was the app, I downloaded another app with the exactly same purpose and functions, and the same missfunction happened. So, it's something to do with the phone configurations too.
What I want with this topic is to see if someone could help me with this problem or at least could indicate some app with these functions that works 100% fine in the Xiomi's phones.
Thanks to anyone who can help me with this!
Here there are some screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

What is Network operator Theme pack?

As the title says, what is Network operator Theme pack? Ive already googled it and there is nothing close to it.
I was looking through my phones app list with system apps showing and I saw an app with that name, Network operator Theme pack and I dont recall seeing it before. It goes without saying, but I didnt install that app. The package name is "com.android.networksettings.overlay.ct".
There is also an app called Permission controller Them pack and its package name is "com.google.android.overlay.modules.permissioncontroller".
While they may mean nothing at all and be completely harmless, the "overlay" part raised a little red flag for me. Ive also been having severe battery drainage issues, but I dont know if that is related or not. Severe as in losing 1% of the charge every 3-8 minutes when using the phone and about 4%-5% every 45-60 minutes when the screen is off.
I looked at the list of processes running in 3C All in One Toolbox (paid version) and the only thing that was a problem was the mediaextractor kernel process which I killed each time it was a problem as it was eating up in excess of %150+ of the phones cpu. I was also rooted up until a few weeks ago when I updated magisk (through magisk manager) & edxposed, then after the phone restarted I was no longer rooted and unable to re-root without wiping all my data (which, needless to say I did not do as I am not in the mood to start over from scratch right now.
So yeah, if anyone could tell me what the strange app package is and maybe help me figure out my battery drainage problem, Id greatly appreciate it.
My phone is a OnePlus 7 Pro running android 10.
Stay healthy everyone!
P.s. I attached a screenshot of the app info window from both of the strange apps mentioned above.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Question Adaptive Battery performance

While Pixel phones are generally known for creating little interfearance with app perfoamance, in terms of things like managing battery life, I noticed a rather vague option where the OS will improve your phones's battery life by doing things probabbly like sleeping and or ricksting background usage for unused apps and the like.
From what I understand the 7 isn;t the first phone to have this feature as I saw people talking about it ont he 6 series too, though what I was manily wondering is for people who have this turned on or have used it int he past, if they have noticed any issues with some of their apps, such as missed notifactions?
I turned mine off more as a just in case, as comming from Samsung previpously who is nortiorus for being very heavy handed when it comes to their battery savng measures, I'm just wondering how much impact this option has (if any at all), so if it might need to start being listed as a potential problem to check in places such as don't kill my app, or if Google somehow manages to make it a lot less intrusive?
I haven't been able to find any technical infomation on what excatly the feature does to trey and determine just how invavse it might be.
Keep adaptive battery & battery optimization on - Pixel Phone Help
To have apps use your phone's battery only when you need them to, keep adaptive battery and battery optimi
support.google.com
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've never turned it off since it got introduced. No issues at all. It's supposed to learn how you use your phone, so I'd imagine you shouldn't have missed notifications. And if that's the reason my 7 Pro gets it's 8-10+ hours of SoT, I'd keep on using it.
Never turned off and I think that MUST stay on, because the battery life is really good.
Without it would certainly not be so good.
I am using the way adaptive charging tuned off and adaptive battery tuned on

Categories

Resources