energy reset routine