Rechargeable batteries are everywhere—from portable electronic devices and electric vehicles to renewable energy storage.