After a bad year, a fallen Silicon Valley startup is back to fix its battery