aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo')
-rw-r--r--src/ec/lenovo/h8/acpi/ac.asl5
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl2
2 files changed, 6 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)
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 944858ff8f..b6121aab1a 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -149,6 +149,7 @@ Device(EC)
Method(_Q26, 0, NotSerialized)
{
Notify (AC, 0x80)
+ \PNOT()
}
/* AC status change: not present */
@@ -156,6 +157,7 @@ Device(EC)
{
Notify (AC, 0x80)
Store(0x50, EVNT)
+ \PNOT()
}
Method(_Q2A, 0, NotSerialized)