Lithium battery packs for MWD and LWD systems