Upgrading battery capacity