Nowadays, any Android device has a big sensor amount implemented. It is true that most of the sensors do not require a considerable amount of power for their operation. But the sum of the power consumption of the whole sensor set may be noticeable.
I already saw, some of the sensors are written/read through SPI interface by using linux SPI driver
So, is it possible to access the SPI driver at runtime to make sensors enter off/disabled/idle state to reduce power consumption? More specifically, I want to write/read SPI bytes through sysfs or command line
This should be achieveable in any rom, being rooted or with a custom kernel