Search for "shut_down" in the forum. It appears that it works on some cameras, but has some quirks.
Quick test on my a540, it appears to do nothing, but If I press the alt button after it has run, the camera shuts down.
Not sure what normal badpixel count is. The file for my 6mp cam is 10kb