The problem is likely to be where to fit the front mech, with the battery tight up against the seat tube normal clamp fittings won't go.
Edit: I looked again and I assume you plan to swap manually? You might have a problem getting the chain to stay on the bigger ring if there's nothing to guide it.