I have an Apple keyboard and trackpad that I use at my TV wirelessly but have benefited from the ability to use while charging a few times when the battery died. Doesn’t stop me from using it wirelessly 99% of the time because the experience is better.
By the way, I have an older phone I leave plugged in all the time by my bed, the battery life on it has deteriorated but it works perfectly for music.