Implement exponential backoff for the scanning frequency. Initially scan rapidly, like once every 5 seconds, then gradually reduce frequency until reaching a longer interval (like 2 minutes or something). Allow users to manually trigger a scan which resets back to rapid scanning.
Implement exponential backoff for the scanning frequency. Initially scan rapidly, like once every 5 seconds, then gradually reduce frequency until reaching a longer interval (like 2 minutes or something). Allow users to manually trigger a scan which resets back to rapid scanning.