Lithium battery for CNC system