Dual-power pump