1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3Device(AC) 4{ 5 Name(_HID, "ACPI0003") 6 Name(_UID, 0x00) 7 Name(_PCL, Package() { \_SB } ) 8 9 Method(_PSR, 0, NotSerialized) 10 { 11 return (HPAC) 12 } 13 14 Method(_STA, 0, NotSerialized) 15 { 16 Return (0x0f) 17 } 18} 19 20/* AC status change */ 21Method(_Q50, 0, NotSerialized) 22{ 23 Notify (AC, 0x80) 24} 25 26/* AC status change */ 27Method(_Q51, 0, NotSerialized) 28{ 29 Notify (AC, 0x80) 30} 31