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 was a TV series based on that idea; it got weird after a while but does point out some of the complexities of living without power. The show is called Revolution and came out in 2012.
Personally though, I doubt a majority of people would be able to survive long due to complications of getting fresh water, food, not to mention medical care, etc.