Battery Low [Q] Override accelerometer?

I would like to place myself between the accelerometer data and other apps taking readings in order to send fake readings to those apps. Either that or implement my own software based accelerometer instead. (or another solution if you know of one)

Would i have to do this at kernel-level? There is not much documentation available that i can find. Please point me in the right direction.
Im very new to manipulating the android system, but i am willing to put some time into this. Thank you.