Sometimes when we are struggling with remaining productive it is because we are feeling less than motivated. However, trying to become motivates when we're not feeling it can prove challenging.
Instead, focus on your commitment instead. When you are working on something that is important to you, or that you are committed to getting done, your motivation is not an issue. next time that you feel your motivation is a little lacklustre, try focusing on your commitment instead.
Not only will it help you move through the task but you just might find some of your missing motivation along the way!