Does anyone know if we can detect if a device is moving, or sitting still. For example, if someone is walking around with the device vs. the device is sitting on someone's desk. I'm looking for a formula that can detect movement where the formula would output "true" or "false". In "fake code", something like this If(the device is moving, true, false).
The only solution that comes close that I can find is to leverage the latitude/longitude but I don't know how to put that into a formula that says "If the latitude/longitude is changing, true, if it is not changing, false"