Thanks Mike,
I think it might be the diode.

I didn't desolderd the wires from the MCU, I keep them soldered in order to continue practicing flashing code. I only disconnect the wires from the Arduino board when connecting to battery.

I didn't notice the diode is in series to MCU, so when connecting to Arduino 5v I connected id directly to pin 8