Battery capacity detection cabinet design