Is your laptop resting flat on a nonporous surface? If so, the laptop may be overheating. The battery is in close proximity to the touchpad on some models and when the laptop/battery overheats (from lack of ventilation) the touchpad goes nuts.
Try raising the laptop with something, even if it's just tilting the laptop by resting the front part on some object. I use the box from a printer cartridge!