From 93d7bde7dcac9224ca55be4359108c334abaffb2 Mon Sep 17 00:00:00 2001 From: leblane Date: Thu, 15 Jun 2023 19:46:04 +0300 Subject: [PATCH] Slightly tweak battery curve. 0% should be 3.65V now. --- src/WatchFeatures/Battery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WatchFeatures/Battery.cpp b/src/WatchFeatures/Battery.cpp index c3705e8..b552d52 100644 --- a/src/WatchFeatures/Battery.cpp +++ b/src/WatchFeatures/Battery.cpp @@ -27,7 +27,7 @@ uint8_t WatchFeatures::Battery::GetPercentage() { float voltage = GetVoltage(); - float level = (GetVoltage() - 3.6f) / 0.6f; + float level = (GetVoltage() - 3.65f) / 0.55f; if (level < 0.0f) { level = 0.0f; } else if (level > 1.0f) {