6. Energy management