Detecting and countering battery-depletion attacks in wearable medical devices | Synapse