From 0a20f4a06cc558fa527a414e0a278eb600c59a26 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 22 Feb 2020 10:09:12 +0100 Subject: energy accounting: adjust for battery wear&tear and cut-off voltage --- src/system.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system.h b/src/system.h index 12c5e0c..d23caad 100644 --- a/src/system.h +++ b/src/system.h @@ -15,7 +15,8 @@ class System { uint8_t mode_changed; // 1 Ah @ 3.7V = 13 kJ - int16_t const energy_full = 13000; + // adjusted for battery wear&tear and increased cut-off voltage: 5 kJ + int16_t const energy_full = 5000; int16_t energy_j; public: -- cgit v1.2.3