#WALvar:batteryChargeLevel#

XML identifiers: Pairs of two keys: One named HBK01-10 with a string showing a label of your choosing, and the matching HBV01-10 string with the identifier “#WALvar:battCharge#” (quotes omitted).

Purpose: These two parameters are the identifier of a heartbeat key (label), and it’s value. The #WALvar:battCharge# is replaced during heartbeat with the charge level, in percents, giving “charge_level” as label, and charge level (for instance 83%) 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 (for setup, please see logserver-setup-page). 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 it as the string following HBK10, for instance.

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. See Development, below.

Development: A “turn this off”-feature may be added at a later stage, probably per number of parameter.

Example:

Choosing to use the WAL HeartBeat ConFiguration Key 08 and Value 08 pair to give heartbeats informing about charge level, using a custom defined name battery_level:

<key>HBK10</key>

<string>CHARGLEVL</string>

<key>HBV10</key>

<string>#WALvar:battCharge#</string>

..

Document Revision: December, 2019. February, 2020. March, 2020. rev. 0.4