summaryrefslogtreecommitdiff
path: root/src/ec/quanta/it8518/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/it8518/acpi')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl
index e63cefb7c5..82269010ef 100644
--- a/src/ec/quanta/it8518/acpi/battery.asl
+++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -316,7 +316,7 @@ Device (BATX)
Local2 = SBRS
// See if within ~3% of full
- ShiftRight (Local2, 5, Local3)
+ Local3 = Local2 >> 5
If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
{
Local1 = Local2