Desktop and datacentre energy management