Yeah, that's the primary use, but there has been speculation here and elsewhere that a battery could be worthwhile just for exploiting the difference between peak and off-peak rates. This indicates that, at least for my area and usage, the answer is no, it's not worth it.