diff options
Diffstat (limited to 'src/ec/quanta/it8518')
-rw-r--r-- | src/ec/quanta/it8518/acpi/battery.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index ef7a8e2520..53bcb6a10f 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -244,7 +244,7 @@ Device (BATX) If (ACPW) { // Set only charging/discharging bits - And (Local0, 0x03, Local1) + Local1 = Local0 & 3 } Else { @@ -253,7 +253,7 @@ Device (BATX) } // Flag if the battery level is critical - And (Local0, 0x04, Local4) + Local4 = Local0 & 4 Local1 |= Local4 PBST[0] = Local1 |