A method of scanning a touch sensor panel while the touch sensor panel is coupled to a power adapter is disclosed. The power adapter can charge a battery of a device, but can also introduce or add noise during the process of charging the battery. To prevent adverse effects to the touch sensor panel, while the device is charging, the touch controller can time multiplex touch scan periods and inductive charging periods and can discard touch scans or touch images affected by the noise. Determining whether a touch scan is a bad touch scan can include performing a touch scan across the array of touch pixels and making a determination based on the scan profile. In some examples, the profile can be quantified using different metrics such as the shape, instantaneous slope of tail ends, a full-width half-maximum, and a monotonicity of the curve of the scan profile.