Preferential extraction of lithium from spent LiCoO2 cathodes and regeneration of LiCoO2 cathodes