Surface charges and energy flow in a ring rotating in a magnetic field