Dissipation energy for a charge moving near a metal surface