Device still discoverable even if bluetooth interface is closed

REPRODUCIBILITY (% or how often): no idea, i remark it for the 1st time. Repro is not that easy
BUILD ID: v3.3.0.16
HARDWARE (Jolla1, Tablet, XA2,…): sony xperia xa2+
UI LANGUAGE: french
REGRESSION: (compared to previous public release: Yes, No, ?):

DESCRIPTION:

Related to the following tjc-thread. After using my device with ny divacore true wireless headset came to the issue of a huge battery drain, which give an only one day autonomy to my device instead of 5.

Today I got a further info about this issue. I get a huge frighten as I remarked that in this state with the battery drain after use my true wireless headsets with Bluetooth.
After use these I closed the Bluetooth interface, and thought it was closed. The gui display it as closed too. But my device is still on Bluetooth discoverable even if the Bluetooth is closed. All other device see it!!! I saw the bluebinder process on working through the “top” cli command.

Has someone has experimented some similar experience?
Could someone help, i’ll give any further information

PRECONDITIONS:

See this tjc thread https://together.jolla.com/question/223735/bluetooth-battery-drain-if-media-player-still-open/

STEPS TO REPRODUCE:

  1. activate Bluetooth
  2. Power Headset on
  3. Pair smartphone with headset
  4. Start media-player & play music for more than 15min
  5. Stop/pause player through headset or Cover or lockscreen (player still opened)
  6. Put the headset in etui (they go then automatically off)
  7. deactivate Bluetooth of smartphone.
  8. Then comes this huge power drain.

EXPECTED RESULT:

Reduced autonomy from 5d to 1d
Device still discoverable on bluetooth

ACTUAL RESULT:

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

3 Likes

I can confirm this bug on my Sony Xperia XA2 (Dual SIM) running SFOS 3.3.0.16.
I would also claim that the reproducibility is about 99%.

My device visibility inside the Bluetooth settings is set to always, it needs to be tested if the device will be visible all the time (with deactivated Bluetooth) using the other settings too.

1 Like

With my XA2 reproducibility is 100% with visibility setting Always. Got same result once with 3 min timet but after that couldn’t reproduce.

Jolla Phone didn’t behave like this art all. Interesting detail was that when bluetooth was off with always, XA2 was shown as device type Other. Bluetooth on it vas shown as phone.

1 Like

@Alex @mSorvisto hey thank you very much for your feedback. I’d like to adapt the reproducibility for the best.
Happened to you if you apply the steps to reproduce? or is always on? or do you have an easier way to reproduce it?

Fine! wanted to let my device in last stand for having more material to analyse.
It has rebooted itself on midday.
Now the device is not any more visible.
by applying cmd “last reboot | head -1” saw when it has restarted.
It restarted at a time that when i was far away.
the systemboot.log told that shutdown request from dsme

20200707_074910 Received: dsme internal state USER
20200720_123055 Received: shutdown request from dsme
20200720_123056 Received: dsme internal state SHUTDOWN
20200720_123100 Shutdown: SW shutdown request
20200720_123140 Startup: Reason Unknown
20200720_123140 Received: dsme internal state USER

Don’t know what is the dsme …

Maybe this
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Architecture/System_Software#Device_State_Management_Entity_.28DSME.29
brings you on track?

My steps were:

  1. Activate Bluetooth
  2. Set visibility to Always
  3. Deactivate Bluetooth
  4. Device is visible as type Other

I’ll test your steps later and also test if restart makes any difference

thank you @peterleinchen any idea on how to get the info why the dmse sent the reboot command?

Nope, sorry.
On N9x0 it was the mainly watchdog but on SFOS…

On my Xperia 10 + SFOS 3.3.0.16, I could also reproduce this problem.

Regarding to Bluetooth there are two settings:

  1. Bluetooth on/off, and
  2. in Settings/Bluetooth, visibility on/off.

My results are:
BT on & Visibility on: visible, coupling from other device possible
BT on & Visibility off: not visible,
BT off & Visibility was off before switching BT off: not visible,
BT off & Visibility was on before switching BT off: visible!! coupling from other device not possible

So for me the workaround is to switch off visibility manually before switching BT off. So my device stays invisible, but I agree, this is not really satisfying… But it is possible to make the device invisible and save battery power and increase data safety.

Thank you for the post and all the comments. We have created a bug report for this.