Lines Matching +full:battery +full:- +full:current
4 * SPDX-License-Identifier: Apache-2.0
33 * @brief Runtime Dynamic Battery Parameters
39 /** Reports whether or not a battery is present. */
51 /** Configuration of current sink used for charging in µA */
53 /** Configuration of current sink used for conditioning in µA */
60 * Configuration of the input current regulation target in µA
62 * This value is a rising current threshold that is regulated by reducing the charge
63 * current output
70 * current output
74 * Configuration to issue a notification to the system based on the input current
81 * Configuration to issue a notification to the system based on the battery discharge
82 * current level and timing
107 * Reserved to demark downstream custom properties - use this value as the actual value may
141 /** Charging device is charging a battery */
143 /** Charging device is not able to charge a battery */
145 /** Charging device is not charging a battery */
147 /** The battery is full and the charging device will not attempt charging */
161 * typically for battery detection or preconditioning
174 * battery health
196 /** The battery voltage has exceeded its overvoltage threshold */
199 * The battery or charger device is experiencing an unspecified
203 /** The battery temperature is below the "cold" threshold */
211 /** The battery temperature is in the "warm" range */
213 /** The battery temperature is in the "cool" range */
215 /** The battery temperature is below the "hot" threshold */
217 /** The charger device does not detect a battery */
234 * @brief The input current thresholds for the charger to notify the system
239 /** The current threshold to be exceeded */
241 /** The duration of excess current before notifying the system */
248 * @param status Current charging state
255 * @param online Current external supply state
340 * @brief Fetch a battery charger property
342 * @param dev Pointer to the battery charger device
355 const struct charger_driver_api *api = (const struct charger_driver_api *)dev->api; in z_impl_charger_get_prop()
357 return api->get_property(dev, prop, val); in z_impl_charger_get_prop()
361 * @brief Set a battery charger property
363 * @param dev Pointer to the battery charger device
376 const struct charger_driver_api *api = (const struct charger_driver_api *)dev->api; in z_impl_charger_set_prop()
378 return api->set_property(dev, prop, val); in z_impl_charger_set_prop()
384 * @param dev Pointer to the battery charger device
388 * @retval -EIO if communication with the charger failed
389 * @retval -EINVAL if the conditions for initiating charging are invalid
395 const struct charger_driver_api *api = (const struct charger_driver_api *)dev->api; in z_impl_charger_charge_enable()
397 return api->charge_enable(dev, enable); in z_impl_charger_charge_enable()