Title: Smart Safety Management of Energy Storage Batteries