Pin type li-ion batteries