HP Probook 4545s: After waking up from sleep mode, system goes to sleep spontaneously

When I put my computer to sleep, after waking it up, system goes to sleep spontaneously. Previously, I have installed Win 8.1 update, but after freezing problems (cca every 4 minutes), I have to restore OS. Since that, I have this trouble (or I think it was since restore).

Does anybody know, how to fix it? (Performance options are set to 'never go to sleep' - sorry, don't know how is this called in English.)