Google rolling out new on-body detection security feature to Android 5.0+ devices
Google appears to have started rolling out a new device security feature called on-body detection. Basically, this feature uses your device’s accelerometer to figure out if your phone is in your hand or in your pocket. If the feature detects that your phone is not in one of those two locations, it will automatically lock. Ideally, this means that if you forget your phone or leave it sitting on a table somewhere, it will lock and prevent nefarious thieves from gaining access (via Android Police).