When you know what the problem is, the solution is a just a step away from you.
The first thing needed to tackle time management issue is admitting that things aren't going as it should which you have done.
I think you just need to dedicate more time for things that matters to you first before allowing yourself to slip into that lazy mood.
That's true .. knowing the problem is a stone throw from the solution