Is your MacBook battery draining at night? This is probably due to a piece of software on your Mac that is misbehaving and waking it while it should be sleeping. There are several ways to figure out which could be the culprit. You can use various tools to compile a list of suspects and then quit those before putting your MacBook to sleep to test them. You can also try things like reseting parts of the system and trying safe mode. You may be able to figure out the problem on your own, or you may need to take it to an expert.
Here are the Terminal commands I show in the video:
pmset -g assertions
pmset -g log | grep -e " Sleep " -e " Wake " | tail -n 50
log show -last 4h --style syslog | fgrep -e " Wake " -e " Sleep "
Here is a link to that Apple support page:
If your Mac doesn’t sleep or wake when expected