As soon as AC is connected, the battery is disconnected from the player and just connected to the charger. The charger will then determine if the cell needs charging, and do so if necessary, whilst the player runs directly from the AC adaptor.

Leaving the unit connected to AC (eg, docked) does not affect the battery at all.

Hugo