I have used the command
powercfg -lastwake
to determine what is waking up my computer. Here is what it produces in prompt
Wake History Count - 1
Wake History [0]
Wake Source Count - 1
Wake Source [0]
Type: Fixed Feature
Timer Expired (RTC)
Next to Type: it says Fixed Feature. I assume that means something internal. Also when I run the command
powercfg devicequery wake_armed
nothing is printed out in prompt which further reinforces that idea that something inside the laptop is waking the laptop. I have a battery that holds a charge for no longer than a 30 seconds to a minute but I am leaving the laptop plugged in after putting it to sleep.
I have also looked into my Device Manager and made sure that "Allow this device to wake the computer" was unchecked on every device that has a Power Management tab.
Another thing I did was go into Power Options > Advanced settings > Multimedia settings > When sharing media > Plugged in: and changed that option to "Allow the computer to sleep"