Hi, just wanting add my 2 cents because this was the only place I could find any info when I had to remove the battery from my Focus Jam2 - it and what’s here is a bit light on detail. To remove the battery, as people have mentioned, you need to remove the motor. But it doesn’t just pivot down. It looks like it should, but the motor mounts nearest the battery catch on the frame. So you have to take it right out. Good news is, it’s not too hard. You don’t have to take the cranks off and you don’t need special tools. I even left the chain on. Remove the plastic bash guard 4x torx). The 5 main hex bolts are easy but there’s a 6th which is stuck behind the chain guard so that needs to be loosened via 3 small hex bolts. If you turn it, you can just get it out without taking the guard right off. I did take the chain ring off - 4x the usual hex bolts. I also took the plastic covers off the motor but I don’t think it’s necessary, just gives the wires some play and allows you to completely unplug if you want to. With the motor free you can wrangle it around the dropper post cable and give yourself room to slide the battery out. This isn’t quite as easy as it should be. Once you’ve removed the two big hex bolts on the bottom of the downtube it should slide out but there’s a mess of wires in that tube just randomly floating around. In my case gravity wasn’t enough, it needed some coaxing. There really should be some tubing or something holding these wires to the side. And the battery would benefit from something to help you pull it out. I was tempted to make a little pull handle with tape in case I need to do this again. Anyway, my battery, like everyone else’s had a star crack around one bolt hole. It’s a design flaw. It looks bad but doesn’t seem to cause issues.
putting it back together is all the same stuff in reverse. And yes, due to those wires just randomly hanging out, you’ll need to be careful - 1) to avoid snagging, 2) not to run them along the top or bottom of the battery or they’ll be fouled by the downtube bolts, 3) you also need to remember, this is a mountain bike and if any of those wires end up in a place where they rub, one day they’ll wear through, the bike will report and error and it’ll take ages to figure out why. I didn’t have time, but maybe find yourself some cable management - those curly tubes you use to tidy wires at home or something.