libhwc2.1: vrrStatistic: refine idle stats

When present, utilize the current presentation timestamp for calculating
idle time instead of relying on the current clock time.

Bug: 331440359
Test: verify the accuracy of power statistics
Change-Id: Iacf40d9ab3522a2e3b576712ee70ee9d67917887
2 files changed