Battery Charge Level ( #WALvar:battCharge# )

XML identifiers: batt_charge and #WALvar:battCharge# as values of key/value pairs HBL/HBV 01-25. This pair is per default placed in HBL08/HBV08. Please see example. Purpose: The #WALvar:battCharge# is replaced during heartbeat with the actual charge level, in percents, with charge_level as label. The actual charge level (for instance 83%) will be transferred to the heartbeat logging server. Status: Currently in use. Category: Heartbeat keys (labels and value). Usage: Returns the charge level, in percents, to the logging server. Valid range of values: 0-100. Values below 100 indicates loss of external power, or charging after loss of external power. If another label is wanted, for instance CHARGLEVL, either change the string following the HBK08 key, or add a pair of device_id and #WALvar:battCharge# as in a spare key/value pair of HBL/HBV 01-25. Default: Defaults to the pair of HBK08 = batt_charge, and HBV08 = #var:battCharge# with the replacement identifier #var:battCharge# being replaced during actual operation with the percentage of remaining battery power. Development: Stable, with no current plans for change. Example: Choosing to use the WAL HeartBeat Configuration Label 24 and Value 24 pair to transfer heartbeats to logging server, informing about charge level, using a custom defined name battery_level label of CHARGELEVL: … <key>HBK25</key> <string>CHARGLEVL</string> … <key>HBV25</key> <string>#WALvar:battCharge#</string> .. Document Revision: December, 2019. February, 2020. March, 2020. Nov. 2024. Rev. 1.0