Uh oh, I don't like to hear that. I have 5-6 of the 18V tools, two chargers, and 4 Li-Ion batteries that have done well for many years. I mainly accumulated the tools because it was cheaper to buy the multi-tool kits than batteries when I was upgrading my very old 18V drill to Li-Ion batteries, and then again when I wanted more batteries. So now I have three drills, a sawzall, saber saw, and impact. All get heavy, abusive use, and have been great; I use the Ryobi tools exclusively down on my pier and boat so I worry less about dropping them into the water. Had the impact and a drill in holsters on my belt when building my boathouse roof, and the impact probably drove a few thousand screws on that project alone. Also have a Milwaukee drill and impact that get heavy use but in less risky work, since they were a lot more expensive.
I don't know if any of the other budget brands would be much better. My perception has been that they are all more or less the same until you spend a lot more and step up to the higher-cost stuff. So I have been glad that the Ryobi stuff has done well at the lower price point.
Some people have good luck with Dewalt, but I will tell you we used Black&Decker and Dewalt many years ago when I worked construction, and they were great. Dewalt used to be the higher-end brand for B&D, though some of the tools were only available in one brand or another. I have a B&D metal chop saw from the early 80s that is outstanding, and you just can't get a saw like that from any brand anymore. Anyhow, at some point in the late 80s or early 90s, both B&D and Dewalt got cheapened down quite a bit. B&D became cheap consumer grade, and Dewalt took over the high-end homeowner and construction grade. Not all Dewalt stuff is good anymore; it used to be a no brainer that it was better grade, but no longer. Milwaukee still caters to the high end, and their battery tools are worth it if you can swallow the higher cost. Some people have had good luck with Rigid at a middle price point. Craftsman is a total crap shoot at any price point.