Arduino mini: setup() and loop() does not run while battery powered