Have you tried pressing any key on the keyboard, clicking the mouse, or performing honestly really any kind of action that's possible to be executed even while asleep, as long as it can produce a hardware interrupt to be triggered, which should be virtually anything you normally do when sitting at a computer do that, and it honestly should wake up. You can even try plugging some headphones into the 3.5mm jack and seeing if that'll work. Unplug the charger and plug it back it, and as long as the battery wasn't dead it should have to trigger the interrupt. If the computer was working prior to this issue occurring, than it's most definitely an operating system configuration bug. If you're in Windows 10, you can go into your "Settings" by searching in the task tray, or I believe a potential hotkey combo to find it is Super-key+X-key, or right/left click the start menu icon and enter the settings app. After it opens search for something along the lines of, "sleep and stand-by" or "power consumption."
A potentially used and common setting option for "To wake up..." is to press the power button, but never to hold it in till it shuts down, no no nooo. Hope you figure it out!