From 7ef81638c0da4e539b8fd8fb422e19b128d68bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3r=C3=A1nt=20Pint=C3=A9r?= Date: Sat, 14 Dec 2024 10:29:27 +0100 Subject: [PATCH] Increase boot threshold for battery level This should give a bit more time for devices to get their acts together. --- main/devices/Device.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/devices/Device.hpp b/main/devices/Device.hpp index f6fe6f03..e421797b 100644 --- a/main/devices/Device.hpp +++ b/main/devices/Device.hpp @@ -68,7 +68,7 @@ typedef farmhub::devices::Mk6Config TDeviceConfiguration; /** * @brief Do not boot if battery is below this threshold. */ -static constexpr double BATTERY_BOOT_THRESHOLD = 3.7; +static constexpr double BATTERY_BOOT_THRESHOLD = 3.9; /** * @brief Shutdown if battery drops below this threshold. @@ -83,7 +83,7 @@ typedef farmhub::devices::Mk7Config TDeviceConfiguration; /** * @brief Do not boot if battery is below this threshold. */ -static constexpr double BATTERY_BOOT_THRESHOLD = 3.2; +static constexpr double BATTERY_BOOT_THRESHOLD = 3.7; /** * @brief Shutdown if battery drops below this threshold.