-
This is not a bug, but a discussion. I wonder what the best practices are for handling the connection to a BLE device, the first seems way easier to implement (no need for connection locks etc), but what's the effect on the batteries ? P.S: I can not remove the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Good question!! I was wondering the same. I ask every time to the user about it but it would be more confortable if i could reconnect it automatic. I mean, every time i need to start reading, i show the prompt to connect the device but if he change or close the mine, he lost the connectiong. |
Beta Was this translation helpful? Give feedback.
-
The question is definitely much better answered for a specific case, because in general "it depends" 🙂 Connection duration has less effect on battery life than you might think, as it really depends on what the connection intervals are. In general, connecting consumes a fair amount of power (as scanning is required) compared to a long running idle connection. Given no other background context, my recommendations would be:
This is by far the least error prone and most reliable way to get data with mobile phones 🙂 |
Beta Was this translation helpful? Give feedback.
-
Hi all. Thank you for the discussion. I enabled the Discussions feature so that we can separate questions/answers from issues. For this specific question I agree with the answer given by peitschie. |
Beta Was this translation helpful? Give feedback.
The question is definitely much better answered for a specific case, because in general "it depends" 🙂
Connection duration has less effect on battery life than you might think, as it really depends on what the connection intervals are.
In general, connecting consumes a fair amount of power (as scanning is required) compared to a long running idle connection.
Given no other background context, my recommendations would be:
This is by far the least error prone and most reliable way to get data with mobile phones 🙂