diff options
author | Todd Poynor <toddpoynor@google.com> | 2014-09-23 14:54:24 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2014-09-23 15:05:07 -0700 |
commit | ebeb0c0ea63af9fd8b2c8a7a20f919e48098ad9a (patch) | |
tree | 242b3c181d23845c29b5be8268b44f3b0003e8c6 /healthd/BatteryMonitor.cpp | |
parent | 40af09297f9d60a3cfd4a186ff294cef6255a9df (diff) | |
download | system_core-ebeb0c0ea63af9fd8b2c8a7a20f919e48098ad9a.zip system_core-ebeb0c0ea63af9fd8b2c8a7a20f919e48098ad9a.tar.gz system_core-ebeb0c0ea63af9fd8b2c8a7a20f919e48098ad9a.tar.bz2 |
healthd: use warning level for info logs
To allow healthd/charger info to appear in systems where the loglevel
has been bumped to squelch chatty drivers.
Change-Id: I4ab135765700d7584a1ce5d972ea473d77f299f8
Diffstat (limited to 'healthd/BatteryMonitor.cpp')
-rw-r--r-- | healthd/BatteryMonitor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp index 4a6b702..9388ed0 100644 --- a/healthd/BatteryMonitor.cpp +++ b/healthd/BatteryMonitor.cpp @@ -265,10 +265,10 @@ bool BatteryMonitor::update(void) { "battery none"); } - KLOG_INFO(LOG_TAG, "%s chg=%s%s%s\n", dmesgline, - props.chargerAcOnline ? "a" : "", - props.chargerUsbOnline ? "u" : "", - props.chargerWirelessOnline ? "w" : ""); + KLOG_WARNING(LOG_TAG, "%s chg=%s%s%s\n", dmesgline, + props.chargerAcOnline ? "a" : "", + props.chargerUsbOnline ? "u" : "", + props.chargerWirelessOnline ? "w" : ""); } healthd_mode_ops->battery_update(&props); @@ -512,7 +512,7 @@ void BatteryMonitor::init(struct healthd_config *hc) { if (!mChargerNames.size()) KLOG_ERROR(LOG_TAG, "No charger supplies found\n"); if (!mBatteryDevicePresent) { - KLOG_INFO(LOG_TAG, "No battery devices found\n"); + KLOG_WARNING(LOG_TAG, "No battery devices found\n"); hc->periodic_chores_interval_fast = -1; hc->periodic_chores_interval_slow = -1; } else { |