Why does a 6 year old bird sleep a lot and fly less?

Most likely because it is an old bird and tired. It may also be sick or dying.