Battery drain caused by hal_bluetooth_lock


trahzebuck

Members
Nov 26, 2018
309
167
Dear devs,

with the newest weekly (I updated dirty from last weekly) I have some heavy draining with mi Mi 8 (dipper).
It seems that every time after using a BT connection that there some codes stays active - even if BT is turned off.
GSAM tells me that my device has kernel wakelock "hal_bluetooth_lock" 100% of the time. Even if BT is off!
Perhaps there's a correlation with the already known bug switching on and off BT.
After a reboot with BT off the problem seems to be gone until the next using of BT.
I'm not sure about logging in this case. When would be the right time to logcat?

TY for all the hard and good work!