power-restore: add PowerRestoreDelay
PowerRestoreDelay represent delay before power policy invoked on system
boot.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I26c89a2ff4cf77d7131c697791ae3379a1aeb5f5
diff --git a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
index d51ba03..68649f6 100644
--- a/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
+++ b/meta-phosphor/recipes-phosphor/settings/phosphor-settings-defaults/defaults.yaml
@@ -53,12 +53,16 @@
Properties:
PowerRestorePolicy:
Default: RestorePolicy::Policy::AlwaysOff
+ PowerRestoreDelay:
+ Default: 0
/xyz/openbmc_project/control/host0/power_restore_policy/one_time:
- Interface: xyz.openbmc_project.Control.Power.RestorePolicy
Properties:
PowerRestorePolicy:
Default: RestorePolicy::Policy::None
+ PowerRestoreDelay:
+ Default: 0
/xyz/openbmc_project/time/sync_method:
- Interface: xyz.openbmc_project.Time.Synchronization