@gaandu,
I submit to you that you are bored with your studies and/or hate what you are studying. You may be self-sabotaging your grades and not even know it.
Before you start complaining that I don't know what I'm talking about, do some introspection and determine if, deep down, you're happy with your life and your future ambitions.
You also need to reprogram your relationship with your bed and sleep. Here's some pointers.
1) Use an actual alarm clock, not an app. Keep the alarm on the loudest setting on the other side of the room. This will force you to walk over there to shut it off.
2) The way the morning goes begins with the previous afternoon (yes, really). Start with avoiding all stimulants after noon. This includes chocolate.
3) It also means getting serious exercise the day before. As in at least 10k steps-- and get them in before 8 PM. Look up caloric burn for that many steps if you're not a fan of walking. Find another exercise that you can do that will burn off a comparable number of calories and do it instead. But try walking first, as it's easy and free. It's also easy to get into when you're just starting out.
4) Going along with #1, leave your phone on a charger in another room. This also forces you to get up.
5) When you get up to pee in the morning, go back and make your bed. Don't disturb your made bed until you are going to sleep for the night. If you want to lie down for any reason during the day, do it elsewhere. This is why couches exist.
6) Got a TV in your room? Remove it. If you want to watch evening TV, do so elsewhere. And try to keep overstimulating stuff to a minimum after 8 PM.
7) Get blackout curtains, cover all LEDs, and keep the temperature a little lower than in the rest of the house. Use a fan for white noise. You want your bedroom to be conducive to sleep.
And finally, I submit that you would do well to talk to an employment counselor. There are classes you're going to be required to take. Nobody gets around that. But at least make those classes--and the ones that you love-- be working towards a goal that you truly want.
That's your motivation.