Tasker will do it. There are events and variables to check for current power source (AC, USB, or battery), docked/undocked events, and "charging finished" events. You can then just do a notify action or whatever you want to when the power status changes.
_________________________
- Tony C
my empeg stuff