adb_sensor_read
Read hardware sensor values from an Android device. Enumerate sensors from sensorservice, retrieve last-known readings with timestamps, and filter by category or list available sensors.
Instructions
Read current hardware sensor values from the device. Enumerates all available sensors from sensorservice and returns their last-known readings with timestamps. Sensor availability is device-dependent — the tool reports what's present. No root required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by sensor category: all, accelerometer, gyroscope, magnetometer, light, barometer, proximity, gravity, linear_accel, rotation, orientation, motion, step, temperature | all |
| listOnly | No | If true, list available sensors without reading values (faster, useful for discovery) | |
| device | No | Device serial |