Separate enum PowerType and PowerState
fixes #113