If the battery does not appear to be charging properly. Resetting the SMC is a common fix.
Intel-based Macs: Resetting the System Management Controller (SMC)
Try another power cord or power adapter to test whether the problem is with the power supply or the computer itself.
On portable computers, the power adapter plug glows amber if the battery is being charged, and glows green when fully charged.
Have a nice day,