do not access wifi manager or bluetooth when not available.