/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | bas.h | 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. */ [all …]
|
/Zephyr-latest/subsys/bluetooth/services/bas/ |
D | Kconfig.bas | 1 # Bluetooth GATT Battery service 7 bool "GATT Battery service" 10 bool "Battery Level Status" 12 Enable this option to include Battery Level Status Characteristic. 17 bool "Battery Level Identifier Present" 19 Enable this option if the Battery Level Identifier is present. 22 bool "Battery Level Present" 24 Enable this option if the Battery Level is present. 27 bool "Additional Battery Status Present" 29 Enable this option if Additional Battery Status information is present. [all …]
|
D | bas_internal.h | 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 [all …]
|
/Zephyr-latest/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:
|
D | zephyr,fuel-gauge-composite.yaml | 9 include: [fuel-gauge.yaml, battery.yaml] 12 battery-voltage: 16 Device to read battery voltage from. 21 battery-current: 24 Device to read battery current from.
|
/Zephyr-latest/samples/boards/nordic/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-latest/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.
|
D | charger.rst | 6 The charger subsystem exposes an API to uniformly access battery charger devices. 9 system as an input and provide power as an output downstream to the battery pack(s) and system. 13 The action of charging a battery pack is referred to as a charge cycle. When the charge cycle is 14 executed the battery pack is charged according to the charge profile configured on the charger 15 device. The charge profile is defined in the battery pack's specification that is provided by the 34 Chargers typically support multiple properties, such as temperature readings of the battery-pack
|
/Zephyr-latest/samples/fuel_gauge/max17048/ |
D | README.rst | 2 :name: MAX17048 Li-Ion battery fuel gauge 4 Read battery percentage and power status using MAX17048 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-latest/include/zephyr/drivers/sensor/ |
D | battery.h | 22 * @brief battery API 23 * @defgroup battery_apis battery APIs 27 /* Battery chemistry enumeration. 28 * Value names must match those from dts/bindings/battery.yaml 44 * @brief Get the battery chemistry enum value 62 * @brief Convert an OCV table and battery voltage to a charge percentage 65 * @param voltage_uv Battery voltage in microVolts 67 * @returns Battery state of charge in milliPercent
|
/Zephyr-latest/include/zephyr/drivers/ |
D | fuel_gauge.h | 32 /** Runtime Dynamic Battery Parameters */ 34 * Provide a 1 minute average of the current on the battery. 41 /** Used to cutoff the battery from the system - useful for storage/shipping of devices */ 43 /** Battery current (uA); negative=discharging */ 45 /** Whether the battery underlying the fuel-gauge is cut off from charge */ 49 /** Connect state of battery */ 55 /** Is the battery physically present */ 59 /** Remaining battery life time in minutes */ 61 /** Remaining time in minutes until battery reaches full charge */ 71 /** Battery voltage (uV) */ [all …]
|
D | charger.h | 33 * @brief Runtime Dynamic Battery Parameters 39 /** Reports whether or not a battery is present. */ 81 * Configuration to issue a notification to the system based on the battery discharge 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 */ [all …]
|
/Zephyr-latest/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-latest/tests/bsim/bluetooth/samples/battery_service/src/ |
D | central_test.c | 49 * Battery Service test: 51 * connect and discover Battery Service 64 /* Callback for handling Battery Critical Status Read Response */ 69 TEST_ASSERT(err == 0, "Failed to read Battery critical status (err %d)", err); in battery_critical_status_read_cb() 76 printk("Battery state: %s\n", in battery_critical_status_read_cb() 93 /* Callback for handling Battery Level Read Response */ 98 TEST_ASSERT(err == 0, "Failed to read Battery Level (err %d)", err); in battery_level_read_cb() 100 LOG_DBG("[READ] BAS Battery Level: %d%%\n", *(const uint8_t *)data); in battery_level_read_cb() 132 /* Callback for handling Battery Level Notifications */ 138 LOG_INF("[NOTIFICATION] BAS Battery Level: %d%%", *(const uint8_t *)data); in battery_level_notify_cb() [all …]
|
/Zephyr-latest/samples/boards/nordic/battery/ |
D | README.rst | 2 :name: 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/nordic/battery`. 75 :zephyr-app: samples/boards/nordic/battery
|
D | sample.yaml | 2 name: Measure battery voltage 4 sample.boards.nrf.battery: 9 tags: battery
|
/Zephyr-latest/dts/bindings/sensor/ |
D | nordic,npm2100-vbat.yaml | 7 description: NPM2100 PMIC Battery Voltage 19 from the battery by dropping to the vbatminl battery threshold. 25 The boost converter will not allow the battery to drop below this level.
|
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)
|
/Zephyr-latest/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-latest/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-latest/dts/bindings/battery/ |
D | battery.yaml | 5 Static Battery Characteristics 8 linux/Documentation/devicetree/bindings/power/supply/battery.yaml 13 description: This describes the chemical technology of the battery. 29 up battery capacity according to current OCV value. The OCV unit is 37 description: battery design capacity
|
/Zephyr-latest/boards/norik/octopus_io_board/doc/ |
D | index.rst | 31 * Battery charger 34 * Alkaline battery input 36 * Battery monitoring using ADC 73 * Alkaline battery 74 * Li-Po battery 76 When powered from USB-C or solar cell, the board can charge the Li-Po battery. The battery voltage … 77 provide information about the battery State of charge (SOC). 79 …lkaline battery, the user needs to set switch SW1 to ALK position. This ensures that the Li-Ion ba…
|