You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ``percentage`` | Mean across batteries reporting/calculating percentage | From battery's ``battery_percentage`` interface if enabled, otherwise calculated from battery's ``min_voltage`` and ``max_voltage`` parameters. |
53
+
| ``percentage`` | Mean across batteries reporting/calculating percentage | From battery's ``battery_percentage`` interface if enabled, otherwise calculated from battery's ``minimum_voltage`` and ``maximum_voltage`` parameters. |
| ``power_supply_technology`` | Reported as-is if same across all batteries, otherwise set to *Unknown* | From battery's ``power_supply_technology`` parameter if provided, otherwise 0 (unknown). |
| ``present`` | True | From battery's ``battery_present`` interface if enabled, otherwise true if battery's voltage values is valid. |
61
+
| ``present`` | True | From battery's ``battery_present`` interface if enabled, otherwise true if the battery voltage value is valid (not NaN and not 0.0). |
Copy file name to clipboardExpand all lines: battery_state_broadcaster/src/battery_state_broadcaster_parameters.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ battery_state_broadcaster:
32
32
type: bool,
33
33
default_value: false,
34
34
read_only: true,
35
-
description: "Whether to read charge level [%] (0.0 to 100.0) from this battery's state interface. If unmeasured, linear percentage is calculated using min and max voltage parameters (if provided), otherwise NaN."
35
+
description: "Whether to read charge level [%] (0.0 to 100.0) from this battery's state interface. If unmeasured, linear percentage is calculated using the minimum_voltage and maximum_voltage parameters (if provided), otherwise NaN."
0 commit comments