diff options
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/lenovo/h8/acpi/battery.asl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/battery.asl b/src/ec/lenovo/h8/acpi/battery.asl index 7168581604..7dd49fe0fd 100644 --- a/src/ec/lenovo/h8/acpi/battery.asl +++ b/src/ec/lenovo/h8/acpi/battery.asl @@ -294,3 +294,39 @@ Device (BAT1) } } } + +/* Battery 0 critical */ +Method(_Q24, 0, NotSerialized) +{ + Notify(BAT0, 0x80) +} + +/* Battery 1 critical */ +Method(_Q25, 0, NotSerialized) +{ + Notify(BAT1, 0x80) +} + +/* Battery 0 attach/detach */ +Method(_Q4A, 0, NotSerialized) +{ + Notify(BAT0, 0x81) +} + +/* Battery 0 state change */ +Method(_Q4B, 0, NotSerialized) +{ + Notify(BAT0, 0x80) +} + +/* Battery 1 attach/detach */ +Method(_Q4C, 0, NotSerialized) +{ + Notify(BAT1, 0x81) +} + +/* Battery 1 state change */ +Method(_Q4D, 0, NotSerialized) +{ + Notify(BAT1, 0x80) +} |