/Zephyr-Core-3.5.0/dts/bindings/fuel-gauge/ |
D | battery-cutoff.yaml | 9 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or 10 similarly smart battery fuel gauges. 13 their associated battery from the system. See the default fuel gauge SBS Gauge compatible as an 17 battery-cutoff-support: 19 Helper prop that indicates whether this device can cutoff the battery; this is also often 22 battery-cutoff-reg-addr: 24 Address of register to receive cutoff payload for battery cutoff. 26 battery-cutoff-payload: 28 Payload to write to cutoff battery register. This must be array of maximum 2 integers.
|
D | sbs,default-sbs-gauge.yaml | 9 include: ["sbs,sbs-gauge-new-api.yaml", "battery-cutoff.yaml"] 12 Default generic smart battery fuel gauge driver. Includes support for battery cutoff if enabled. 18 battery-cutoff-reg-addr: 21 battery-cutoff-payload:
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/services/ |
D | bas.h | 12 * @brief Battery Service (BAS) 13 * @defgroup bt_bas Battery Service (BAS) 27 /** @brief Read battery level value. 29 * Read the characteristic value of the battery level 31 * @return The battery level in percent. 35 /** @brief Update battery level value. 37 * Update the characteristic value of the battery level 40 * @param level The battery level in percent.
|
/Zephyr-Core-3.5.0/samples/boards/nrf/battery/src/ |
D | battery.h | 10 /** Enable or disable measurement of the battery voltage. 18 /** Measure the battery voltage. 20 * @return the battery voltage in millivolts, or a negative error 25 /** A point in a battery discharge curve sequence. 36 /** Battery voltage at #lvl_pptt remaining life. */ 40 /** Calculate the estimated battery level based on a measured voltage. 42 * @param batt_mV a measured battery voltage level. 44 * @param curve the discharge curve for the type of battery installed
|
/Zephyr-Core-3.5.0/doc/hardware/peripherals/ |
D | fuel_gauge.rst | 6 The fuel gauge subsystem exposes an API to uniformly access battery fuel gauge devices. Currently, 20 Fuel gauges typically support multiple properties, such as temperature readings of the battery-pack 29 Battery Cutoff 32 Many fuel gauges embedded within battery packs expose a register address that when written to with a 33 specific payload will do a battery cutoff. This battery cutoff is often referred to as ship, shelf, 34 or sleep mode due to its utility in reducing battery drain while devices are stored or shipped. 36 The fuel gauge API exposes battery cutoff with the :c:func:`fuel_gauge_battery_cutoff` function.
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | fuel_gauge.h | 30 /** Runtime Dynamic Battery Parameters */ 32 * Provide a 1 minute average of the current on the battery. 39 /** Used to cutoff the battery from the system - useful for storage/shipping of devices */ 41 /** Battery current (uA); negative=discharging */ 43 /** Whether the battery underlying the fuel-gauge is cut off from charge */ 47 /** Connect state of battery */ 53 /** Is the battery physically present */ 57 /** Remaining battery life time in minutes */ 59 /** Remaining time in minutes until battery reaches full charge */ 69 /** Battery voltage (uV) */ [all …]
|
D | charger.h | 28 * @brief Runtime Dynamic Battery Parameters 34 /** Reports whether or not a battery is present. */ 77 /** Charging device is charging a battery */ 79 /** Charging device is not able to charge a battery */ 81 /** Charging device is not charging a battery */ 83 /** The battery is full and the charging device will not attempt charging */ 133 * @brief Fetch a battery charger property 135 * @param dev Pointer to the battery charger device 154 * @brief Set a battery charger property 156 * @param dev Pointer to the battery charger device
|
D | emul_fuel_gauge.h | 44 * @brief Set charging for fuel gauge associated battery. 46 * Set how much the battery associated with a fuel gauge IC is charging or discharging. Where 51 * @param uV Microvolts describing the battery voltage. 52 * @param uA Microamps describing the battery current where negative is discharging. 72 * @brief Check if the battery has been cut off.
|
/Zephyr-Core-3.5.0/samples/fuel_gauge/max17048/ |
D | README.rst | 3 MAX17048 Li-Ion battery fuel gauge 11 .. _MAX17048: https://www.maximintegrated.com/en/products/power/battery-management/MAX17048.html 13 The sample periodically reads battery percentage and power status 24 * Battery charge status as percentage 25 * Total time until battery is fully charged or discharged 26 * Battery voltage 35 when the battery is being charged you will need other method.
|
/Zephyr-Core-3.5.0/drivers/charger/ |
D | Kconfig | 6 bool "Battery charger drivers" 8 Enable battery charger driver configuration. 17 int "Battery charger init priority" 20 Battery charger initialization priority.
|
D | Kconfig.sbs_charger | 5 bool "Smart Battery Charger" 10 Enable I2C-based/SMBus-based driver for a Smart Battery Charger. 13 bool "Emulate an SBS 1.1 compliant smart battery charger"
|
/Zephyr-Core-3.5.0/drivers/fuel_gauge/ |
D | Kconfig | 6 bool "Battery fuel gauge drivers" 8 Enable battery fuel gauge driver configuration. 17 int "Battery Fuel Gauge init priority" 20 Battery fuel gauge initialization priority.
|
/Zephyr-Core-3.5.0/samples/boards/nrf/battery/ |
D | README.rst | 3 Battery Voltage Measurement 15 example of a devicetree node describing a voltage divider for battery 53 battery source: a standard LiPo cell requires a curve that is different 54 from a standard alkaline battery. Curves can be measured, or estimated 55 using the data sheet for the battery. 60 The application initializes battery measurement on startup, then loops 61 displaying the battery status every five seconds. 72 The code can be found in :zephyr_file:`samples/boards/nrf/battery`. 75 :zephyr-app: samples/boards/nrf/battery
|
D | sample.yaml | 2 name: Measure battery voltage 4 sample.boards.nrf.battery: 9 tags: battery
|
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | ucifi_battery.c | 10 * Source material for uCIFI battery object (3411): 40 static struct lwm2m_engine_obj battery; variable 134 LOG_DBG("Create uCIFI Battery instance: %d", obj_inst_id); in battery_create() 140 battery.obj_id = UCIFI_OBJECT_BATTERY_ID; in ucifi_battery_init() 141 battery.version_major = BATTERY_VERSION_MAJOR; in ucifi_battery_init() 142 battery.version_minor = BATTERY_VERSION_MINOR; in ucifi_battery_init() 143 battery.is_core = false; in ucifi_battery_init() 144 battery.fields = fields; in ucifi_battery_init() 145 battery.field_count = ARRAY_SIZE(fields); in ucifi_battery_init() 146 battery.max_instance_count = MAX_INSTANCE_COUNT; in ucifi_battery_init() [all …]
|
D | Kconfig.ucifi | 12 bool "uCIFI Battery (3411) Monitor Support" 14 The uCIFI battery object provides attributes to monitor battery 20 int "Maximum # of uCIFI Battery object instances" 23 This setting establishes the total count of uCIFI Battery
|
/Zephyr-Core-3.5.0/dts/bindings/sensor/ |
D | maxim,max17262.yaml | 17 description: Battery Design Voltage in mV (3300 to 4400) 22 description: Battery Desired Voltage in mV (3300 to 4400) 27 description: Battery Design Charging Current in mA (e.g. 2000) 32 description: Battery Capacity in mAh (default 3000)
|
D | ti,bq274xx.yaml | 17 description: Battery Design Voltage in mV (3300 - 4400) 22 description: Battery Design Capacity in mAh 27 description: Battery Taper current in mAh 32 description: Battery Terminate Voltage in mV
|
D | maxim,max17055.yaml | 22 description: Battery Design Voltage in mV (3300 to 4400) 27 description: Battery Desired Voltage in mV (3300 to 4400) 32 description: Battery Design Charging Current in mA (e.g. 2000)
|
/Zephyr-Core-3.5.0/drivers/bbram/ |
D | Kconfig | 5 bool "Battery-backed RAM (BBRAM) drivers" 7 Enable BBRAM (battery-backed RAM) driver configuration. 16 bool "Battery-backed RAM shell"
|
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ |
D | Kconfig.bas | 1 # Bluetooth GATT Battery service 7 bool "GATT Battery service"
|
/Zephyr-Core-3.5.0/tests/drivers/fuel_gauge/sbs_gauge/ |
D | Kconfig | 8 bool "Test Battery Cutoff" 10 Enabling this option adds test sources that verify if the battery cutoff extension to the
|
/Zephyr-Core-3.5.0/drivers/fuel_gauge/sbs_gauge/ |
D | Kconfig | 5 bool "Smart Battery Fuel Gauge" 10 Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge.
|
/Zephyr-Core-3.5.0/drivers/sensor/sbs_gauge/ |
D | Kconfig | 5 bool "Smart Battery Fuel Gauge" 10 Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge.
|
/Zephyr-Core-3.5.0/drivers/fuel_gauge/max17048/ |
D | max17048.c | 1 /* max17048.c - Driver for max17048 battery fuel gauge */ 40 /* True if battery chargin, false if discharging */ 73 * Battery voltage 98 * Battery percentage still available 120 * Percentage of the total battery capacity per hour, positive is charging or 216 LOG_ERR("Error while reading battery percentage"); in max17048_get_prop() 222 LOG_ERR("Error while reading battery voltage"); in max17048_get_prop() 227 * Crate (current rate) is the current percentage of the battery charged or drained in max17048_get_prop() 232 LOG_ERR("Error while reading battery current rate"); in max17048_get_prop() 271 * calibrating the battery in max17048_get_prop()
|