summaryrefslogtreecommitdiffstats
path: root/src/mainboard/system76/lemp9/acpi/ac.asl
blob: 73266761980baa65817c841925616f96415ee1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */

Device (AC)
{
	Name (_HID, "ACPI0003" /* Power Source Device */)  // _HID: Hardware ID
	Name (_PCL, Package (0x01)  // _PCL: Power Consumer List
	{
		_SB
	})

	Name (ACFG, One)

	Method (_PSR, 0, NotSerialized)  // _PSR: Power Source
	{
		Return (ACFG)
	}

	Method (_STA, 0, NotSerialized)  // _STA: Status
	{
		Return (0x0F)
	}
}