add battery and accelerometer