Check your forward ,reverse switch,make the front is attached good,and check your settings.Make sure where your battery connects to drill it is not corruded.
I read online that someone fixed this problem by rotating the plug in the wall. Another person said that the terminals in the charger were a bit corroded and possibly bent so they caused the lights to flash.
Completely dead batteries may cause the charger to not see any load and it wont charge them. The way around this is to put the battery on the charger with the charger unplugged. Then plug in the charger and check the lights. Keep unplugging and plugging in the charger till it catches up and stays on.
https://www.ryobitools.com/outdoor/support/parts
For Lawn & Garden Parts:
For those customers that prefer ordering by phone, simply contact the RYOBI master parts distributor at toll free 1-877-545-4110, and place your order over the phone.