aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi/ac.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/acpi/ac.asl')
-rw-r--r--src/ec/lenovo/h8/acpi/ac.asl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/ac.asl b/src/ec/lenovo/h8/acpi/ac.asl
index 91b9d79256..43b43d7e78 100644
--- a/src/ec/lenovo/h8/acpi/ac.asl
+++ b/src/ec/lenovo/h8/acpi/ac.asl
@@ -29,7 +29,10 @@ Device(AC)
Method(_PSR, 0, NotSerialized)
{
- return (HPAC)
+ Store(HPAC, Local0)
+ Store(Local0, \PWRS)
+ \PNOT()
+ return (Local0)
}
Method(_STA, 0, NotSerialized)