Well, what is strange is that I didn't change any settings, so it started to be like that all of a sudden, which doesn't make sense. Settings are on balanced, sleep mode is off, and when the screen turns off, it is set to 20 mins. It worked like that without problems for so long. Then I read one solution in some forum, and it worked - to go to the device manager, universal serial bus controllers, and uncheck everything from the list with a power management option. Allow the computer to turn off this device to save power - it should be set to off on all listed devices that have it. But I do not understand. Before, it worked fine with all of them checked, and the computer would turn off with a single click and now I have to uncheck these options in order for it to computer turn off like it was before with all the settings checked.