Use interface for gravity reading.