I was having this conversation with my daughter and thought it was an interesting topic.
If an EMP or solar flare took out everything electronic in the whole world (permanently), how long do you think it would take for you to die, given your current location and circumstances.
I believe my daughter thinks we would live a lot longer than I do, but she is thinking about how long she can live without the internet while I am thinking the world will quickly descend into anarchy.
With no traditional forms of transport, so supplies would dry up, limited resources, health etc, law and order would be a challenge as things become more desperate.
I think I would live for about 3 months. I would try to get the family somewhere safe and remote and come back later, but I think most people would have the same idea.
There is a book that describes exactly that: Ashes, Ashes by Barjavel.
It’s a classic of French science-fiction literature and I recommended everyone to read.
It was written in 1943, it describes a parisian dystopian society in 2050 where all the electricity suddenly stop overnight. Even thought the book is 80 years old it is surprisingly accurate in some aspect.