Giter Club home page Giter Club logo

Comments (9)

DrMaxNix avatar DrMaxNix commented on June 12, 2024 1

Alright, but then the descriptive text of the settings option is very missleading and should probably be changed..

from airguard.

lenhart avatar lenhart commented on June 12, 2024 1

Hi, I was confused by this option as well (I was about to open an issue that this option was not enabled by default because i read it in a way that scanning won't function at all otherwise).

update: my suggestion to add/modify the thread openers suggestion would be:
Warning: With this option, some devices might be detected later _(up to approx. 2 hours)_ or not at all. This option will reduce energy consumption."
@Sn0wfreezeDev is the ~2 hours something that should be included as information in the description? (or rather: did you measure that or is this more of a gut feeling?)

Cheers!

from airguard.

Sn0wfreezeDev avatar Sn0wfreezeDev commented on June 12, 2024 1

@DrMaxNix we try to align pull-requests with our feature releases. So we are currently working on an enhanced device detection and we will add the pull requests in this release 😊

from airguard.

DrMaxNix avatar DrMaxNix commented on June 12, 2024 1

To bring some progress into this issue I will sum up the ideas we had so far.
Please tell me if you think my suggestion should be changed in some way or if it's ready for a PR!

Current text (as of v1.2)

If enabled, Bluetooth Low Energy scanning will be used to discover nearby AirTags! WARNING: Without this option, some devices might not be discovered!

@aforemendude

If enabled, low power scanning mode will be used to discover nearby AirTags! WARNING: When this option is enabled, some devices might not be discovered!

@lenhart

Warning: With this option, some devices might be detected later (up to approx. 2 hours) or not at all. This option will reduce energy consumption."

My suggestion to combine all of those ideas

If enabled, low power scanning mode will be used to discover nearby AirTags. This will reduce energy consumption. WARNING: When this option is enabled, some devices might be detected late or not at all!

from airguard.

musm avatar musm commented on June 12, 2024

The wording is certainly confusing on what the option does. Looking for documentation lead me to this issue. Interested in hearing feedback on it.

from airguard.

DrMaxNix avatar DrMaxNix commented on June 12, 2024

The Android docs only say that SCAN_MODE_LOW_POWER "consumes the least power", not that useful.
But I found this in the docs of NordicSemiconductor/Android-Scanner-Compat-Library: "A Bluetooth LE device should advertise very often (at least once per 100 ms) in order to be found with this mode, otherwise the scanning interval may miss some or even all advertising events."

So it seems like when using SCAN_MODE_LOW_POWER you will find less devices..

from airguard.

Sn0wfreezeDev avatar Sn0wfreezeDev commented on June 12, 2024

We did some measurements using the different scan modes and different scan durations. The low power scan mode clearly misses some devices, even though it will scan for a longer time.
The reason is that the scanning cycles will occur less often in Android. Nevertheless, if you have a tracker on you and only every 3rd scan will find it, the app will still be able to notify you after about 2 hours.

from airguard.

DrMaxNix avatar DrMaxNix commented on June 12, 2024

In both cases Bluetooth LowEnergy is used.. It just changes the poll interval for devices to be discovered.
Also I have a PR open (PR #39) for fixing typos for 23 days which hasn't been merged yet..

from airguard.

lenhart avatar lenhart commented on June 12, 2024

Hi @DrMaxNix: oh, too much skipping between open browser tabs, sorry about that confusion, should have read the opening post again. I will edit my previous post and propose that if the 2 hour mark can be something of a guidance, that it could be included in the fix @aforemendude proposed initially :-)
Cheers!

from airguard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.