Yup. The cable will charge you device as long as the computer is on and ActiveSync is installed. If you don't want to charge with your PC you can also purchase a DC or AC adapter that has a USB slot. This will basically work as a travel charger and sync cable wherever you go! I found all the accessories for your HP iPAQ 2215 on BoxWave's website
here.
-Tim