Reliable And Energy Efficient Battery-Powered Cyber-Physical Systems