Design And Management For Energy-Efficient Cyber-Physical Systems