Control relays based on AH, voltage or time. Off grid