power: Reduce log level of setBoost() method to VERBOSE.

This avoids flooding the log, when using the device.
I android.hardware.power-service-qti: Power setBoost: 0, duration: 351
I android.hardware.power-service-qti: Power setBoost: 1, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 0
I android.hardware.power-service-qti: Power setBoost: 1, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 1119
I android.hardware.power-service-qti: Power setBoost: 1, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 0
I android.hardware.power-service-qti: Power setBoost: 1, duration: 0
I android.hardware.power-service-qti: Power setBoost: 0, duration: 1492
I android.hardware.power-service-qti: Power setBoost: 1, duration: 0

Change-Id: I4e3c9ba79412875947593ea49739c3c30eabc429
This commit is contained in:
Quallenauge
2021-01-18 22:16:27 +01:00
committed by Michael Bestas
parent da09e1ea1e
commit b5dbefb18a

View File

@@ -144,7 +144,8 @@ ndk::ScopedAStatus Power::isModeSupported(Mode type, bool* _aidl_return) {
}
ndk::ScopedAStatus Power::setBoost(Boost type, int32_t durationMs) {
LOG(INFO) << "Power setBoost: " << static_cast<int32_t>(type) << ", duration: " << durationMs;
LOG(VERBOSE) << "Power setBoost: " << static_cast<int32_t>(type)
<< ", duration: " << durationMs;
return ndk::ScopedAStatus::ok();
}