Energy Awareness and Scheduling in Mobile Devices and High End Computing