So for a month or so my MB has been considerably slow at booting. I tried the OS X hardware test, and the results were fine. Could this be a problem of the hard drive or battery? I don't know.
I found this this post on the Apple forums and did what was required. These are the lines I've copied from Console: http://paste.ofcode.org/RUD8QpHwG22bBy3mUYNCPC
Thanks
Device: Macbook Pro mid-2012
Uses Yosemite (10.10.5)
system_profiler SPStorageDataType | grep -i s.m.a.r.t
If you get anything other thanVerified
your drive is failing. I suspect that this is the cause. – Allan Jul 18 '16 at 23:03