Yes! Energy is regenerated whether you are online or offline.