Try resetting you SMC (system management controller)
hold down the Shift+Control+Option keys and the Power button at the same time
https://osxdaily.com/2010/03/24/when-and-how-to-reset-your-mac-system-management-controller-smc/
my 2012 pre retina MacBook Pro was wiggin out - not taking charge from MagSafe and holding only max 70% after Running battery down to zero I found the above article and I’m good to go again