You may wish to follow this development thread for details of this upcoming feature: XLSForm spec proposal: auto-location type for background location capture with setlocation action
You may wish to follow this development thread for details of this upcoming feature: XLSForm spec proposal: auto-location type for background location capture with setlocation action