got power toggling working (albeit in a very hacky way)