Bluetooth timeout disables Bluetooth despite file transfer in progress

  • Device: FP5
  • iodéOS Version: 7.10
  • Affected App(s): system

Short Description:

I transferred a file using Bluetooth, and while the transfer was in progress, my bluetooth auto-disabling timeout applied and Bluetooth was disabled. The file transfer obviously failed then.

During the file transfer, the devices are not “fixed” connected. I.e. the Bluetooth tile in the quick settings doesn’t show any device info (sorry, don’t know how this is working internally). I think that’s the reason why the timeout applies.

As Bluetooth is very slow for file transfers (yes, I know there are better methods to transfer files between devices, but Bluetooth has the advantage that it’s working without internet), this can happen for smaller files as well if you set a low tieout (I was using 1 min).


New Issue, Regression, or Feature Request?

have never tested before, but I guess it’s a new issue


Additional Information:

-

Don’t know anything about Bluetooth, but maybe you would like to try USB transfer?

  1. Unlock your phone.
  2. Plug in USB cable from computer to phone.
  3. Pull down menu on phone, look for notification that the phone is charging slowly.
  4. Click on this notification and set “file transfer”, enter your PIN.
  5. Navigate from your computer to the directory where your file is located.
  6. Transfer it from phone to computer.

Voilá! No internet connection neccessary!

It was a phone-to-phone transfer (android to android). Don’t know whether that works software-wise, but I also don’t have a USB-C to USB-C cable (for phone-to-computer transfers I do use the cable…)

Ah, I see. Personally, I’d take the route via computer as intermediary (since I do prefer cable over wireless for safety reasons), but I see why this would seem too complicated for others.

I own a usb stick for my data backups as described here:

This would work for transfer from one phone to another phone, too. Less than 10 €, if I remember correctly.

Of course there are ways to work around, but I think this should work out-of-the-box as well… The bluetooth timeout should just not ignore those file transfers

I’m sure Rik will look into the bluetooth thing. Just wanted to give you some alternatives in the meantime.

Thanks, was aware of those already :wink:

Yes I think this should be true (that it would not timeout on an active transfer), I’ll let our lead dev know of the problem to help sort out if it is something we can address or if it needs to be an issue submitted upstream to LineageOS.

Is it possible that it isn’t a bluetooth timeout as much as a device sleep state? Could you retry with your Display > Screen timeout extended?

Thanks! I’m quite sure it isn’t the screen, cause during the transfer I regularly tapped on the screen to keep it on. I know that it is quite likely to fail if the screen turns of :wink:

I also just tested again with a 10sec Bluetooth timeout, and Bluetooth is disabled after this 10sec window.

As an alternative to bluetooth file transfer, I think it would be much easier (if both on wifi) to use Warpinator (from F-Droid) or some other local file transfer over wifi tool. You do not need outside internet, just be on the same wifi network (local hotspot, possibly even when setting up a hotspot on one phone and connect to the other one but not certain about that) which could be local only.

Not saying this is a solution, but there are ways to connect via wifi even without internet :slight_smile: