I am working on a software development project with a coworker who is senior to me in rank and age. This coworker has a life long disability and he regularly uses medication which often makes him makes sleepy and confused. It became clear that he would not be able to contribute much to the project. Thus, I ended up doing 90% of the work which is the most important part of the project.
Moreover, the coworker never showed initiative at any time during the project. He was even reprimanded by management for playing video games at work, while I was working away.
Throughout the project, I made the manager aware of the inconvenience of working with the coworker and also gave the him high level overviews of what I had accomplished.
But in team meetings, my manager keeps praising the team (i.e. both of us) for getting the work done. He does not explicitly acknowledge my efforts in private meetings either. Somehow, he does not realize all the effort I have put. Since he is at a higher level and has not done software development for a long time, I can't show him all the code and the challenges I overcame because he would not understand that.
How can I show my manager that I did most of the important work and get due credit for it ?
Given our company culture and my manager's undue obsession with the word "team", it is likely that I will get the same bonus as the disabled coworker who did very little.
PS - The post before this one How to deal with disabled coworker who wastes time in office?