1/* SPDX-License-Identifier: GPL-2.0-only */
2
3Device (ADP1)
4{
5 Name (_HID, "ACPI0003")
6 Method (_STA)
7 {
8 Return (0x0F)
9 }
10 Method (_PSR, 0)
11 {
12 PWRS = (ECRD (RefOf(ECPS)) & 0x01)
13 Return (PWRS)
14 }
15 Method (_PCL, 0)
16 {
17 Return (
18 Package() { _SB }
19 )
20 }
21}
22