Lines Matching full:battery

13  * @brief Battery Service (BAS)
14 * @defgroup bt_bas Battery Service (BAS)
30 * @brief Battery Critical Status Characteristic flags.
33 * of various fields in the Battery Critical Status characteristic.
36 /** Battery Critical Status Bit 0: Critical Power State */
39 /** Battery Critical Status Bit 1: Immediate Service Required */
44 * @brief Battery Level Status Characteristic flags.
47 * of various fields in the Battery Level Status characteristic.
50 /** Bit indicating that the Battery Level Status identifier is present. */
53 /** Bit indicating that the Battery Level is present. */
60 /** @brief Battery Present Status
62 * Enumeration for the presence of the battery.
65 /** Battery is not present. */
68 /** Battery is present. */
102 /** @brief Battery Charge State
104 * Enumeration for the charge state of the battery.
107 /** Battery charge state is unknown. */
110 /** Battery is currently charging. */
113 /** Battery is discharging actively. */
116 /** Battery is discharging but inactive. */
120 /** @brief Battery Charge Level
122 * Enumeration for the level of charge in the battery.
125 /** Battery charge level is unknown. */
128 /** Battery charge level is good. */
131 /** Battery charge level is low. */
134 /** Battery charge level is critical. */
138 /** @brief Battery Charge Type
140 * Enumeration for the type of charging applied to the battery.
143 /** Battery charge type is unknown or not charging. */
146 /** Battery is charged using constant current. */
149 /** Battery is charged using constant voltage. */
152 /** Battery is charged using trickle charge. */
155 /** Battery is charged using float charge. */
167 /** Charging fault due to battery issue. */
192 /** @brief Battery Fault Status
194 * Enumeration for the fault status of the battery.
197 /** No battery fault. */
200 /** Battery fault present. */
204 /** @brief Read battery level value.
206 * Read the characteristic value of the battery level
208 * @return The battery level in percent.
212 /** @brief Update battery level value.
214 * Update the characteristic value of the battery level
217 * @param level The battery level in percent.
224 * @brief Set the battery present status.
226 * @param present The battery present status to set.
245 * @brief Set the battery charge state.
247 * @param state The battery charge state to set.
252 * @brief Set the battery charge level.
254 * @param level The battery charge level to set.
259 * @brief Set the battery charge type.
261 * @param type The battery charge type to set.
273 * @brief Set the identifier of the battery.
291 * @brief Set the battery fault status.
295 * @param value Battery fault status to set.