Lines Matching full:battery
15 * @brief Battery level status structure definition.
25 * - bit 1: Battery Level Present
26 * - Indicates whether the battery level field is present.
38 * - bit 0: Battery Present
51 * - bit 5–6: Battery Charge State
56 * - bit 7–8: Battery Charge Level
69 * - Bit 12: Battery
77 /** Identifier for the battery, range 0x0000 to 0xFFFF.*/
82 /** Current battery level */
97 * - bit 2: Battery Fault
109 * @brief Initialize the Battery Level Status Module.
115 * @brief Read the Battery Critical Status characteristic.
119 * @param attr Pointer to the GATT attribute of Battery Critical Status characteristic.
133 * @param attr Pointer to the GATT attribute of battery critical status char.
140 * @brief Set the battery level characteristic value.
142 * @param battery_level The new battery level value in percent (0-100).
147 * @brief Set the battery critical state flag.
149 * @param critical_state The battery critical state to set (true for critical, false otherwise).
161 * @brief Read the Battery Level Status characteristic.
165 * @param attr Pointer to the GATT attribute representing the Battery Level Status characteristic.