Sensors required for DeviceMotion?

What sensors are required for DeviceMotion to work or in other words for DeviceMotion.isAvailableAsync() to return true?