audio player with proximity detection and battery feature