diff --git a/html/config.htm b/html/config.htm index cf4f1bc..772368b 100644 --- a/html/config.htm +++ b/html/config.htm @@ -55,20 +55,32 @@ + +
@@ -319,6 +331,11 @@ function updateSleepInfo() { var i = $("#sleep-interval").val() $("#sleep-interval-info").text( Math.floor(i/60) + " m " + (i%60) + " s" ) + + if(i<300) + showWarning("A sleep-interval of <300s will reduce battery life, consider using 900s"); + else + hideWarning(); } // Trigger the calibration diff --git a/html/config.min.htm b/html/config.min.htm index f7bd12c..6de3b57 100644 --- a/html/config.min.htm +++ b/html/config.min.htm @@ -1 +1 @@ -Beer Gravity Monitor

Temperature Format:




(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file +Beer Gravity Monitor

Temperature Format:




(C) Copyright 2021-22 Magnus Persson
\ No newline at end of file