A power aware runtime