remove powerstate variable, redundant