Searched hist:"8 b1f8620" (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-state-manager/ |
H A D | chassis_state_manager.hpp | 8b1f8620 Fri Jan 28 16:37:07 CST 2022 Andrew Geissler <geissonator@yahoo.com> ups: check state on startup and update power status
Look for a UPS (uninterruptible power supply) D-Bus object on chassis startup. If found, read its State and BatteryLevel properties to check the condition of the power to the chassis. Update the CurrentPowerStatus property hosted by the chassis state manager based on this information.
Tested: - Utilized ibm-ups feature to start in debug mode so all properties could be manually set. Validated good path and bad paths for all properties and ensured CurrentPowerStatus was set as expected for each test.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I064a9e7fecbed8f859828359a761877e0fa95251
|
H A D | chassis_state_manager.cpp | 8b1f8620 Fri Jan 28 16:37:07 CST 2022 Andrew Geissler <geissonator@yahoo.com> ups: check state on startup and update power status
Look for a UPS (uninterruptible power supply) D-Bus object on chassis startup. If found, read its State and BatteryLevel properties to check the condition of the power to the chassis. Update the CurrentPowerStatus property hosted by the chassis state manager based on this information.
Tested: - Utilized ibm-ups feature to start in debug mode so all properties could be manually set. Validated good path and bad paths for all properties and ensured CurrentPowerStatus was set as expected for each test.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I064a9e7fecbed8f859828359a761877e0fa95251
|