summaryrefslogtreecommitdiff
path: root/src/ec/purism/librem-ec/acpi/ac.asl
blob: 66cf742dec1dd2b0a07c8ad4f6012bb0716dac7a (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 */)
	Name (_PCL, Package (0x01)  // _PCL: Power Consumer List
	{
		_SB
	})

	Name (ACFG, 1)

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

	Method (_STA, 0, NotSerialized)
	{
		Return (0x0F)
	}
}