remove dumpstate and define powerhal