System Suspend - Update WakeLock duration stats when queried.

Updating maxTime and totalTime only when the lock is released isn't
sufficient nor consistent with the old behavior from /d/wakeup_sources,
which appears to calculate these stats at the time of request.

Change-Id: I6ad9e8612fb5105b8d117bdcef5bfaeb01f82611
Test: Compared stats from /d/wakeup_sources (as parsed by
KernelWakelockReader) with  stats from  system suspend
-- both obtained at the same time.
Test: Boot aosp_cf_x86_phone
Test: SystemSuspendV1_0UnitTest
Bug: 135212118
6 files changed