This has been my experience as well. Nowadays I work hard only while most of the following are true: - I'm making top dollar (good salary + equity value is high) - Work is interesting (something new to learn, or challenging, or both) - My home life is not going great (there are ups and downs, and working hard during the downs is a pretty decent way of coping)
I absolutely do not work hard if any one of the following is true: - Project Manager is applying pressure. - People who do not deliver value have been promoted over me. - Manager/Technical leadership has repeatedly ignored my advice and leanded the team in hot water (cutting corners to make arbitrary timelines, only to incur high support costs or maintenance costs later) - Performance Management is not occurring at the company (underperformers are not thrown out, or, worse, promoted). - Company is not doing well (equity value is down). - Salary has not kept pace with market (i.e., nothing more than 3-4% raises per year). - There is an over-reliance on junior people and they start calling the shots, thereby making my hard-won experience useless to the team.