Firmware Test Suite - ac_adapter test

This interactive test sanity checks the operation of the ACPI AC power adapter detection found on netbooks and laptops. Several tests are performed:

  • Check the existence of power button(s) (in the /proc/acpi/ac_adapter/*/state fields)
  • Request that the AC adapter is unplugged and plugged back in to check if an ACPI ac_adapter events occur
  • Check correct ACPI state

Since this test requires user interaction it will wait for 20 seconds for each test to be actioned. Failure to do so within 20 seconds will lead to test failures.


fwts ac_adapter - 

..runs the test on your machine and dumps the output to stdout. This test requires user interaction.

Explanation of test results

Certain test results may require a little more explanation. This section will try and give some context to specific test failures.

Error ID



/proc/acpi/ac_adapter does not exist, either because /proc is not mounted or the APCI driver could not detect the device.


The power button /proc/acpi/button/power/*/info field did not exist. This should not occur.


AC Adapter could not be detected on a connected on-line state.


Could not detect any AC Adapter off-line events.


Count not detect the AC Adapter on a disconnected off-line state.


Could not detect any AC Adapter on-line events.

FirmwareTestSuite/Reference/ac_adapter (last edited 2016-01-11 07:24:59 by anthonywong)