I have the following setting for my power options:
1. Low battery action: sleep
2. Critical battery action: hibernate
Unfortunately my laptop never goes to the sleep mode. It directly goes in the hibernate mode.
Once I resume from hibernation the laptop shuts down automatically after coming to the log-in page.