summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 0e48cac84a..114a10c36c 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -209,7 +209,7 @@ Method (BBST, 4, Serialized)
Local2 = BTDF
// See if within ~6% of full
- ShiftRight (Local2, 4, Local3)
+ Local3 = Local2 >> 4
If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
{
Local1 = Local2