scheduling energy-intensive tasks