add the power api
Merge pull request #23 from dart-gde/power

add the power api