src/mainboard/system76/kbl-u/acpi/ac.asl
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | Device (AC) |
| 4 | { |
| 5 | Name (_HID, "ACPI0003" /* Power Source Device */) |
| 6 | Name (_PCL, Package (0x01) // _PCL: Power Consumer List |
| 7 | { |
| 8 | _SB |
| 9 | }) |
| 10 | |
| 11 | Name (ACFG, 1) |
| 12 | |
| 13 | Method (_PSR, 0, NotSerialized) // _PSR: Power Source |
| 14 | { |
| 15 | Return (ACFG) |
| 16 | } |
| 17 | |
| 18 | Method (_STA, 0, NotSerialized) |
| 19 | { |
| 20 | Return (0x0F) |
| 21 | } |
| 22 | } |