[PATCH] klog.json: Add some missing battery kernel messages to klog database
Ivan Hu
ivan.hu at canonical.com
Mon Oct 30 05:15:45 UTC 2023
These messages are specific to the ACPI battery driver.
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
data/klog.json | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/data/klog.json b/data/klog.json
index 9e6bd9d7..5cdae30c 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -1051,6 +1051,13 @@
"advice": "The ACPI Battery Status (_BST) object is returning an invalid dischar or charge rate. This can be either a negative 16 bit value or reporting 0 as 65536 because of an invalid calculation in the DSDT. The Linux ACPI battery driver has detected this firmware bug and attempted to work around it.",
"label": "KlogAcpiBstInvalidRate"
},
+ {
+ "compare_mode": "string",
+ "log_level": "LOG_LEVEL_MEDIUM",
+ "pattern": "(dis)charge rate invalid",
+ "advice": "The ACPI Battery Status (_BST) object is returning an invalid dischar or charge rate. This can be either a negative 16 bit value or reporting 0 as 65536 because of an invalid calculation in the DSDT. The Linux ACPI battery driver has detected this firmware bug and attempted to work around it.",
+ "label": "KlogAcpiBstInvalidRate"
+ },
{
"compare_mode": "string",
"log_level": "LOG_LEVEL_HIGH",
--
2.34.1
More information about the fwts-devel
mailing list