Why are you unmotivated at work? Are you in the middle of taking one for the team, i.e. doing programming chores? Do you need to do mindless side processes to support the release of your code? Are you writing tests, documentation?
Some side work is always not pleasant. However, if you have a constant work set which is boring and uninspiring then a change needs to be made.
Either way, you need to discuss things with your manager as this is a problem. If your manager is any good, they will listen and try to identify the RC of your boredom and appropriate steps will be taken.
, I end up finding that those feeling always happens on Monday when you didn't rest enough over the weekend.
Sometimes it also happens when I'm doing some boring work or unpleasant stuff.
Any tips on how to discuss it with the manager if it happens again?
What do you do at the weekend? I know a bunch of people who program as a hobby and burn themselves out. If this sounds like you the I would suggest finding some other interests, preferably something outside. It will help reset yourself at the weekend and come back to work motivated.
I will go for a weekend without an electronic device and try to evaluate the results on next Monday.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.