Lithium battery bms chip