If the Plasma sphere of our Sun ballooned out to "red giant" phase -- engulfing the inner planets -- all of our technology would be fried.
We would be fine, surrounded by a red glow, but our electronics would not survive.
There would be no way to communicate electrically outside that Plasma sphere. It is the same as sitting inside the faraday cage of a microwave oven.
Put a cell phone inside a microwave oven and you can not send or receive to that cell phone.
This is the classic clip from Snowden:
Snowden Cellphones In Microwave Scene Clips
https://www.youtube.com/watch?v=Yh3y7yFiH3o
This is someone trying to test this:
Mythbusting the Microwave oven trick in the movie Snowden
https://www.youtube.com/watch?v=a_FBqAd2SRQ
Notice, he points out that the Wifi worked because it was a different frequency that is not blocked by the faraday cage of the microwave, but the cell phone signal was.
I tend to think in terms of Story when I talk about stuff like this, to help put it in perspective.
I have a starship show up near the Earth. They are amazed and astonished by our technology; integrated circuits, smart phones, etc..., and want to study how we did this.
They impose a 100 year moratorium on them teaching us their technology so that we are not stunted in what we are doing, since they see our technology as something remarkable and worth preserving.
Here the people are, on the starship, the machines and instrumentality that they use would appear as magic to us. Their technology is something that can survive in a high Plasma environment like inside a "red giant".
I basically flipped the usual Story of First Contact, where our technology is so unique that it must be studied and preserved.
I'm also working under the assumption, that if the electricity powering the Sun turned off, that not only would we have no sunlight, but the solar system would basically evaporate. That the planets are in orbit because of the electricity, and not by "gravity" the way consensus thinks of "gravity".
i.e., No electricity coming from the outside, means no "gravity" holding the planets in orbit around the now dark Sun. Yikes!