That literally drains a phone's battery and cause degradation of your phone's battery.
One at home is probably set up at the beginning, I guess highschool wifi hotspot isn't secure one (Like one you don't need a password) so it might automatically connect to it.
College hotspots, at least ones in my country needs to have PEAP credentials which is complicated to set up. Which means it won't be able to even automatically connect to it.
Besides technical aspects, I have lots of concerns based on your accounts about what you've gone through.
No matter what, electroshock is intended only for kink plays between consenting adults in BDSM relationship, not as a regular punishment for minors. I'm very concerned about your parents' behavior cause their behavior is not normal at all. Like drugging someone into chastity belt, using electroshock... what you've said here are abuse, and it doesn't become not an abuse because you think it is not.
I'm not from some religious family or something, but I'm from average Asian family. So I don't really know about how dynamics in religious families work, but I know somewhat about conservative families (ie my relatives). Even they would think electroshock as a punishment for kids is not normal at all.