As you get older, you are able to compensate for loss of the working capacity of younger people, through larger experience and knowledge.
To study 12 hours a day sounds very much to me, few people can do that even when they are young.
If you have experienced a sudden loss of energy and capacity, this might however be a symptom of depression.