[bug fixing] PTSDK-1444, 1386, 1372

Rewrite power module internal algorithm due to misunderstand the meaning
of API doc definition.
Power module related rule setting has been removed from the panel due
to API doesn't reject any request from latest API spec.
Merge remote-tracking branch 'upstream/next' into next
Merge pull request #166 from zivchang/next

[bug fixing] PTSDK-1444, 1386, 1372