On laptops you can do that with hibernate: You go into hibernate. You exchange the battery. You continue working where you stopped!