Lines Matching +full:power +full:- +full:on +full:- +full:hours
45 * @param[in] bus - The Dbus bus object
46 * @param[in] objPath - The Dbus object path
47 * @param[in] id - Chassis id
61 std::chrono::hours{1}, std::chrono::minutes{1}) in __anonacea13680302()
69 // No default in PDI so start at Good, skip D-Bus signal for now
76 this->emit_object_added();
88 /** @brief Increment POHCounter if Chassis Power state is ON */
98 /** @brief Determine status of power into system by examining all the
99 * power-related interfaces of interest
103 /** @brief Determine status of power provided by an Uninterruptible Power
106 * @return True if UPS power is good, false otherwise
110 /** @brief Determine status of power provided by the power supply units into
113 * @return True if PSU power is good, false otherwise
119 * This function calls `StartUnit` on the systemd unit given.
121 * @param[in] sysdUnit - Systemd unit
127 * This function calls `RestartUnit` on the systemd unit given.
130 * @param[in] sysdUnit - Systemd unit to restart
140 * @param[in] target - Target string to check on
151 * @param[in] msg - Data associated with subscribed signal
185 * @return fs::path - pathname of persisted requested POH counter.
191 * @param[in] retCounter - deserialized POH counter value
193 * @return bool - true if the deserialization was successful, false
201 /** @brief Serialize the last power state change time.
205 * on reboots there's a way to know not to update the time again.
209 /** @brief Deserialize the last power state change time.
211 * @param[out] time - Deserialized time
212 * @param[out] state - Deserialized power state
214 * @return bool - true if successful, false otherwise.
218 /** @brief Restores the power state change time.
220 * The time is loaded into the LastStateChangeTime D-Bus property.
221 * On the very first start after this code has been applied but
227 /** @brief Timer used for tracking power on hours */
244 * @param[in] msg - Data associated with subscribed signal
254 * @param[in] msg - Data associated with subscribed signal