How effective power management increases the lifetime operation of portable medical devices