[4.x, XA2+] Bluebinder service drain battery/CPU

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): from some 4.x version, now 4.3.0.15
HARDWARE (XA2, X10, X10 II, …): XA2 plus
UI LANGUAGE: ru
REGRESSION: (compared to previous public release: Yes, No, ?): yes

DESCRIPTION:

While.bluebinder service working, its drain too much CPU (energy)

PRECONDITIONS:

it enabled by defult, but

devel-su systemctl start bluebinder

STEPS TO REPRODUCE:

  1. nothing need, just active bluebinder service (it doesn`t metter is bluetooth enabled or not)

EXPECTED RESULT:

just normal.phone work, as it was with 3.x versions

ACTUAL RESULT:

blubinder service always use much cpu

ADDITIONAL INFORMATION:

screenshot of CPU usage log from collectd :
with bluebinder

without bluebinder:

P.S. sometimeofono service too show lot of CPU usage , but restart of service hepls in this case

Just a hint: if you edit /etc/collectd.conf, and in the section processes add something like this:

<Plugin processes>
    Process "bluebinder"
    Process "ofonod"
</Plugin>

you get a more file-grained log for those processes in SystemDataScope.

2 Likes

thanks a lot, i will :+1: