Guide / AMI Aptio firmware

AMI BIOS State After G3: S0, S4, S5 & Last State Guide

What does State After G3 mean in AMI BIOS? Learn S0, S4, S5 and Last State, how to configure automatic power recovery, and why your mini PC stays off after a power outage.

What is the G3 state?

In the ACPI power management specification, G3 is the Mechanical Off state. It means the system has been completely disconnected from AC power 鈥?no standby voltage, no RTC power from the main supply, and no ability to respond to any event until power returns.

When power is restored to a system in G3, the firmware must decide what to do. That decision is controlled by the State After G3 setting in the BIOS. Different manufacturers label it differently, but the behavior is the same concept across all AMI Aptio firmware.

ACPI power states at a glance

StateNameWhat it means
S0WorkingSystem is running normally
S3Suspend to RAMMemory powered, most hardware off
S4HibernationMemory saved to disk, system powered off
S5Soft OffSystem shut down, but standby power available
G3Mechanical OffNo power at all, AC disconnected

State After G3 only applies when the system transitions from G3 (no power) back to a powered state. It does not affect S3 wake, S4 resume, or normal S5 soft-off behavior.

What each option does

AMI BIOS implementations vary, but the most common options are:

S0 State (Power On)

The system boots immediately when AC power returns. It goes through the normal POST sequence and enters the working state without any user interaction. This is the correct setting for an unattended home server that must be available after a power outage.

S5 State (Power Off / Stay Off)

The system remains shut down when power returns. Someone must press the power button or send a Wake-on-LAN magic packet to start it. Use this when the server should not restart automatically 鈥?for example, after maintenance shutdowns or in environments where an unexpected restart is unsafe.

S4 State (Hibernate)

If the operating system created a hibernation image before the power loss, the firmware attempts to restore from that image when power returns. This preserves the exact session state but depends on a valid hibernation file existing on disk. Most home servers do not use hibernation, so this option is rarely useful for always-on deployments.

Last State (Remember)

The firmware records whether the system was in S0 (on) or S5 (off) before the power loss, and returns to that same state when power returns. If the server was running, it boots. If someone had shut it down before the outage, it stays off.

This sounds ideal but has a subtle problem: if the system was in the middle of a shutdown sequence when power was lost, the recorded state may be ambiguous.

Where to find the setting in AMI BIOS

The path varies by manufacturer and firmware revision. Common locations on AMI Aptio firmware:

Typical pathFound on
Chipset 鈫?PCH-IO Configuration 鈫?State After G3Beelink, GMKtec mini PCs
Advanced 鈫?ACPI Settings 鈫?Restore AC Power LossSome desktop boards
Power Management 鈫?AC Power RecoveryIndustrial and thin-client boards
Advanced 鈫?APM Configuration 鈫?After Power FailureSome ASUS and ASRock boards

The setting name is also inconsistent:

All of these control the same behavior. If you cannot find the setting, check the Chipset and Power Management sections first.

AMI BIOS Chipset PCH-IO Configuration page showing State After G3 set to S5 State
AMI Aptio BIOS on the tested EQi12: State After G3 is located under Chipset 鈫?PCH-IO Configuration. The default value shown here is S5 State (stay off after power loss). Change it to S0 State for automatic boot.
AMI BIOS main settings overview page showing firmware version and available configuration menus
AMI Aptio BIOS main menu on the tested EQi12. The firmware revision and date are visible at the top. State After G3 is not on this page 鈥?navigate to Chipset 鈫?PCH-IO Configuration to find it. Always photograph this page before making changes so you can record the exact BIOS version.

How to configure it for a home server

Step 1: photograph the current BIOS

Before changing anything, use your phone to photograph the current firmware page. Record the BIOS version, date and the exact menu path. If a change prevents boot, you need the photographs to reverse it.

Step 2: change the value

Enter the BIOS during boot (usually Del or F2). Navigate to the State After G3 setting. Select S0 State for automatic boot on power return. Save changes and exit.

Step 3: verify the value persisted

After Windows or Linux starts, reboot and re-enter the BIOS. Confirm that State After G3 still shows S0 State. Some firmware revisions reset to defaults after the first save, especially on mini PCs with modified BIOS builds.

Step 4: test with physical power removal

Do not skip this step. A setting that persists in the BIOS menu does not necessarily work in practice.

  1. Start from a healthy, fully booted system with all services running.
  2. Remove AC power completely (unplug or use a switched PDU).
  3. Wait until all LEDs are off and the Ethernet link light has extinguished.
  4. Restore AC power.
  5. Time how long until the system boots and the required service responds.
  6. Repeat at least three times.

Step 5: record the result

CycleAuto-bootedNetwork readyService readyTime to service
1Pass/FailSecondsSecondsmm:ss
2Pass/FailSecondsSecondsmm:ss
3Pass/FailSecondsSecondsmm:ss

If any cycle fails, retain the event logs and video evidence before retrying.

On the tested Beelink EQi12 with BIOS revision EQI12D405, State After G3 was located under the Chipset/PCH-I/O path. The available options were S0 State and S5 State.

After setting S0 State and verifying persistence:

First AC power recovery cycle showing successful automatic boot after power removal
First cycle of the three-cycle AC power recovery test. Power was fully removed (all LEDs off), then restored. The system booted automatically without any button press. The same result was confirmed on cycles 2 and 3.

Desktop recovery after AC power restoration with State After G3 set to S0. The system boots automatically without any button press or keyboard input. Jellyfin became available approximately 40.77 seconds after power was restored.

The complete evidence chain includes the BIOS page photograph, physical power-removal video, startup footage and service availability checks.

For the detailed procedure, see the AC power recovery guide. For the full BIOS configuration, see the EQi12 BIOS settings guide.

Common problems and fixes

The system stays off after power returns

  1. Re-enter BIOS and verify State After G3 is still S0 State.
  2. Confirm that power was fully removed (all LEDs off, including Ethernet link).
  3. Check whether the setting offers S0 vs S4 vs S5 鈥?selecting S4 without a hibernation image will fail silently.
  4. Update the BIOS to the latest revision if the value does not persist.

The system boots but services do not start

Automatic boot restores power, not application state. If Docker, Jellyfin or a database does not start:

The setting keeps reverting

Some mini PC BIOS revisions reset custom values after a CMOS battery drain or a firmware update. If State After G3 reverts:

  1. Update to the latest BIOS from the manufacturer.
  2. After setting the value, perform a full save-and-exit cycle.
  3. If it still reverts, the CMOS battery may be depleted or the firmware may have a bug. Report it to the manufacturer.

S0 vs Last State 鈥?which is better for a server?

S0 is simpler and more predictable. The server always boots when power returns.

Last State is more flexible but less predictable. If someone shut the server down for maintenance and then a brief outage occurs, Last State keeps it off. S0 would boot it back up, which is usually what you want for availability.

For a home server where availability matters, choose S0. For a workstation where the user controls the power state, Last State may be more convenient.

How this differs from other BIOS vendors

BIOS vendorTypical setting nameCommon location
AMI AptioState After G3Chipset 鈫?PCH-IO or Power Management
AwardRestore on AC Power LossPower Management Setup
PhoenixAfter Power LossAdvanced 鈫?Power Management
Insyde H2OPower On After FailAdvanced or Chipset

The behavior is identical across all vendors. Only the label and menu path change.

UPS and State After G3

State After G3 restores availability after power returns. It does not protect against data loss during the outage itself.

For a home server with databases or active writes:

  1. Use a UPS to provide battery backup during short outages.
  2. Configure the UPS software to initiate a graceful shutdown before the battery is exhausted.
  3. Set State After G3 to S0 so the server boots when utility power returns.
  4. Test the full cycle: outage 鈫?graceful shutdown 鈫?power returns 鈫?automatic boot 鈫?service recovery.

A UPS and State After G3 together provide both data safety and availability. Neither alone is sufficient for a production-like home server.