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

Commit 4af37911 authored by Andy Hung's avatar Andy Hung
Browse files

MediaMetricsService: Set TimedAction wakeup interval to 3 min

Better AudioPowerUsageDataReported stats for low power form
factors which are suspended most of the time.

Test: adb shell dumpsys media.metrics --all
Bug: 319178129
Change-Id: I43a5fd80daacde36f7f5923cedcc70b07872f8ab
parent 8d544397
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ class TimedAction {

    // Define granularity of wakeup to prevent delayed events if
    // device is suspended.
    static constexpr auto kWakeupInterval = std::chrono::minutes(15);
    static constexpr auto kWakeupInterval = std::chrono::minutes(3);
public:
    TimedAction() : mThread{[this](){threadLoop();}} {}