A portable medical device is provided with an internal accelerometer device. The medical device includes a circuit board, the accelerometer device, and a response module coupled to the accelerometer device. The accelerometer device is mechanically and electrically coupled to the circuit board, and it includes a plurality of mass-supporting arms for a plurality of electrically distinct sensor electrodes, piezoelectric material for the mass-supporting arm, and a proof mass supported by the mass-supporting arms. Each of the mass-supporting arms has one of the sensor electrodes located thereon. Acceleration of the proof mass causes deflection of the piezoelectric material, which generates respective sensor signals at one or more of the sensor electrodes. The response module is configured to initiate an acceleration-dependent operation of the portable medical device in response to generated sensor signals present at the sensor electrodes.