From 9b0873f528500e8e695beac921a7e66c1693b1df Mon Sep 17 00:00:00 2001 From: RomanBapst Date: Fri, 6 Oct 2023 17:39:02 +0300 Subject: [PATCH] battery: allow battery internal resistance and capacity to change dynamically - this is required to support use cases where N numbers of batteries are connected in parallel and detected by the system and N is not known beforehand Signed-off-by: RomanBapst --- src/lib/battery/module.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/battery/module.yaml b/src/lib/battery/module.yaml index c7750801b6..c134c98a94 100644 --- a/src/lib/battery/module.yaml +++ b/src/lib/battery/module.yaml @@ -73,7 +73,7 @@ parameters: max: 0.2 decimal: 4 increment: 0.0005 - reboot_required: true + reboot_required: false num_instances: *max_num_config_instances instance_start: 1 default: [0.005, 0.005] @@ -119,7 +119,7 @@ parameters: max: 100000 decimal: 0 increment: 50 - reboot_required: true + reboot_required: false num_instances: *max_num_config_instances instance_start: 1 default: [-1.0, -1.0]