summaryrefslogtreecommitdiff
path: root/src/ec/hp/kbc1126
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/hp/kbc1126')
-rw-r--r--src/ec/hp/kbc1126/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/hp/kbc1126/acpi/battery.asl b/src/ec/hp/kbc1126/acpi/battery.asl
index 5a6e5dcc64..5a5632b92a 100644
--- a/src/ec/hp/kbc1126/acpi/battery.asl
+++ b/src/ec/hp/kbc1126/acpi/battery.asl
@@ -230,7 +230,7 @@ Method (\ISTR, 2, Serialized)
{
Local1--
Divide (Local0, 10, Local2, Local0)
- Add (Local2, 48, NUMB[Local1])
+ NUMB[Local1] = Local2 + 48
}
ToString (NUMB, Arg1, Local3)
Return (Local3)