diff options
author | Stefan Assmann <sassmann@kpanic.de> | 2019-03-14 10:00:43 +0100 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-04-07 12:10:55 +0200 |
commit | e7f2386193eedf9d1cb35fc4549a16d8a0c4bfb4 (patch) | |
tree | 4230a3967963f44ac8dc604e449ffd646b7f36c3 | |
parent | 23c558947ab0defc432c4c47a5301a7798f65460 (diff) | |
download | system_core-e7f2386193eedf9d1cb35fc4549a16d8a0c4bfb4.tar.gz system_core-e7f2386193eedf9d1cb35fc4549a16d8a0c4bfb4.tar.bz2 system_core-e7f2386193eedf9d1cb35fc4549a16d8a0c4bfb4.zip |
healthd: make periodic battery status a debug message
Battery status is printed to the kernel log as a warning every
10 seconds.
[ 276.605006] healthd: battery l=88 v=4235 t=29.6 h=2 st=2 c=0 chg=u
[ 286.662791] healthd: battery l=88 v=4238 t=29.5 h=2 st=2 c=0 chg=u
[ 296.707097] healthd: battery l=88 v=4238 t=29.5 h=2 st=2 c=0 chg=u
That's a debug statement and not a warning.
Change-Id: I45cfdeb150de59e2ef68749e0ab400da3599d156
-rw-r--r-- | healthd/BatteryMonitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp index 970a36b7c..5163ff6ec 100644 --- a/healthd/BatteryMonitor.cpp +++ b/healthd/BatteryMonitor.cpp @@ -361,7 +361,7 @@ bool BatteryMonitor::update(void) { props.chargerUsbOnline ? "u" : "", props.chargerWirelessOnline ? "w" : ""); - KLOG_WARNING(LOG_TAG, "%s\n", dmesgline); + KLOG_DEBUG(LOG_TAG, "%s\n", dmesgline); } healthd_mode_ops->battery_update(&props); |