Added active hotspot detection.