Energy-aware scheduling for real-time systems: A survey