Hi all. I decided to open this thread because I reported this issue in the past but didn't got attenction.
THE PROBLEM
CAF kernels (OFFICIAL CM NIGHTLY 12.1 TOO!!!) have serious bluetooth wakelocks when a paired device goes out of range
HOW TO REPRODUCE
1) install cpuspy from play store
2) enable bluetooth on your phone
3) pair a Bluetooth device (like the xiaomi mi band)
4) with the Bluetooth still on, move the BT device out of the phone range
5) wait a couple of minutes with the phone in standby (screen off)
6) open cpuspy and check that the phone didn't went in deep sleep
--------------------
a) if you turn off and then turn on the Bluetooth, the phone starts to deep sleep again, also if Bluetooth is on
b) place the phone near the BT device, wait for it to re-pair and then move it out of range, the phone doesn't deep sleep anymore
SCREENSHOOTS


CONCLUSIONS
I found some commits that claim to fix the bluetooth wakelocks issues...but i can't find a single caf kernel that doesn't have this problem.
With this bug my battery goes down REALLY quick (no problem with bluetooth off), I can't believe that after months of caf based roms very few people reported the problem :)
PLEASE REPORT IF YOU CAN CONFIRM THIS BUG...THANKS!
THE PROBLEM
CAF kernels (OFFICIAL CM NIGHTLY 12.1 TOO!!!) have serious bluetooth wakelocks when a paired device goes out of range
HOW TO REPRODUCE
1) install cpuspy from play store
2) enable bluetooth on your phone
3) pair a Bluetooth device (like the xiaomi mi band)
4) with the Bluetooth still on, move the BT device out of the phone range
5) wait a couple of minutes with the phone in standby (screen off)
6) open cpuspy and check that the phone didn't went in deep sleep
--------------------
a) if you turn off and then turn on the Bluetooth, the phone starts to deep sleep again, also if Bluetooth is on
b) place the phone near the BT device, wait for it to re-pair and then move it out of range, the phone doesn't deep sleep anymore
SCREENSHOOTS
CONCLUSIONS
I found some commits that claim to fix the bluetooth wakelocks issues...but i can't find a single caf kernel that doesn't have this problem.
With this bug my battery goes down REALLY quick (no problem with bluetooth off), I can't believe that after months of caf based roms very few people reported the problem :)
PLEASE REPORT IF YOU CAN CONFIRM THIS BUG...THANKS!
Aucun commentaire:
Enregistrer un commentaire