Add Device.get_power_management_mode

Signed-off-by: John Else <john.else@citrix.com>