Brownout detector when using BLE library

The esp32 turns on fine, but if i include:

 #include <BleKeyboard.h>

BleKeyboard bleKeyboard("MediaControl", "Domka", 100);

and

 bleKeyboard.begin();

I get this error on startup in serial monitor:

Brownout detector was triggered

ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0

This happens with nothing else connected to the esp32.

Fyi i had problems with a push button, which was reading 0 and 1 for no reason, but would stop if my fingered hovered over it. I might of shorted something. Im completely lost tbh

Post an annotated schematic showing all connections, power, ground and any other devices connected to the circuit. It sounds like a hardware problem but without knowing how it was assembled I do not have a clue. Hint: I do not bother with frizzes or word puzzles.

thats the thing. I get this error now, without anything connected to the esp32.

If there is nothing connected you cannot get an error. Do you have a multi meter?

No i do not have a multimeter sadly.

Although i have connected a breadboard power supply (5V) to the esp32 whilst it is connected to my computer, and BLE and the circuit works. If i disconnect the additional power supply, it doesnt work anymore.

You can get a multimeter for less then your buddy's pack of cigarettes. I am waiting for the schematic.