something odd about leonardo board

ubuntu 10.04, IDE 1.0.4, Itead leonardo board + SD card board sketch AnalogLogger from SdFat/examples runs fine on upload (with or without while(!Serial) ) but leads to card.init failure (I added flash counts on pin13 led) when leonardo is connected to battery or wall-plug samething with all Serial removed from .ino samething with another SD board, another SD card Any ideas ?

Add capacitor across battery Learn where full stops are on your keyboard Try writing in sentences