check power api