Merge pull request #5 from nkskjames/power_policy
add power policy settings
diff --git a/settings.yaml b/settings.yaml
index 01e7828..200aa86 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -16,3 +16,7 @@
name: system_state
type: s
default: ""
+ powerpolicy:
+ name: power_policy
+ type: s
+ default: "RESTORE_LAST_STATE"
diff --git a/settings_file.py b/settings_file.py
index 0c4e6cb..3efad0b 100644
--- a/settings_file.py
+++ b/settings_file.py
@@ -1,2 +1,2 @@
#!/usr/bin/python -u
-SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}
+SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powerpolicy': {'default': 'RESTORE_LAST_STATE', 'type': 's', 'name': 'power_policy'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}
\ No newline at end of file