Q: How can I tweak Settings/Location to switch on/off the GPS receiver directly, independent if an app asks for position data or not?

Situations app is not installed.

edit: Can I tweak something in
/usr/share/jolla-settings/pages/gps_and_location/location.qml ?
At the first glance this looks very promising, but my knowledge is limited.

edit: Found in location.qml, line 172-174

onClicked: {
    setMode(LocationConfiguration.DeviceOnlyMode)
    root.checkFlightMode()

As I understand, this is what happens if Device-only-mode is selected.
So question is, where is LocationConfiguration.DeviceOnlyMode defined?
It would be good, to apply the tweak only to the device-only-mode and not affect other modes, because on the other modes the present behavior is senseful.

edit: found /usr/share/csd/pages/GpsStateRestorer.qml