ups: do not power on if power status is bad
This will be a configurable feature that people can bring in via an optional package within the phosphor-state-manager recipe.
Tested: - Set CurrentPower
ups: do not power on if power status is bad
This will be a configurable feature that people can bring in via an optional package within the phosphor-state-manager recipe.
Tested: - Set CurrentPowerStatus to Good and verified app returned 0 with success log - Set CurrentPowerStatus to UninterruptiblePowerSupply and verified error was logged and non-zero rc was returned - Built full flash image and verified expected behavior in simulation
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I0fd5dc43b4476fd99f07d79169a71d102bb065e8
show more ...
|