In my case I have a daughter that's showing already the same signs I had when I was her age and what I'm trying to do is to stay gently on top of her and create the habit of studying, because given the same brainpower, she will go farther if she learns to study well.
And coming back to you, I don't know you or your age but I think you can - maybe - still turn around the "miserable" part. What's miserable for you, now?