hadess / iio-sensor-proxy

IIO accelerometer sensor to input device proxy
197 stars 64 forks source link

How can I disable the accelerometer to save power? #196

Closed Maaajaaa closed 6 years ago

Maaajaaa commented 6 years ago

Is there a way to do this, and is it possible to do it when the orientation is locked in gnome? This should allow for some (minor) power-saving.

hadess commented 6 years ago

The desktop environment needs to call ReleaseAccelerometer for the accelerometer not to be polled anymore. API documentation is here: https://developer.gnome.org/iio-sensor-proxy/