One such feature in Windows 10 is built-in location services.
The results are pretty accurate.
Instructions in this article apply to Windows 10.

TypeMapsin the search box next to the Start button.
SelectOpenon the Maps app.
SelectYesif asked to allow Maps to know your precise location.

Does Windows Need to Know Your Location?
Location information offers many benefits.
Customize Your Location configs
To make changes to this feature, access Location configs.

SelectPrivacyin the Windows prefs window.
SelectLocationin the left pane under App Permissions.
The setting for all users on your PC is near the top where you see a gray button calledChange.

This is a per-user setting to turn location services on or off.
Scroll down the screen to choose apps that can use your location.
Here, you’ll see toggles for every app that uses location.

Cortana, for example, can deliver a reminder such as buying bread when you leave work.
There are no geofencing controls: it’s part and parcel of the regular location controls.
All this area does is let you know if any of your apps are using geofencing.
UnderLocation History, it’s possible for you to erase your location history manually by selectingClear.
If you don’t use this setting, your unit will erase the location history automatically after 24 hours.
It won’t show up as a notification that distracts you.
Instead, you’ll see the location marker appear on the far right of your taskbar.
When that happens an app has used your location.