The ;@AC macro can be used for this, if the dock is the only place you normally use the player on AC power.

Cheers