No, the principle is not sound, for several reasons.
- accelerometer noise
- moving in a straight line at constant velocity == no acceleration
- the method assumes that the accelerometer Z axis is pointing perfectly parallel to the force of gravity
No, the principle is not sound, for several reasons.