Your link does not support the idea of a supply deficit, at least that I see. Propel panicked about lithium under supply, prices surged and didn't even affect battery prices much, and now we are in oversuppply. The worst that can happen is lag time between demand increase and supply match, and there are substitutes for all key metals for most applications, even copper.
Every country will have to figure out how to supply its own power, but Sweden's seasonal variation in renewable resources is not likely to be fixed by batteries, even though batteries will be abundant and in massive supply throughout the rest of the world. If Sweden can't figure out, or merely can't, take advantage of great cheap new technology, they will be at a disadvantage compared to countries that will
> I know California has rotating blackouts already as it is
You don't know that because it's not true. Due to planning not taking into account climate change, there were a few days with demand above expected ability to provide capacity, but there were no blackouts because people were asked to voluntarily cut back on excessive cooling. That mere ask was more than enough to get through the few days. And it was fixed the next year, by what? By batteries! Adding nuclear wouldn't have helped, but batteries were the perfect solution. Perhaps nuclear can help Sweden, but it will be far more expensive than the solutions available to other countries.
It is quite funny that what I thought was US propaganda has been spread to Sweden for repetition. Even including the IEA report that doesn't say what people claim it says!