This is the simplified system:
The battery is constantly being drained, but very slowly (85 mWh per day).
The solar panel produces 62.5 mWh per day on an average day (7 hours of low sun at only 8,000 lux).
This sustains the system for a little over a year if we assume everyday is an average day (without solar the batteries drain in a few months).
The wall charger is only used once a year to quickly replenish the batteries back to full, so the system can last another year.
Every few years the batteries will have to be replaced.
I want these scenarios to happen:
- If wall charger is not plugged in, trickle charge battery with solar panel only.
- If wall charger is plugged in, stop charging with solar panel and fast charge the battery only with wall charger.
How do I switch between the two scenarios?