Problem putting in drive and reverse

2004 Gem. Battery charge level on dash keeps flashing. Been doing that since buying it from previous owner. 2 years old batteries, just had to replace one. Yesterday had problems putting it in drive and reverse. New to this forum and want to educate myself before having a mechanic look at it.