mirror of
https://github.com/sjlongland/cluster-powerctl.git
synced 2025-09-14 04:23:15 +10:00
powerctl: Drop solar presence check.
At night, we probably don't want to just hammer the batteries with 14.4V all the time. If we switch to "solar mode", that'll give the batteries a bit of a break from the charger.
This commit is contained in:
parent
e87ea6a0b8
commit
fe8520116f
@ -249,9 +249,7 @@ static void mains_float_check(void) {
|
|||||||
return;
|
return;
|
||||||
} else if (
|
} else if (
|
||||||
/* Battery is high for ≥T_FLOAT_S seconds */
|
/* Battery is high for ≥T_FLOAT_S seconds */
|
||||||
(!t_batt)
|
!t_batt
|
||||||
/* Solar voltage is high */
|
|
||||||
&& (v_sol_adc >= V_SOL_MIN_ADC)
|
|
||||||
) {
|
) {
|
||||||
/* Solar can take it from here */
|
/* Solar can take it from here */
|
||||||
enter_solar();
|
enter_solar();
|
||||||
|
Loading…
Reference in New Issue
Block a user