Adaptability-Focused Co-Design For Energy-Harvesting Systems