You probably want to read up a little on that. An accelerometer (ofbthe types we are talking about here) sense gravity when in stationary States.An accelerometer can tell you when something is tilting but once it's stopped tilting as far as the accelerometer is concerned the platform is level again.
So the other poster is correct.