How do I tell if I have a virus or just battery issues?
So a few days ago I let my MacBook die, when I tried turning it back on the next morning it would shut off as I logged into my account. So I tried to log into guest user and it let me but it doesn't recognize my network. If I don't log into either accounts it shuts off in about five minutes. When I run diagnostics it gets to about 95% and then it freezes. I think it's a virus but I also think it might be a battery problem. Even when it's plugged in and it still doesn't stay on more than five minutes. Unless I log into guest user but I can't go anywhere in guest user.
MacBook Pro, OS X Yosemite (10.10)