diff options
Diffstat (limited to 'src/ec/purism')
-rw-r--r-- | src/ec/purism/librem/acpi/battery.asl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ec/purism/librem/acpi/battery.asl b/src/ec/purism/librem/acpi/battery.asl index a090b7c2a8..5a4891ee87 100644 --- a/src/ec/purism/librem/acpi/battery.asl +++ b/src/ec/purism/librem/acpi/battery.asl @@ -183,6 +183,11 @@ Device (BAT) } Else { And (Local1, 0x7FFF, Local0) } + If(LLess(Local0, 0x0352)) + { + Store(0x0352, Local0) + } + Store (Local0, Index (PBST, 1)) /* * 2: BATTERY REMAINING CAPACITY |