Patch 2.2 : add Gravity sensor support