mirror of
https://github.com/sjlongland/cluster-powerctl.git
synced 2025-09-13 20:13:16 +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;
|
||||
} else if (
|
||||
/* Battery is high for ≥T_FLOAT_S seconds */
|
||||
(!t_batt)
|
||||
/* Solar voltage is high */
|
||||
&& (v_sol_adc >= V_SOL_MIN_ADC)
|
||||
!t_batt
|
||||
) {
|
||||
/* Solar can take it from here */
|
||||
enter_solar();
|
||||
|
Loading…
Reference in New Issue
Block a user