Most modern Ryobi battery chargers have a safety component where they will stop charging the battery or reduce the charge to remove the risk of overcharging them or damaging them.
Check that your charger has this feature before leaving your batteries on the charger for extended periods of time.