summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/google/wilco/acpi/event.asl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ec/google/wilco/acpi/event.asl b/src/ec/google/wilco/acpi/event.asl
index a98344dd06..bf4bb19be7 100644
--- a/src/ec/google/wilco/acpi/event.asl
+++ b/src/ec/google/wilco/acpi/event.asl
@@ -25,7 +25,11 @@ Method (ECQP, 0, Serialized)
}
}
- If (EBIT (BTSC, Local1)) {
+ /*
+ * Battery status is cleared when read so always use the value from
+ * PWSR directly regardless of the previous value stored in ECPR.
+ */
+ If (EBIT (BTSC, Local0)) {
Printf ("BAT0 Status Change")
Notify (BAT0, 0x80)
}