records device position and identifies frequent locations