In principle, there is no way to make one value, as far as I can judge. What I ended up with was introducing a variable called lastAccelValueand registering my activity in order to listen to the accelerometer updates at the lowest possible speed. Each new accelerometer value is stored on lastAccelValue.