diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-02-22 10:09:12 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-02-22 10:09:12 +0100 |
commit | 0a20f4a06cc558fa527a414e0a278eb600c59a26 (patch) | |
tree | 82f62e368ed624ffb5552f23ac63e78c5d44a429 | |
parent | 4e819bfad050aa0fcaa844eb8ae88b37f8775f69 (diff) |
energy accounting: adjust for battery wear&tear and cut-off voltage
-rw-r--r-- | src/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
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: |