You won't be doing much if any any electrical engineering if you end up doing software engineering, but it can be useful if you're hacking on side projects, e.g. Arduino. And as other mentioned, the best way to learn computer science is to build stuffs on the side, that will give you a huge edge when entering the job market too.