How do onboard boat chargers work