BatteryStatsService: limit logspam
BatteryStatsService prints info logs from wakeup callback which contaminating logcat. The log message is a fixed message and doesn't add any value. Changed to verbose level instead. Test: Builds Upstream from Meta. Change-Id: I2b97d4476d5810eb6efd603eab714324ee32cefc
This commit is contained in:
@@ -98,7 +98,7 @@ class WakeupCallback : public BnSuspendCallback {
|
||||
public:
|
||||
binder::Status notifyWakeup(bool success,
|
||||
const std::vector<std::string>& wakeupReasons) override {
|
||||
ALOGI("In wakeup_callback: %s", success ? "resumed from suspend" : "suspend aborted");
|
||||
ALOGV("In wakeup_callback: %s", success ? "resumed from suspend" : "suspend aborted");
|
||||
bool reasonsCaptured = false;
|
||||
{
|
||||
std::unique_lock<std::mutex> reasonsLock(mReasonsMutex, std::defer_lock);
|
||||
|
||||
Reference in New Issue
Block a user