Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cb129e9 authored by Svet Ganov's avatar Svet Ganov
Browse files

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
parent 9e7649d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);