FreeBSD The Power to Serve

Suspend/Resume Improvement

Contact: obiwac <obiwac@FreeBSD.org>

Suspend-to-idle and support for S0ix sleep is in the process of being added to FreeBSD.

This will allow modern Intel and AMD laptops, some of which do not support ACPI S3 sleep, to enter low power states to increase battery life.

Entry to S0i3 is now working reliably on the Framework 13 AMD Ryzen 7040 series laptops on FreeBSD 15. This required changes to LinuxKPI for DRM to know whether the system intends to enter S3 or S0ix: D51591.

These changes in turn required the creation of generic sleep types, separate from ACPI. Not all of these changes have yet been committed, but new hw.power.* sysctls will be created to choose the sleep type for various sleep state transition requests.

The amdsmu driver, some ACPI changes and fixes, and GPIO interrupt servicing in amdgpio have been committed.

A pre-built sleep testing image is now available to easily testing S0i3 entry on machines. Detailed instructions are on the webpage.

With respect to the links, the blog post entry is still outdated.

Sponsor: The FreeBSD Foundation


Last modified on: November 26, 2025 by Lorenzo Salvadore