svn commit: r344343 - head/sys/arm/allwinner
Ganbold Tsagaankhuu
ganbold at FreeBSD.org
Wed Feb 20 07:10:39 UTC 2019
Author: ganbold
Date: Wed Feb 20 07:10:38 2019
New Revision: 344343
URL: https://svnweb.freebsd.org/changeset/base/344343
Log:
Clarify notifications when battery capacity ratio
reaches warning and shutdown thresholds.
Modified:
head/sys/arm/allwinner/axp81x.c
Modified: head/sys/arm/allwinner/axp81x.c
==============================================================================
--- head/sys/arm/allwinner/axp81x.c Wed Feb 20 06:54:32 2019 (r344342)
+++ head/sys/arm/allwinner/axp81x.c Wed Feb 20 07:10:38 2019 (r344343)
@@ -1088,9 +1088,9 @@ axp8xx_intr(void *arg)
if (bootverbose)
device_printf(dev, "AXP_IRQSTAT4 val: %x\n", val);
if (val & AXP_IRQSTAT4_BATLVL_LO0)
- devctl_notify("PMU", "Battery", "lower than level 2", NULL);
+ devctl_notify("PMU", "Battery", "shutdown threshold", NULL);
if (val & AXP_IRQSTAT4_BATLVL_LO1)
- devctl_notify("PMU", "Battery", "lower than level 1", NULL);
+ devctl_notify("PMU", "Battery", "warning threshold", NULL);
/* Acknowledge */
axp8xx_write(dev, AXP_IRQSTAT4, val);
}
More information about the svn-src-head
mailing list