I don't think you need a patch. Enable iio-sensor-proxy again. You probably want to change hysteresis. This will decide how much change in sample data before data is sent to user. OR need to reduce sampling frequency.
Most probably this is accel_3d, which in your case /sys/bus/iio/devices/iio:device3. Recheck with the "name" attribute.
Try adjusting
in_accel_hysteresis to some higher value and read back if this is accepted by the sensor.
For example
#echo 0.000010 > in_accel_hysteresis
I don't think you need a patch. Enable iio-sensor-proxy again. You probably want to change hysteresis. This will decide how much change in sample data before data is sent to user. OR need to reduce sampling frequency.
Most probably this is accel_3d, which in your case /sys/bus/ iio/devices/ iio:device3. Recheck with the "name" attribute.
Try adjusting
in_accel_hysteresis to some higher value and read back if this is accepted by the sensor.
For example
#echo 0.000010 > in_accel_hysteresis
Also try to reduce in_accel_ sampling_ frequency.