Hibernation Swap Planner
Work out whether the swap on disk can hold a hibernation image, how much headroom is left, and how much RAM the swap would cover.
| RAM | |
|---|---|
| Swap on disk | |
| Image target | |
| Headroom after the image | |
| Largest RAM this swap covers | |
| Highest target this swap covers |
| Target | Image | Swap left |
|---|
—
The kernel writes the image into swap, so the budget is simply swap against the largest image the kernel will write, set by /sys/power/image_size and by default around two-fifths of RAM. The image is compressed and usually lands below that ceiling, which is why this check treats the target as the worst case rather than a measurement. It does not test whether your machine can hibernate at all: resume from swap needs resume= on the kernel command line (plus resume_offset= for a swap file), a kernel and firmware that support the state, and a swap area whose contents are never touched between suspend and resume. Everything is computed in your browser; nothing is sent anywhere else.