Location is needed when "scanning" for wifi ap's or Bluetooth devices. This is because those devices can be used to "locate" you even if your GPS is off.
For example, Wifi access points (AP) are typically located in a fixed physical location. Whenever your phone "sees" a wifi access point, google cloud servers record that AP's MAC address along with the current GPS coordinates on your phone (if you have GPS on). Then whenever anyone else's phone "sees" that AP, then google will know their physical location even if their GPS is turned off.
Similarly, there are devices called "Bluetooth Beacons" which are typically located inside physical locations (like shopping malls) that help create an "indoor" gps system so certain apps can use these beacons to find out where you are indoors. These beacons also have a MAC address and a physical location. So again, by just "seeing" one of these beacons, google can determine your physical location even with the GPS off.
That is why "location" permission is needed just to "scan" for wifi or Bluetooth devices, because the MAC address of those devices can be used to track your location.
So, I need more info on your app:
1) Please post the permissions you have in your manifest
2) Please post the code in the sub where you ask the user for location permission
3) Is the "scanning code" (the code that you use to scan for Bluetooth devices), is this code inside a service or is it in an activity?
-John