Idea – Emergency Battery For Linux PC’s

The idea is simple. In those places the power grid are frequently down. I thought why should the computer also suddenly shut off. I mean the CPU in today’s Linux mini PC’s are very low power. One solution could therefor be to have a emergency battery installed in the computer. So when the power goes off. The computer will go into zero power hibernate mode with the help of the battery. Which means it is saved the computer state to the hard drive. When the power then goes back on your work on the computer is back to where it was before.