Carbon nanotubes-integrated inertial switch for reliable detection of threshold acceleration