There was a GitHub project a few years ago to try and RE the Milwaukee M18 system. I think it was based around this teardown: https://www.allaboutcircuits.com/news/teardown-tuesday-batte...