Skip to content

Commit

Permalink
Merge pull request #293 from kivancsikert/battery/increase-boot-threa…
Browse files Browse the repository at this point in the history
…sholds

Increase boot threshold for battery level
  • Loading branch information
lptr authored Dec 14, 2024
2 parents e493698 + 7ef8163 commit e015def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/devices/Device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit e015def

Please sign in to comment.