I'm having the same problem in my 2014 Sierra LT and I thought it is the alternator going bad because my truck wouldn't start.
In my case it was a combination of A loose connection causing was causing a phantom power draw and weak alternator to keep the battery charged but it was also the starter that was bad.
However it didn't fix my mirrors. I will try a new key fob.