Google recorded wifi names and locations as a "bycatch" when taking streetview pictures from 2007 upto 2010. They still collect such data on Android devices if the user consents or ignores the option to say "no" … :-0
Certain devices (especially tablets) don't have GPS or various sensors integrated and still can tell you your approximate location, if WiFi is enabled.
Certain devices (especially tablets) don't have GPS or various sensors integrated and still can tell you your approximate location, if WiFi is enabled.