Enable or disable batching mode.
#include <sensor/libsensor.h>
int sensor_set_batching(sensor_t *sensor, bool enable)
BlackBerry 10.0.0
The sensor to modify.
1 to enable batching mode, or 0 to disable it.
When batching is enabled and supported by the hardware, sensors will report samples in hardware-specific batch sizes to conserve power.
EOK on success, an errno value otherwise.