IIRC you can do that already in Power Management Settings under "On Low Battery". On 26 February 2018 at 14:39, fred thompson wrote: > on a laptop running macos, when the battery is low and when the laptop is > about to power off, mac osx automatically suspends the ram on to the hard > drive, and when the next time the device boots, it restores the last state > it has saved. > > I would like this implemented in kde5, it would be as easy as adding a > function from the suspend libraries to the battery dying event > > sorry if this msg is a little hard to understand, I'm on meds =( > > thank you > > FJT -- Shantanu Tushar (UTC +0530) shantanu.io