A method, performed by a location service component, for providing at least one estimate of a location of a device, the location service component comprising a processing unit, wherein the device is in a first mode, wherein the first mode refers to the device not being able to communicate with the location service component, wherein the method is performed by means of the processing unit, and] wherein the method comprises: receiving, from a client component, a request for said at least one estimate of the location of the device, the client component being a user equipment, estimating the at least one location based on a predictive model to obtain an initial set of data items, wherein each data item includes a respective previous estimate of the location of the device and a set of identities representing one or more further devices in a neighbourhood of the device, wherein the set of identities represents neighbours to the device, wherein the predictive model is a model fed with previously estimated positions of the device and corresponding further devices, and wherein the initial set of data items comprises at least two data items associated with the last two locations of the device, obtaining a respective location for each of said one or more further devices based on the set of identities by receiving the respective location from said each of said one or more further devices, removing any data item from the initial set of data items that is an inconsistent data item which is inconsistent with the respective location for said one or more further devices to obtain a pruned set of data items, wherein the inconsistent data item comprises the respective estimate of the location of the device comprising a particular location associated with a particular identity from the set of identities representing said one or more further devices in the neighbourhood of the device, and wherein the particular location is different from the respective location obtained for one of said one or more further devices that are associated with the particular identity, and sending, to the client component, one or more respective estimates of the pruned set of data items. receiving, from a client component, a request for said at least one estimate of the location of the device, the client component being a user equipment, estimating the at least one location based on a predictive model to obtain an initial set of data items, wherein each data item includes a respective previous estimate of the location of the device and a set of identities representing one or more further devices in a neighbourhood of the device, wherein the set of identities represents neighbours to the device, wherein the predictive model is a model fed with previously estimated positions of the device and corresponding further devices, and wherein the initial set of data items comprises at least two data items associated with the last two locations of the device, obtaining a respective location for each of said one or more further devices based on the set of identities by receiving the respective location from said each of said one or more further devices, removing any data item from the initial set of data items that is an inconsistent data item which is inconsistent with the respective location for said one or more further devices to obtain a pruned set of data items, wherein the inconsistent data item comprises the respective estimate of the location of the device comprising a particular location associated with a particular identity from the set of identities representing said one or more further devices in the neighbourhood of the device, and wherein the particular location is different from the respective location obtained for one of said one or more further devices that are associated with the particular identity, and sending, to the client component, one or more respective estimates of the pruned set of data items.