主权项 |
1. A method comprising:
determining, at a processing device of a mobile computing device, that the mobile computing device has entered a parking area; determining, at the processing device, whether the mobile computing device has entered a pedestrian mode, the pedestrian mode being indicative of a user of the mobile computing device parking a vehicle and exiting the vehicle; and when the mobile computing device has entered the pedestrian mode: determining, at the processing device, a first location of the mobile computing device at a first time corresponding to the mobile computing device entering the pedestrian mode, and providing, at the processing device, an occupied notification to a remote computing device, the occupied notification including the first location and indicating that a parking spot corresponding to the first location is occupied; wherein determining whether the mobile computing device has entered a pedestrian mode includes monitoring, at the processing device, a speed of the mobile computing device at predetermined intervals and determining, at the processing device, whether the mobile computing device is in the pedestrian mode based on the speed; and wherein the mobile computing device is in the pedestrian mode when the sampled speed is equal to zero for more than a predetermined amount of time. |