After upgrading to Android version 6.0 Bluetooth Low Energy (BLE) scanning will only work if Location services are enabled on the device. See here for reference: Bluetooth L
You can scan BLE devices without location access using CompanionDeviceManager (API26).
https://developer.android.com/reference/android/companion/CompanionDeviceManager.